Re: tunefs.8 oddity

看板FB_hackers作者時間18年前 (2007/07/24 11:06), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/6 (看更多)
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 _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
文章代碼(AID): #16fMow00 (FB_hackers)
文章代碼(AID): #16fMow00 (FB_hackers)