this post was submitted on 22 Nov 2024
2 points (58.3% liked)

Debian operating system

2744 readers
24 users here now

Debian is a free operating system (OS) for your computer. An operating system is the set of basic programs and utilities that make your computer run. Debian provides more than a pure OS: it comes with over 59000 packages, precompiled software bundled up in a nice format for easy installation on your machine.

founded 4 years ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 21 hours ago (2 children)

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.

[–] [email protected] 2 points 3 hours ago (1 children)

Surely an unmount forces a sync.

[–] [email protected] 1 points 3 hours ago

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.