Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Nov 1999 22:06:05 -0700 (MST)
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        chris@calldei.com
Cc:        tanimura@r.dl.itc.u-tokyo.ac.jp (Seigo Tanmura), sjr@home.net, freebsd-bugs@FreeBSD.ORG
Subject:   Re: make_dev() warnings
Message-ID:  <199911120506.WAA32319@panzer.kdm.org>
In-Reply-To: <19991111230337.M48527@holly.calldei.com> from Chris Costello at "Nov 11, 1999 11:03:38 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Chris Costello wrote...
> On Thu, Nov 11, 1999, Kenneth D. Merry wrote:
> > Chris Costello wrote...
> > > On Thu, Nov 11, 1999, Kenneth D. Merry wrote:
> > > > So while cdevsw_add() need only be called once for each device type,
> > > > make_dev() (once we get DEVFS, I imagine) will probably have to be called
> > > > once for each device node added.
> > > 
> > >    If it's a problem, then make_dev should be changed to
> > > facilitate the type of behavior that would be most efficient for
> > > disk devices.
> > 
> > What do you mean?
> 
>    You said that cdevsw_add() is called only once for each device
> type, while make_dev will be called for each node.  Is that a
> problem?  (I assumed it was.)

It's not a problem.  In fact, there's probably no other easy way to do it
if we're going to eventually go to DEVFS.

Ken
-- 
Kenneth Merry
ken@kdm.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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