Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2004 11:35:14 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        des@des.no
Cc:        arch@freebsd.org
Subject:   Re: per-device sysctls
Message-ID:  <20040226.113514.94846192.imp@bsdimp.com>
In-Reply-To: <xzp7jy9lmnf.fsf@dwp.des.no>
References:  <xzpk729lnq7.fsf@dwp.des.no> <20040226.112045.82374099.imp@bsdimp.com> <xzp7jy9lmnf.fsf@dwp.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <xzp7jy9lmnf.fsf@dwp.des.no>
            des@des.no (Dag-Erling Sm=F8rgrav) writes:
: "M. Warner Losh" <imp@bsdimp.com> 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



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