buffers not syncing correctly during shutdown

Mario Lobo mlobo at digiart.art.br
Wed Oct 14 17:16:16 UTC 2009


> "Mario Lobo" <mlobo at digiart.art.br> writes:
>> I must add that even windows has a "Safely Remove Hardware" before
>> unplugging the usb device.
>
> What it really means is "sync the filesystem and tell me if there are
> any open or locked files".  In most cases, you can yank the USB stick
> out without adverse consequences.
>
> DES
> --
> Dag-Erling Smørgrav - des at des.no
>
That IS true ! but like you said, "most cases" <> "all cases". Once, on a
company I was doing work at, I clicked on "Safely Remove Hardware" and it
said "can´t do it. device busy", although there was (apparently) nothing
using any files from the stick. I yanked it out anyway. result: the 3
files I edited from the stick were gone :(. Since I don´t know when I am
gonna hit a case that doesn´t belong to "most", I always try to remember
to unmount (i.e. Safely Remove Hardware) the stick before unplugging it.

Mario



More information about the freebsd-current mailing list