Re: safely remove USB hard drive

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

 



On Wed, 2008-04-23 at 16:51 +0000, g wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Tom Diehl wrote:
> >> see 'man sync'.
> > 
> > How is that better then simply umounting the thing?
> 
> from man sync;
> 
> 'sync - flush file system buffers'
> 
> in his post;
> 
> } I've been using eject /media/* but that only happens to work because nothing
> } else is mounted there.
> 
> therefore, he is either at command line or is in a terminal.
> 
> by 'simply umounting the thing', he is not flushing buffers.

What? This goes contrary to everything I've seen in Unix and Linux for
over 30 years. Umount definitely flushes buffers in the same way sync
does, at the filesystem level.

The point about "safely remove" is to shut down drivers and engage in
whatever device protocol is needed so the device itself realizes it's
being removed.

poc

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux