Re: Hot-swap SATA and atacontrol

From: Colin King <ring_06_at_m202.net>
Date: Tue, 2 Aug 2005 09:41:59 -0700
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_at_freebie.xs4all.nl] 
> Sent: 02 August 2005 17:01
> To: Scot Hetzel
> Cc: Justin Finkelstein; Colin King; freebsd-current_at_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_at_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_at_FreeBSD.org
> 
> 

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

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

Received on Tue Aug 02 2005 - 14:44:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:40 UTC