lkml.org 
[lkml]   [1999]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: USB device allocation
On Tue, 5 Oct 1999, H. Peter Anvin wrote:

> Brian Swetland wrote:
> > >
> > > Solaris does *not* use devfs; the /devices tree is an on-disk device
> > > node tree which is constructed at initialization time, and it is
> > > persistent. A much better solution, IMNSHO.
> >
> > How exactly does such a solution work with hot-plugable devices?
> > Some daemon that gets informed of devices appearing and disappearing?
> > I don't think I'm being unreasonable in thinking that when a device
> > is added to the system it should instantly be usable. That's kind of
> > the point of dynamic busses, no?
> >
>
> That is one way of doing it; IMO a very good way because it lets you
> have policy in user space.

Oh? And what kind of image of how devfs does things do you have then?

This is how devfs works. The kernel part of devfs informs devfsd of the
changes (what devices need to be created/removed), and devfsd nicely
carries out its chores. User-space policy and persistent access-rights are
there for you.

/David Weinehall
_ _
// David Weinehall <tao@acc.umu.se> /> Northern lights wander \\
// Project MCA Linux hacker // Dance across the winter sky //
\> http://www.acc.umu.se/~tao/ </ Full colour fire </


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.069 / U:1.220 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site