From owner-freebsd-current@FreeBSD.ORG Tue Aug 2 16:44:40 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E829A16A41F for ; Tue, 2 Aug 2005 16:44:39 +0000 (GMT) (envelope-from cking@m202.net) Received: from ylpvm43.prodigy.net (ylpvm43-ext.prodigy.net [207.115.57.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 642C443D45 for ; Tue, 2 Aug 2005 16:44:38 +0000 (GMT) (envelope-from cking@m202.net) Received: from pimout1-ext.prodigy.net (pimout1-int.prodigy.net [207.115.5.65]) by ylpvm43.prodigy.net (8.12.10 outbound/8.12.10) with ESMTP id j72GgMfU017431 for ; Tue, 2 Aug 2005 12:42:23 -0400 X-ORBL: [69.227.134.127] Received: from xenon.m202.net (adsl-69-227-134-127.dsl.renocs.nvbell.net [69.227.134.127]) by pimout1-ext.prodigy.net (8.13.4 outbound domainkey aix/8.13.4) with ESMTP id j72Gg7NK013728; Tue, 2 Aug 2005 12:42:15 -0400 Received: from xenon.m202.net (localhost [127.0.0.1]) by xenon.m202.net (8.13.3/8.13.3) with ESMTP id j72Gg4rl039534; Tue, 2 Aug 2005 09:42:04 -0700 (PDT) (envelope-from cking@xenon.m202.net) Received: (from cking@localhost) by xenon.m202.net (8.13.3/8.13.3/Submit) id j72GfxLp097893; Tue, 2 Aug 2005 09:41:59 -0700 (PDT) (envelope-from cking) Date: Tue, 2 Aug 2005 09:41:59 -0700 From: Colin King To: Justin Finkelstein Message-ID: <20050802164158.GA84461@xenon.m202.net> References: <20050802160045.GA61854@freebie.xs4all.nl> <009901c5977b$bd829370$0b02a8c0@justin> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" Content-Disposition: inline In-Reply-To: <009901c5977b$bd829370$0b02a8c0@justin> User-Agent: Mutt/1.4.2.1i X-Spam-Status: No, score=-102.3 required=5.0 tests=ALL_TRUSTED, FROM_ENDS_IN_NUMS,USER_IN_WHITELIST autolearn=failed version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on xenon.m202.net Cc: freebsd-current@freebsd.org Subject: Re: Hot-swap SATA and atacontrol X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Aug 2005 16:44:40 -0000 --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 y= ou 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(e= r) 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 befo= re, > and chats with other BSD bods in my area say that just unmounting will do= - > and I think I'll stick to that. >=20 > -----Original Message----- > From: Wilko Bulte [mailto:wb@freebie.xs4all.nl]=20 > 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 >=20 >=20 > On Tue, Aug 02, 2005 at 10:44:07AM -0500, Scot Hetzel wrote.. > > On 8/2/05, Justin Finkelstein wrote: > > > I might be being a little dense, but what do you mean by sync? > > >=20 > > before you unmount the drive, type: > >=20 > > sync > > sync > > sync > >=20 > > Then unmount the drive, and remove it. >=20 > Unmount does not return until the buffers have been synced anyway, so this > does not buy you anything. >=20 > The ancient form is more like: >=20 > sync;sync;sync; >=20 > --=20 > Wilko Bulte wilko@FreeBSD.org >=20 >=20 --=20 Colin King http://www.m202.net/ 010000110110111101101110011001110111001001100001 011101000111010101101100011000010111010001101001 011011110110111001110011001011000010000001111001 011011110111010100100000011001100110111101110101 011011100110010000100000011101000110100001100101 001000000111001101100101011000110111001001100101 011101000010000001101101011001010111001101110011 011000010110011101100101001011100010000001011001 011011110111010100100000011101110110100101101110 001000000110110101111001001000000110010001100101 011001010111000000100000011000010110010001101101 011010010111001001100001011101000110100101101111 011011100010000001100001011011100110010000100000 011100100110010101110011011100000110010101100011 0111010000101110 --DocE+STaALJfprDB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) Comment: Signed from MercuryIV iD8DBQFC76JV/snj4TV8XCERAuVnAJ9yJ4c3YC/WUVSb1j5jtgzhiixnpACgtCFE NVCxG9RIgV8g5WyYh4z50z8= =KcxZ -----END PGP SIGNATURE----- --DocE+STaALJfprDB--