From owner-freebsd-current Thu Jul 5 22:52:19 2001 Delivered-To: freebsd-current@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id E640037B406 for ; Thu, 5 Jul 2001 22:52:16 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.11.3/8.11.3) id f665q6Y23754; Fri, 6 Jul 2001 00:52:06 -0500 (CDT) (envelope-from dan) Date: Fri, 6 Jul 2001 00:52:06 -0500 From: Dan Nelson To: David Scheidt Cc: "Benjamin P. Grubin" , current@FreeBSD.ORG Subject: Re: softupdates on / Message-ID: <20010706005206.A3930@dan.emsphone.com> References: <20010705192828.B25217@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.19i X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Jul 06), David Scheidt said: > On Thu, 5 Jul 2001, Dan Nelson wrote: > > :In the last episode (Jul 05), Benjamin P. Grubin said: > :> As of a month ago or so, there was some discussion that concluded it > :> was unsafe to enable softupdates on a root partition. Is it safe to > :> go back in the water there, now? > : > :The 2 drawbacks with SU are > : > :1 - You can't immediately reuse the space occupied by a file you just > : deleted; this may bite you if you do an installworld and don't have > : 20MB free on /. when it comes to installing /sbin, you need 18MB > : for the new binaries, but you can't reuse the 18MB for the > : just-deleted binaries. > > I've dodged that problem by SIGSTOPing installworld a couple times during > the /sbin install, waiting for softupdates to catchup, and then SIGCONTing > it. That's a pain; it's ugly, but it does work. Easier than a reboot, > sometimes. My workaround when it bit me was to run a "while sleep 1 ; do sync ; done" loop in another window to speed up the softupdate clock. I suppose cranking down the kern.{file,meta,dir}delay sysctls would have done the same thing. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message