Question on directory created

Stephen Liu satimis at yahoo.com
Sun Jun 26 17:05:12 PDT 2005


Hi folks,

I have 'LFS' partition permanently mounted as;

# cat /etc/fstab
# 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  
 
........
......


# df -T
Filesystem    Type   1K-blocks      Used Available
Use% Mounted on
/dev/hda2     ext3    20161204   7329544  11807520 
39% /
/dev/hda1     ext3      101086     11461     84406 
12% /boot
none         tmpfs      127744         0    127744  
0% /dev/shm
/dev/hda5     ext3     9621848   1703384   7429688 
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/lfs/view/6.0/chapter02/mounting.html

I proceeded
# mkdir -p $LFS /mnt/LFS
# mkdir /mnt/LFS/$LFS/usr

# ls -al /mnt/LFS
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.
Stephen Liu



More information about the lfs-support mailing list