Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Aug 2005 09:41:59 -0700
From:      Colin King <ring_06@m202.net>
To:        Justin Finkelstein <justin@redwiredesign.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Hot-swap SATA and atacontrol
Message-ID:  <20050802164158.GA84461@xenon.m202.net>
In-Reply-To: <009901c5977b$bd829370$0b02a8c0@justin>
References:  <20050802160045.GA61854@freebie.xs4all.nl> <009901c5977b$bd829370$0b02a8c0@justin>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
You're absolutely right about it not being necessary to sync before you
unmount, but what I meant was that my experience with IDE hot swapping has
been pretty risky when it comes to crashing your entire system as soon as you
pull a drive. You'll want to sync for the sake of the other drives in your
system so that if your system does crash, those drives will be in a clean(er)
state.

On Tue, Aug 02, 2005 at 05:03:30PM +0100, Justin Finkelstein wrote:
> 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
> 
> 

-- 
Colin King
http://www.m202.net/

010000110110111101101110011001110111001001100001
011101000111010101101100011000010111010001101001
011011110110111001110011001011000010000001111001
011011110111010100100000011001100110111101110101
011011100110010000100000011101000110100001100101
001000000111001101100101011000110111001001100101
011101000010000001101101011001010111001101110011
011000010110011101100101001011100010000001011001
011011110111010100100000011101110110100101101110
001000000110110101111001001000000110010001100101
011001010111000000100000011000010110010001101101
011010010111001001100001011101000110100101101111
011011100010000001100001011011100110010000100000
011100100110010101110011011100000110010101100011
0111010000101110

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
Comment: Signed from MercuryIV

iD8DBQFC76JV/snj4TV8XCERAuVnAJ9yJ4c3YC/WUVSb1j5jtgzhiixnpACgtCFE
NVCxG9RIgV8g5WyYh4z50z8=
=KcxZ
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050802164158.GA84461>