lfs环境变量–不是正确的,只是对我才是正确的
heary@heary-Inspiron-1464:~$ sudo -s
root@heary-Inspiron-1464:~# export LFS=/mnt/lfs
root@heary-Inspiron-1464:~# mkdir -pv $LFS
root@heary-Inspiron-1464:~# mount -v -t ext3 /dev/sda1 $LFS
/dev/sda1 on /mnt/lfs type ext3 (rw)
root@heary-Inspiron-1464:~# echo $LFS
/mnt/lfs
root@heary-Inspiron-1464:~# mkdir -v $LFS/tools
mkdir: cannot create directory `/mnt/lfs/tools’: File exists
root@heary-Inspiron-1464:~# ln -sv $LFS/tools /
ln: creating symbolic link `/tools’: File exists
root@heary-Inspiron-1464:~# chown -v lfs $LFS/tools
ownership of `/mnt/lfs/tools’ retained as lfs
root@heary-Inspiron-1464:~# chown -v lfs $LFS/sources
ownership of `/mnt/lfs/sources’ retained as lfs
root@heary-Inspiron-1464:~# su – lfs
