Hot-swap SATA and atacontrol

Jeremie Le Hen jeremie at le-hen.org
Wed Aug 3 08:29:25 GMT 2005


Hi,

On Tue, Aug 02, 2005 at 09:43:41PM -0500, Matthew D. Fuller wrote:
> > > before you unmount the drive, type:
> > > 
> > > sync
> > > sync
> > > sync
> > > 
> > > Then unmount the drive, and remove it.
> > 
> > Unmount does not return until the buffers have been synced anyway,
> > so this does not buy you anything.
> 
> (ttyp3):{720}% fortune -m syncs
> %% (fortunes)
> 3 syncs represent the trinity - init, the child and the eternal zombie
> process.  In doing 3, you're paying homage to each and I think such
> traditions are important in this shallow, mercurial business we find
> ourselves in.
>                 -- Jordan K. Hubbard

More seriously, I don't see the point in using sync(8) three times
consecutively, except that's an indirect method to wait for the disk
buffers to be flushed before powering down.  Please, correct me if I'm
wrong.

Regards,
-- 
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >


More information about the freebsd-current mailing list