Re: PROPOSAL: /proc/dev

Pavel Machek (pavel@elf.ucw.cz)
Sat, 10 Jan 1998 13:17:00 +0100


Hi!

> Chroot() gaols
> --------------
> The semantics of inode creation are different when the devfs is
> mounted with the "explicit" option. Now, when a device entry is
> registered, it will not appear until you use mknod() to create the
> device. It doesn't matter if you mknod() before or after the device is
> registered with dev_register(). The purpose of this behaviour is to
> support chroot(2) gaols, where you want to mount a minimal devfs
> inside the gaol. Only the devices you specifically want to be
> available (through your mknod() setup) will be accessible.

So I'm expected to run mknod for every device driver in jail at boot
up? I would not like 100 mknod's in my startup scripts...

Pavel

-- 
I'm really pavel@atrey.karlin.mff.cuni.cz. 	   Pavel
Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).