orc@pell.portland.or.us (david parsons) said:
[...]
> I'd think it would be somewhat better to patch devfs so that it can
> only be mounted once (as a quick fix to the technical issues that
> are now being mentioned; if there are other technical issues with
> the current devfs they'll become more visible when Al Viro isn't
> fretting quite so much over the multiple-mounts thing) and do a
> purely user-mode hack to devfsd to fake multiple mounts.
How would you do that? You can't symlink out of a chroot jail.
The clean way out is to have a way to get a device's tree only, and either
mount those subtrees needed (BTW, you'll probably need to be able to handle
different permissions in different jails...). Then you need a way of
mounting several trees one over the other (again, a nice idea; would be
useful for a lot of other things). Sadly, none of this fits into the
current VFS model.
Or you do plain device files on disk. This has been supported on Linux from
before 1.0.
-- Dr. Horst H. von Brand mailto:vonbrand@inf.utfsm.cl Departamento de Informatica Fono: +56 32 654431 Universidad Tecnica Federico Santa Maria +56 32 654239 Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:11 EST