From owner-freebsd-questions@FreeBSD.ORG Wed Jun 22 12:54:57 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DADA1065678 for ; Wed, 22 Jun 2011 12:54:57 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 2615F8FC19 for ; Wed, 22 Jun 2011 12:54:56 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id p5MCsrP9057641; Wed, 22 Jun 2011 07:54:53 -0500 (CDT) Date: Wed, 22 Jun 2011 07:54:53 -0500 (CDT) From: Robert Bonomi Message-Id: <201106221254.p5MCsrP9057641@mail.r-bonomi.com> To: freebsd-questions@freebsd.org, rwmaillists@googlemail.com In-Reply-To: <20110622131035.6b773e6a@gumby.homeunix.com> Cc: Subject: Re: 'mount -u' stumper X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jun 2011 12:54:57 -0000 > From owner-freebsd-questions@freebsd.org Wed Jun 22 07:11:09 2011 > Date: Wed, 22 Jun 2011 13:10:35 +0100 > From: RW > To: freebsd-questions@freebsd.org > Subject: Re: 'mount -u' stumper > > On Wed, 22 Jun 2011 06:45:27 -0500 (CDT) > Robert Bonomi wrote: > > > > > Environment is FreeBSD 7.2 i386 > > > > I have a Berkeley FFS filesystem that is mounted ro at boot time. > > > > If I do a 'mount -u' to make it writable, it _is_ made writable, but > > "soft-updates' is also set. Incidentally, does anybody know _where_ > > the 'soft-updates' optioon is documented?? I've looked evereywhere I > > can think of, brute-force grepped wholee sections of > > the /usr/share/man directory tree, all without succeess. > > > > If I use 'mount -u -r' to return it to the readonly state, > > 'soft-updates' is *still* set. > > > > _HOW_ do I make'soft-updates' go away on a mounted filesystem ?? > > > It's set because sysinstall uses newfs -U by default for non-root > filesystems. You can turn it off with tunefs, although I don't see what > difference it makes if it's mounted ro. That's a large part of why I want to make it 'go away'. It _is_ a "lie" on a RO system. Meaningless, and 'misleading' if you don't see the RO option as well. When the filesystem _does_ need to be RW, I _want_ softupdates enabled. It's a 'good thing' then;. When it's initially mounted RO softupdates are _visibly_ off. I just want to restore that precise situaion/presentation when i 'update' mount thefilesystem to RO. Looks like I'm going mount(8) and/or kernel hacking. a