Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Oct 2000 12:32:17 +0200
From:      Alexander Langer <alex@big.endian.de>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        Jeremy Lea <reg@FreeBSD.ORG>, Mike Meyer <mwm@mired.org>, current@FreeBSD.ORG
Subject:   Re: setting device permissions for DEVFS
Message-ID:  <20001001123217.A2644@cichlids.cichlids.com>
In-Reply-To: <11056.970344237@critter>; from phk@critter.freebsd.dk on Sat, Sep 30, 2000 at 10:03:57PM %2B0200
References:  <20000930120607.C349@shale.csir.co.za> <11056.970344237@critter>

next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Poul-Henning Kamp (phk@critter.freebsd.dk):

> You guys are overlooking something about DEVFS: devices may appear
> post-boot.

Ah, yes.

BTW: Devices don't disappear if you unload devices.
This happens for example with bktr.ko.
When I then reload bktr.ko, I get the following:

WARNING: Driver mistake: repeat make_dev("bktr0")
WARNING: Driver mistake: repeat make_dev("tuner0")
WARNING: Driver mistake: repeat make_dev("vbi0")

> We need a generic "devd" which finds out that devices have appeared,
> set their perms (if needed/wanted) and executes any commands needed
> (getty, mount, etc etc) by the device.

Hmm.  A technical question: How would the devd be notifed about an
event in the devfs?
Does it open a (new) device as for example the usbd does, or how would
you solve that?

Alex

-- 
cat: /home/alex/.sig: No such file or directory


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




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