Hacker News new | ask | show | jobs
by NoZebra120vClip 874 days ago
For removable media, I believe that finishing up with "eject" would be the safest way to ensure that all writes were committed to the hardware.
1 comments

You can't "unmount the file system" because you're writing directly to the block device, the thumb drive isn't mounted.

("Eject" is macOS's term for "unmount filesystem")

Distrowatch.com is a site promoting use of Linux and BSD.

"eject" is a Linux command which attempts to safely disconnect removable media.

https://manpages.ubuntu.com/manpages/noble/en/man1/eject.1.h...

TFA doesn't mention filesystems at all, sort of jumps in where we find the block device. Things could become messy if the device were mounted while the copy is attempted.