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

To revise my earlier message it looks like I wound up mounting this image then putting 
the files into a tmpfs filesystem which I had linked /dev to. Can't remember 
why.....Here is relevent section from my init script (/dev is link to /tmp/dev_tmp)

# create device node for loopback in /tmp
mkdir /tmp/dev
mknod /tmp/dev/loop0 b 7 0
mknod /tmp/dev/loop1 b 7 1

# layout my dev file system from a static image tucked away in /var/images :-)
mkdir /tmp/dev_tmp
mount -o loop,ro -t ext2 /var/images/devfs.img /tmp/dev_tmp
tar -cf - -C /tmp/dev_tmp . | (cd /tmp/dev; tar -xf -)
umount /tmp/dev_tmp

I'm sure there are other solutions for this. I did this for network booting into AFS. 
Works for me...

-jed


_______________________________________________
OpenAFS-info mailing list
[EMAIL PROTECTED]
https://lists.openafs.org/mailman/listinfo/openafs-info

Reply via email to