addition of sysctl nodes after compile time

Alexander Best arundel at freebsd.org
Tue Oct 19 23:36:56 UTC 2010


hi there,

i stumbled upon this note in the BUGS section of the cd(4) manual:

    "There is no mechanism currently to set different minimum and maximum
     timeouts for different CD changers; the timeout values set by the kernel
     options or the sysctl variables apply to all LUN-based CD changers in the
     system.  It is possible to implement such support, but the sysctl imple-
     mentation at least would be rather inelegant, because of the current
     inability of the sysctl code to handle the addition of nodes after com-
     pile time.  Thus, it would take one dynamically sized sysctl variable and
     a userland utility to get/set the timeout values.  Implementation of sep-
     arate timeouts for different CD devices in the kernel config file would
     likely require modification of config(8) to support the two timeouts when
     hardwiring cd devices."

does this limitation still exist?

cheers.
alex

-- 
a13x


More information about the freebsd-hackers mailing list