Date: Wed, 22 Jun 2011 13:51:00 +0200 From: Erik Trulsson <ertr1013@student.uu.se> To: Robert Bonomi <bonomi@mail.r-bonomi.com> Cc: freebsd-questions@freebsd.org Subject: Re: 'mount -u' stumper Message-ID: <20110622115100.GA78910@owl.midgard.homeip.net> In-Reply-To: <201106221145.p5MBjRwb057115@mail.r-bonomi.com> References: <201106221145.p5MBjRwb057115@mail.r-bonomi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 22, 2011 at 06:45:27AM -0500, 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 ?? > > 'umount' and then 'mount' does the trick, but it is no a viable production' > option. > > THe underlying situation -- the need to make the filesystem writable -- comes > up only rarely, and it doesn't seem to hurt anything if the filesystem is > left with soft-updates set, but I _would_ like to clear it, because it *is* > logically inconsistant with the read-only status of the filesystem. > > Anybody got a bright idea I haven't thought of? To change if a given filesystem should use soft-updates or not you use tunefs(8) on that filesystem. (Read the manpage to find exact syntax.) Note that this cannot be done on a filsystem which is mounted read/write - only on filesystems that are unmounted or mounted read-only. -- <Insert your favourite quote here.> Erik Trulsson ertr1013@student.uu.se
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110622115100.GA78910>