> From: Michael Havens <[email protected]> > Date: Sun, 7 Sep 2014 00:07:50 -0700 > To: LFS Support List <[email protected]> > Subject: Re: [lfs-support] section 9.3 > > > > On Sat, Sep 6, 2014 at 2:25 PM, akhiezer <[email protected]> wrote: > > > Bear in mind too that your lfs build environment is inside a chroot, and > > so won't see all of the host-os filesystem. You (basically) need to get > > the 'lynx2.8.8rel.2.tar.bz2' file into a directory that can be seen from > > within the chroot. > > > > > > hth, > > > > Isn't that what 'mount --bind ...' is for?
In the host-os of the machine where you're building lfs, if you followed the book then you set LFS=/mnt/lfs and will have /mnt/lfs/sources dir. Also in the host-os, do you have a '/sources' symlink that points to the '/mnt/lfs/sources' dir? >From within the lfs chroot build area, that same dir will appear as a dir (not a symlink) called '/sources' . For your scp command, simplest thing just now would be to copy into '/' , and then from the host-os on the build-machine, just go and move it into /mnt/lfs/sources dir; and then go into the lfs chroot build area and _from there_ check that it appears in the '/sources' dir. Bind-mounting essentially just makes a 'real' directory path available via an additional directory path. It partly/superficially like making a symlink, for some cases; but the two are not really the same thing. hth, akh -- -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
