NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sync(1) not really syncing??



Am 11.09.2008 um 03:23 schrieb Ephaeton%gmx.net@localhost:

Just an observation: On hardware where you can see disk access (like
USB sticks) you can see the lights flashing even after a sync; umount.
Maybe that's (one of the) reason(s) that removing USB sticks can
crash your system (if you remove it before it would flash "a final
time"). What bothers me about it that after a sync(1) has returned,
and the thing was unmounted, it shouldn't ever flash. Never.

-Martin

sync(1) may return before all data is synced. That's nothing new and has been like that in UNIX for ages. That's why it got a common practice to use umount and then sync; sync; sync.

--
Jonathan

Attachment: PGP.sig
Description: This is a digitally signed message part



Home | Main Index | Thread Index | Old Index