From owner-freebsd-arch Wed Jun 28 10:25:15 2000 Delivered-To: freebsd-arch@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id AED3237BFEF for ; Wed, 28 Jun 2000 10:25:11 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e5SHP2W01924; Wed, 28 Jun 2000 10:25:02 -0700 (PDT) Date: Wed, 28 Jun 2000 10:25:01 -0700 From: Alfred Perlstein To: Dag-Erling Smorgrav Cc: Jesper Skriver , Cy Schubert - ITSD Open Systems Group , freebsd-arch@FreeBSD.ORG Subject: Re: Soft updates mount change (17 Jun) Message-ID: <20000628102501.X275@fw.wintelcom.net> References: <200006272212.PAA36120@passer.osg.gov.bc.ca> <20000628094841.D77839@skriver.dk> <20000628091509.V275@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from des@flood.ping.uio.no on Wed, Jun 28, 2000 at 06:25:06PM +0200 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Dag-Erling Smorgrav [000628 09:25] wrote: > Alfred Perlstein writes: > > * Dag-Erling Smorgrav [000628 08:11] wrote: > > > s/week/year/. This has been discussed many times, and while the > > > current solution (fs flag) is not particularly elegant, it is the > > > lesser evil. > > IMO there's nothing wrong with mount doing what tunefs does, setting > > the softdep bit before actually mounting it, changing it while > > mounted would not be supported. > > If you use a filesystem marked for softupdates on a non-SU system, and > have a crash, fsck will go nuts and spew gobs of "UNEXPECTED > SOFTUPDATES INCONSISTENCY" messages. Then when mounted without the softdep option it would have to clear the softdep bit before mounting read/write. I'm not talking about anything particularly tricky here, it's just tweaking the userland side of mount to possibly just spawn tunefs. Another interesting tweak would be adding the linux -loopback option to get mount to attempt to autoconfigure a vn device. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message