Hi folks,
I have 'LFS' partition permanently mounted as;
# cat /etc/fstab
Code:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda5 /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/hda6 /mnt/lfs ext3 defaults 1 2
/dev/hda7 /mnt/livecd ext3 defaults 1 2
/dev/hdd /media/cdrom auto pamconsole,exec,noauto,f
........
......
# df -T
Code:
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/hda2 ext3 20161204 7329548 11807516 39% /
/dev/hda1 ext3 101086 11461 84406 12% /boot
none tmpfs 127744 0 127744 0% /dev/shm
/dev/hda5 ext3 9621848 1704152 7428920 19% /home
/dev/hda6 ext3 5771468 44256 5434028 1% /mnt/lfs
/dev/hda7 ext3 1802600 35496 1675536 3% /mnt/livecd
According to following URL
http://www.sg.linuxfromscratch.org/l.../mounting.html
I proceeded
# mkdir -p $LFS /mnt/LFS
# mkdir /mnt/LFS/$LFS/usr
# ls -al /mnt/LFS/
Code:
total 24
drwxr-xr-x 3 root root 4096 Jun 27 07:40 .
drwxr-xr-x 8 root root 4096 Jun 27 07:39 ..
drwxr-xr-x 2 root root 4096 Jun 27 07:40 usr
Only /usr is there, '$LFS' not found. Whether /mnt/LFS is '$LFS'?
TIA
B.R.
satimis