From owner-freebsd-current@FreeBSD.ORG Tue Aug 2 17:49:01 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 C3C9F16A41F for ; Tue, 2 Aug 2005 17:49:01 +0000 (GMT) (envelope-from oberman@es.net) Received: from postal2.es.net (postal2.es.net [198.128.3.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90C1143D45 for ; Tue, 2 Aug 2005 17:49:01 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal2.es.net (Postal Node 2) with ESMTP (SSL) id IBA74465; Tue, 02 Aug 2005 10:49:00 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id DAFF55D07; Tue, 2 Aug 2005 10:48:59 -0700 (PDT) To: Wilko Bulte In-reply-to: Your message of "Tue, 02 Aug 2005 18:00:45 +0200." <20050802160045.GA61854@freebie.xs4all.nl> Date: Tue, 02 Aug 2005 10:48:59 -0700 From: "Kevin Oberman" Message-Id: <20050802174859.DAFF55D07@ptavv.es.net> Cc: Colin King , Scot Hetzel , Justin Finkelstein , 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 17:49:01 -0000 > Date: Tue, 2 Aug 2005 18:00:45 +0200 > From: Wilko Bulte > Sender: owner-freebsd-current@freebsd.org > > 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? > > > > > 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; Not really. The PDP-11 (and early VAX) invocation was: sync sync sync There was a real difference between that and sync;sync;sync. Either was usually effective, but the delay to enter actual separate commands was required for real safety. (Unix file systems were really pretty unstable back then. fsck was the norm on many reboots, even if you THOUGHT that they had been safely dismounted.) -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634