[OpenAFS] Running AFS client on Linux chrooted]

James E. Dobson James.E.Dobson@Dartmouth.EDU
18 Dec 2003 11:35:13 EST


> How do you deal with entries in /dev such as zero, random, 
> urandom and the ttys ?

Loopback mount of image which is in afs that contains a ext2 filesystem=
 with dev entries. You can mount this filesystem over AFS.

[jed@mitral] image/var/images > ls -l
total 10240
-rw-r--r--    1 root     bin      10485760 Dec 18 11:29 devfs.img

[jed@mitral] image/var/images > sudo mount -o loop -t ext2 devfs.img /m=
nt
[jed@mitral] image/var/images > ls /mnt | more
adbmouse
agpgart
amigamouse
amigamouse1
apm_bios
ataraid
....