clfs bug

Stéphane ANCELOT sancelot at
Tue Feb 20 01:55:10 PST 2007

I am trying running clfs svn version , but fails each time in 081-kernfs

because some things  are already done :

looks like the 081-kernfs script should check if /dev/console exists 
first  , modified script should look like :

set +h
set -e
mkdir -pv ${CLFS}/{dev,proc,sys}
mount -vt proc proc ${CLFS}/proc
mount -vt sysfs sysfs ${CLFS}/sys
if [ ! -e ${CLFS}/dev/console ];
mknod -m 600 ${CLFS}/dev/console c 5 1
if [ ! -e  ${CLFS}/dev/null ];then
	mknod -m 666 ${CLFS}/dev/null c 1 3
mount -v -o bind /dev ${CLFS}/dev
mount -f -vt tmpfs tmpfs ${CLFS}/dev/shm
mount -f -vt devpts -o gid=4,mode=620 devpts ${CLFS}/dev/pts

my failure log was :

Mon Feb 19 15:32:05 UTC 2007

KB: 34351064    /

proc on /mnt/build_dir/proc type proc (rw)
sysfs on /mnt/build_dir/sys type sysfs (rw)
mknod: `/mnt/build_dir/dev/console': File exists

real    0m0.368s
user    0m0.004s
sys     0m0.140s

More information about the alfs-discuss mailing list