[CentOS] Flash Drive problem?

Tue Jul 7 20:52:33 UTC 2009
Ron Blizzard <rb4centos at gmail.com>

On Tue, Jul 7, 2009 at 3:24 PM, nate<centos at linuxpowered.net> wrote:
>
> You can if you want also run the 'sync' command to flush out the
> write cache of the system.
>
> I do that myself before I remove any type of disk that I have
> written to, mainly out of habit, it's not a bad habit to
> have.
>
> I believe once a file system is unmounted all of the writes
> have been flushed to it. You can see the change in behavior:
>
> - write a bunch of data to a disk, run sync, then unmount,
>  it should unmount immediately
> - write a bunch of data to a disk, then unmount, it may take
>  a few seconds(or more) to unmount.
>
> Not sure why those popups aren't showing up on a consistent
> basis, I don't use CentOS as a desktop, my Debian desktops
> don't show any messages I don't think, though Ubuntu seems
> to.

Even better. I'm definitely going to use 'sync' when I unmount a
removable drive. Thanks.

-- 
RonB -- Using CentOS 5.3