Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Nov 2001 13:29:37 -0800
From:      Peter Wemm <peter@wemm.org>
To:        mjacob@feral.com
Cc:        Dima Dorfman <dima@trit.org>, arch@FreeBSD.ORG
Subject:   Re: Anybody working on devd? 
Message-ID:  <20011126212937.AD31B380D@overcee.netplex.com.au>
In-Reply-To: <Pine.BSF.4.21.0111260957340.56823-100000@beppo> 

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Jacob wrote:
> I'm curious what you think a devd is now needed for.

As a common place to hook in "device related" trigger events.  Currently
pccardd (on OLDCARD) performs two functions.. It drives the bus scan and
driver assignment, and secondly it runs userland programs in response to
device events (insert/remove).  usbd used to do the same thing, but now
it is solely an optional userland event trigger.  NEWCARD does not
have this functionality anywhere.  Insert a card and a network interface
appears.. and thats it.   There is no place to add (for example) a dhclient
event.

devd would be a general purpose replacement for usbd and the trigger part
of pccardd, and provide the functionality to newcard.

It would also be a place where a program could be called to respond to new
nodes appearing in /dev for adjusting any permissions needed according
to some sort of template system or something.  (But it would be a mistake
to mix the two things up at this point, as the permissions setter is prime
bikeshed material.  IMHO, provide the hooks first, then once we have the
framework, then revisit the permissions).

> On Mon, 26 Nov 2001, Dima Dorfman wrote:
> 
> > Is anybody working, or planning on starting in the near future, on
> > devd or similar?  I'm thinking of giving it a shot, but I'd rather not
> > duplicate effort and/or step on anybody's toes.
> > 
> > Thanks.
> > 
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-arch" in the body of the message
> > 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-arch" in the body of the message
> 
> 

Cheers,
-Peter
--
Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au
"All of this is for nothing if we don't go to the stars" - JMS/B5


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




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