Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: