Skip Navigation

[Solved[ Is ChatGPT hallucinating about "umount /dev/sdx && sync"?

If one unmounts a disk, is that disk still available for write and can the following sync do anything?

[Solved]

7

You're viewing a single thread.

7 comments
  • Uhm, been a while since I had to think of this but pretty sure you used to need to do that the other way around. Sync before unmount, else things may still be being written to disk.

    • Surely an unmount forces a sync.

      • Yeah I'm thinking about fuse filesystems and hotplugged USB keys though. There was a time when the feedback about devices being ready to unplug was bad for users.

        This answer suffered the fog of time. Never needed it with the unmount command.

7 comments