Hi, Thank you very much for answering Le 30/12/2012 16:19, xinglp a écrit : > > Tihere is also a directory created by lfs book by the below script may > be need cleanup. > > if [ -h $LFS/dev/shm ]; then > link=$(readlink $LFS/dev/shm) > mkdir -p $LFS/$link > mount -vt tmpfs shm $LFS/$link > unset link > else > mount -vt tmpfs shm $LFS/dev/shm > fi That is not so straightforward, because the directory $link might as well be created during '6.5-Creating directories'. We do not want to remove it in that case. And if (as is the most probable) we stay with a subdirectory of /run, it is harmless, since the bootscripts mount a tmpfs on /run. > And by execute "grep umount * -Rn" in jhalfs directory show some where > else should be changed. > > CLFS/master.sh:989: @-umount \$(MOUNT_PT)/dev/pts > CLFS/master.sh:990: @-umount \$(MOUNT_PT)/dev/shm > CLFS/master.sh:991: @-umount \$(MOUNT_PT)/dev > CLFS/master.sh:992: @-umount \$(MOUNT_PT)/sys > CLFS/master.sh:993: @-umount \$(MOUNT_PT)/proc > common/makefile-functions:222: @echo $(tab_)exit from the chroot and > umount the filesystems > HLFS/master.sh:638: @-umount \$(MOUNT_PT)/dev/pts > HLFS/master.sh:639: @-umount \$(MOUNT_PT)/dev/shm > HLFS/master.sh:640: @-umount \$(MOUNT_PT)/dev > HLFS/master.sh:641: @-umount \$(MOUNT_PT)/sys > HLFS/master.sh:642: @-umount \$(MOUNT_PT)/proc > LFS/master.sh:520: sudo umount -v \$(LFS)/sys > LFS/master.sh:521: sudo umount -v \$(LFS)/proc > LFS/master.sh:522: sudo umount -v \$(LFS)/dev/shm > LFS/master.sh:523: sudo umount -v \$(LFS)/dev/pts > LFS/master.sh:524: sudo umount -v \$(LFS)/dev > LFS/master.sh:562: @-umount \$(MOUNT_PT)/sys > LFS/master.sh:563: @-umount \$(MOUNT_PT)/proc > LFS/master.sh:564: @-umount \$(MOUNT_PT)/dev/shm > LFS/master.sh:565: @-umount \$(MOUNT_PT)/dev/pts > LFS/master.sh:566: @-umount \$(MOUNT_PT)/dev > I hope I have taken care of all those in LFS/master.sh. In HLFS, and CLFS, it is for another version of the book, where I do not think they have done any change (HLFS is dormant and CLFS does not have the changes yet).
Regards Pierre -- http://linuxfromscratch.org/mailman/listinfo/alfs-discuss FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page