Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jul 2007 00:41:20 +0200
From:      Stefan Esser <se@FreeBSD.org>
To:        Maxim Konovalov <maxim@macomnet.ru>
Cc:        hackers@freebsd.org, Xin LI <delphij@delphij.net>
Subject:   Re: tunefs.8 oddity
Message-ID:  <46A13A10.8070108@FreeBSD.org>
In-Reply-To: <20070720192830.C20123@mp2.macomnet.net>
References:  <20070720185101.F20123@mp2.macomnet.net>	<46A0D313.8010904@delphij.net> <20070720192830.C20123@mp2.macomnet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Maxim Konovalov schrieb:
> On Fri, 20 Jul 2007, 23:21+0800, Xin LI wrote:
> 
>> Maxim Konovalov wrote:
>>> Hello,
>>>
>>> after spending a half an hour trying to help a friend of mine to turn
>>> soft updates on the root filesystem on I'd like to revert a part of
>>> rev. 1.21 just because it makes life of an average sysadmin easier:
>>>
>>> Index: tunefs.8
>>> ===================================================================
>>> RCS file: /home/ncvs/src/sbin/tunefs/tunefs.8,v
>>> retrieving revision 1.37
>>> diff -u -p -r1.37 tunefs.8
>>> --- tunefs.8    31 Oct 2006 21:52:28 -0000      1.37
>>> +++ tunefs.8    20 Jul 2007 14:57:30 -0000
>>> @@ -165,6 +165,8 @@ utility appeared in
>>>  .Bx 4.2 .
>>>  .Sh BUGS
>>>  This utility should work on active file systems.
>>> +To change the root filesystem, the system must be rebooted
>>> +after the filesystem is tuned.
>>>  .\" Take this out and a Unix Daemon will dog your steps from now until
>>>  .\" the time_t's wrap around.
>>>  .Pp
>>> %%%
>> Any chance that we resolve the bug instead of documenting it? :-)
>>
> Personally, I have no energy/time for that.  It was documented for
> ages, it is still documented in other BSDs.

It has long ago been converted to a mount option instead of a
tunefs command in NetBSD. My FreeBSD systems are patched that
way since shortly after soft-updates was committed (long before
it became available in NetBSD, IIRC); I have not checked whether
they used the (very simple) patches I had posted at that time.

Controlling soft-updates during mount has many advantages (not
only if you decide to enable it on a root file-system that had
been created without it) and no disadvantages.

Regards, STefan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46A13A10.8070108>