<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>usb on zxc.sx</title>
    <link>https://zxc.sx/tags/usb/</link>
    <description>Recent content in usb on zxc.sx</description>
    <generator>Hugo -- 0.118.2</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 17 May 2026 08:28:50 +0000</lastBuildDate>
    <atom:link href="https://zxc.sx/tags/usb/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>How to safely copy files to a flash drive on Linux</title>
      <link>https://zxc.sx/posts/safe-copy-to-flashdrive-linux/</link>
      <pubDate>Sun, 17 May 2026 08:28:50 +0000</pubDate>
      <guid>https://zxc.sx/posts/safe-copy-to-flashdrive-linux/</guid>
      <description>If you copy files to a USB flash drive and remove it right after cp finishes, data may still be in the kernel write cache.
That means copy command is done, but device writes are not fully done yet.
The safe approach is simple:
Copy files Force data to disk Unmount device Remove flash drive Basic safe flow cp -r ./my-folder /mnt/usb/ sync umount /mnt/usb Linux vs Windows write cache behavior On Linux, if you run umount without sync first, umount may take a while.</description>
    </item>
  </channel>
</rss>
