Subject: Re: representation of persistent device status, was Re: devfs, was Re: ptyfs...
To: Daniel Carosone <dan@geek.com.au>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 11/24/2004 13:54:25
--Apple-Mail-18-619498040
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed


On Nov 19, 2004, at 3:52 PM, Daniel Carosone wrote:

> The chroot case is a clear and obvious one: you want only very
> particular devices to exist, or not, and perhaps also with different
> permissions that their equivalents in the "real" /dev.  Adding a bunch
> of smart "filtering" to duplicated devfs submounts is possible, but
> seems excessive, complex and error-prone.

In fact, per-mount "filtering" is employed in other devfs 
implementations that are out there.

Really, what you want from a devfs is:

	- A list of device nodes that exist

	- One or more views of that list of device nodes, which may be
	  fully populated, partially populated, allows presentation of
	  newly-discovered nodes or not, and has its own set of permissions.

         -- Jason R. Thorpe <thorpej@shagadelic.org>


--Apple-Mail-18-619498040
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQFBpQMSOpVKkaBm8XkRAhC2AKDIa+YeWtpFaaCh2RJA4goAaTP/AQCfdLyZ
kBuGeBLCAT2wtwts24+MhIQ=
=TB8k
-----END PGP SIGNATURE-----

--Apple-Mail-18-619498040--