On Fri, Apr 07, 2006 at 10:26:10AM -0700, Dan Nicholson wrote: > > This may have to do with mount --bind. I can't think of any other > reasons for it. Definitely needs investigation. Could you post > anything that sticks out about these failures?
For some reason, I cannot duplicate that problem, else the change wouldn't have been made. Here is exactly how my script is doing it: if ! mount | grep -q $LFS\/dev; then sudo mkdir -p $LFS/{proc,sys,dev} if [ ! -c $LFS/dev/console ]; then sudo mknod -m 600 $LFS/dev/console c 5 1 fi if [ ! -c $LFS/dev/null ]; then sudo mknod -m 666 $LFS/dev/null c 1 3 fi sudo mount --bind /dev $LFS/dev fi if ! mount | grep -q $LFS\/dev\/pts; then sudo mount devpts -t devpts $LFS/dev/pts fi if ! mount | grep -q $LFS\/dev\/shm; then sudo mount shm -t tmpfs $LFS/dev/shm fi if ! mount | grep -q $LFS\/proc; then sudo mount proc -t proc $LFS/proc fi if ! mount | grep -q $LFS\/sys; then sudo mount sysfs -t sysfs $LFS/sys fi However, for size recording, my script does one thing in chroot to make / appear in /etc/mtab: mount -f -t $fs_type /dev/$partition / Maybe that's why it works for me? -- Archaic Want control, education, and security from your operating system? Hardened Linux From Scratch http://www.linuxfromscratch.org/hlfs -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page