Question on directory created

Stephen Liu satimis at yahoo.com
Sun Jun 26 20:51:31 PDT 2005


Hi steve,

Tks for your advice.

> > /dev/hda6               /mnt/lfs               
> ext3
> >  defaults        1 2
> 
> okay, that means you have already created and
> mounted the LFS parition

- snip -
 
> Okay, you only need the mkdir /mnt/LFS/$LFS/usr if
> you are going to
> have your LFS /usr directories on a seperate
> filesystem, which does
> not appear to be the case, so you don't need to
> follow this step.
> 
> Also, the instructions you are refering to in the
> URL above are for
> mounting the new LFS partition, which it appears you
> have already
> completed.

Whether jumping to following section;
3. Packages and Patches
http://www.sg.linuxfromscratch.org/lfs/view/6.0/chapter03/chapter03.html

to run

# mkdir /mnt/$LFS/sources
# chmod a+wt /mnt/$LFS/sources
(what is the flag'a+wt'?  Is it timestamp?)

and download all files on
3.2. All Packages
http://www.sg.linuxfromscratch.org/lfs/view/6.0/chapter03/packages.html
http://www.sg.linuxfromscratch.org/lfs/view/6.0/chapter03/patches.html

to /mnt/$LFS/sources

But I could not find the directory /mnt/$LFS

I found 

# cd /mnt/LFS
# ls -al
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

AND
# cd /mnt/LFS/$LFS
# ls -al
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

They refer to the same directory.  '$LFS' seems to be
an invisible directory.

TIA

B.R.
Stephen



More information about the lfs-support mailing list