'mount -u' stumper
Erik Trulsson
ertr1013 at student.uu.se
Wed Jun 22 12:05:33 UTC 2011
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 at student.uu.se
More information about the freebsd-questions
mailing list