tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Devices.



> When you want a device tree in a chroot, you just mount the device
> filesystem on that chroot.

Uh, maybe _you_ do.  _I_ don't.  For most of my chroots, I want the
chroot to have as minimal a set of devices as still allows it to do its
job, and in particular I do not want it to ever dynamically acquire new
devices, nor do I want it to have /dev entries for devices not
necessary for its task.  I not infrequently want unusual ownerships or
permissions on its /dev, too.

I also want to be able to have device nodes places other than /dev, and
that desire is at least mostly orthogonal to chroot.

A devfs that could be configured that way, well, maybe.  Most of the
ones I've seen can't, but I haven't been staying au courant with them.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		mouse%rodents-montreal.org@localhost
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index