[OpenAFS-devel] How share "/afs" with chroot??
slushpupie@gmail.com
slushpupie@gmail.com
Tue, 21 Dec 2004 14:33:07 -0600
On Tue, 21 Dec 2004 16:23:06 +0200 (EET), Vitaly <cvv@email.zp.ua> wrote:
> Thanks!
>
> Its good idea but only if You have one resident chroot.
>
> I at now have two non-resident croots and in this situation I can't use symlink.
> I must find better solutions
>
Linux as of 2.4.x kernels supports a 'bind' mount point. So you could do:
mount -o bind /afs /chroot1/afs
mount -o bind /afs /chroot2/afs
This will only work after /afs is mounted, of course. I do this on my
workstation for 3 seperate chroots.
Jay
--
Jay Kline
http://www.slushpupie.com/