From owner-freebsd-arch@FreeBSD.ORG Thu Feb 26 10:35:26 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0290F16A4CE for ; Thu, 26 Feb 2004 10:35:26 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EFEE43D1D for ; Thu, 26 Feb 2004 10:35:25 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.10/8.12.9) with ESMTP id i1QIZEkj080373; Thu, 26 Feb 2004 11:35:15 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Thu, 26 Feb 2004 11:35:14 -0700 (MST) Message-Id: <20040226.113514.94846192.imp@bsdimp.com> To: des@des.no From: "M. Warner Losh" In-Reply-To: References: <20040226.112045.82374099.imp@bsdimp.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable cc: arch@freebsd.org Subject: Re: per-device sysctls X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2004 18:35:26 -0000 In message: des@des.no (Dag-Erling Sm=F8rgrav) writes: : "M. Warner Losh" writes: : > How is this different than the sysctl stuff that already exsists fo= r : > this and is accessed by devinfo? : = : 1) it is immensely easier to access From=20whose point of view. devinfo is easier to type than sysctl dev by one character :-). However, : 2) it gives drivers a well-defined place to put their per-device : sysctl variables - devinfo doesn't address that issue at all That is a good reason to transitioning to this, so long as we can come up with a good way to represent detached nodes. This also gives us a good place to hang other actions we may want to send to device drivers like power down, etc. Warner