Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jul 2009 17:18:54 +0300
From:      Andriy Gapon <avg@icyb.net.ua>
To:        Robert Noland <rnoland@FreeBSD.org>
Cc:        Olivier SMEDTS <olivier@gid0.org>, freebsd-current@FreeBSD.org, Alfred Perlstein <alfred@FreeBSD.org>, Hans Petter Selasky <hselasky@c2i.net>
Subject:   Re: Disable root mount waiting for USB
Message-ID:  <4A6F08CE.8010605@icyb.net.ua>
In-Reply-To: <1248789145.73923.10.camel@balrog.2hip.net>
References:  <367b2c980907270358g45a2497dh64c2734721c44fca@mail.gmail.com>	 <4A6EF8CD.7070305@icyb.net.ua> <1248786876.73923.6.camel@balrog.2hip.net>	 <200907281522.08446.hselasky@c2i.net> <4A6EFEE7.3090102@icyb.net.ua>	 <1248788421.73923.7.camel@balrog.2hip.net> <1248789145.73923.10.camel@balrog.2hip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
on 28/07/2009 16:52 Robert Noland said the following:
> Ok, Apparently I'm incorrect here... The man page is misleading... It
> seems that you do need to declare the TUNABLE_INT as well as change the
> CTLFLAG_RW to CTLFLAG_RDTUN.

Yes, the former change is "cosmetics" (very useful variety) that turns the sysctl
into read-only one (because changing it after boot would have no effect either
way) and provides a hint to sysctl(1) to print much friendlier and useful error
message when a user would attempt to change the value.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A6F08CE.8010605>