Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Aug 2005 17:03:30 +0100
From:      "Justin Finkelstein" <justin@redwiredesign.com>
To:        "'Wilko Bulte'" <wb@freebie.xs4all.nl>, "'Scot Hetzel'" <swhetzel@gmail.com>
Cc:        'Colin King' <ring_06@m202.net>, freebsd-current@freebsd.org
Subject:   RE: Hot-swap SATA and atacontrol
Message-ID:  <009901c5977b$bd829370$0b02a8c0@justin>
In-Reply-To: <20050802160045.GA61854@freebie.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
That's what I thought; I've never sync'ed stuff before unmounting it before,
and chats with other BSD bods in my area say that just unmounting will do -
and I think I'll stick to that.

-----Original Message-----
From: Wilko Bulte [mailto:wb@freebie.xs4all.nl] 
Sent: 02 August 2005 17:01
To: Scot Hetzel
Cc: Justin Finkelstein; Colin King; freebsd-current@freebsd.org
Subject: Re: Hot-swap SATA and atacontrol


On Tue, Aug 02, 2005 at 10:44:07AM -0500, Scot Hetzel wrote..
> On 8/2/05, Justin Finkelstein <justin@redwiredesign.com> wrote:
> > I might be being a little dense, but what do you mean by sync?
> > 
> 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.

The ancient form is more like:

sync;sync;sync;<halt button on your PDP/11 frontpanel>

-- 
Wilko Bulte				wilko@FreeBSD.org






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?009901c5977b$bd829370$0b02a8c0>