Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Oct 2010 00:44:43 -0700
From:      "Constantine A. Murenin" <mureninc@gmail.com>
To:        Alexander Best <arundel@freebsd.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: addition of sysctl nodes after compile time
Message-ID:  <AANLkTikyC-mtMAnRrO5=3k=UVsF30n1wP6YLKxbTr78k@mail.gmail.com>
In-Reply-To: <20101019233656.GA84316@freebsd.org>
References:  <20101019233656.GA84316@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 19 October 2010 16:36, Alexander Best <arundel@freebsd.org> wrote:
> hi there,
>
> i stumbled upon this note in the BUGS section of the cd(4) manual:
>
> =A0 =A0"There is no mechanism currently to set different minimum and maxi=
mum
> =A0 =A0 timeouts for different CD changers; the timeout values set by the=
 kernel
> =A0 =A0 options or the sysctl variables apply to all LUN-based CD changer=
s in the
> =A0 =A0 system. =A0It is possible to implement such support, but the sysc=
tl imple-
> =A0 =A0 mentation at least would be rather inelegant, because of the curr=
ent
> =A0 =A0 inability of the sysctl code to handle the addition of nodes afte=
r com-
> =A0 =A0 pile time. =A0Thus, it would take one dynamically sized sysctl va=
riable and
> =A0 =A0 a userland utility to get/set the timeout values. =A0Implementati=
on of sep-
> =A0 =A0 arate timeouts for different CD devices in the kernel config file=
 would
> =A0 =A0 likely require modification of config(8) to support the two timeo=
uts when
> =A0 =A0 hardwiring cd devices."
>
> does this limitation still exist?
>
> cheers.
> alex

No, the limitation is no longer present.  See sysctl_add_oid(9) for
more details.

C.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikyC-mtMAnRrO5=3k=UVsF30n1wP6YLKxbTr78k>