From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 20 22:55:14 2007 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F91C16A417 for ; Fri, 20 Jul 2007 22:55:14 +0000 (UTC) (envelope-from SRS0=Naq8=MS=FreeBSD.org=se@srs.kundenserver.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.174]) by mx1.freebsd.org (Postfix) with ESMTP id BEE6413C45A for ; Fri, 20 Jul 2007 22:55:13 +0000 (UTC) (envelope-from SRS0=Naq8=MS=FreeBSD.org=se@srs.kundenserver.de) Received: from [80.135.167.244] (helo=[192.168.0.12]) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis), id 0ML25U-1IC1AB16tk-0004UO; Sat, 21 Jul 2007 00:41:32 +0200 Message-ID: <46A13A10.8070108@FreeBSD.org> Date: Sat, 21 Jul 2007 00:41:20 +0200 From: Stefan Esser User-Agent: Thunderbird 2.0.0.5 (Windows/20070716) MIME-Version: 1.0 To: Maxim Konovalov References: <20070720185101.F20123@mp2.macomnet.net> <46A0D313.8010904@delphij.net> <20070720192830.C20123@mp2.macomnet.net> In-Reply-To: <20070720192830.C20123@mp2.macomnet.net> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1+lsx36NZRRxmemc06YjFopYQwatYgC3MLBPi3 HSiL61WzQbrq/GsnrS7G0eQBt6TYwF7qjxO86mR/3m4syZN+BW JfS5hDVvY6GrDlSnU+6rg== Cc: hackers@freebsd.org, Xin LI Subject: Re: tunefs.8 oddity X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jul 2007 22:55:14 -0000 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