From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 19 23:36:56 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 77FCE106566B; Tue, 19 Oct 2010 23:36:56 +0000 (UTC) Date: Tue, 19 Oct 2010 23:36:56 +0000 From: Alexander Best To: freebsd-hackers@freebsd.org Message-ID: <20101019233656.GA84316@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: addition of sysctl nodes after compile time 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: Tue, 19 Oct 2010 23:36:56 -0000 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