On Tue, 2012-03-20 at 16:50 +0200, Alexander Kapshuk wrote:
> So in other words, 'ln -sv ../usr/bin/cpp /lib' and 'ln
> -sv /usr/bin/cpp /lib' are equivalent?

Not quite, and the difference can be seen when you look at the link
*outside* the chroot environment (i.e where the filesystem is mounted
to /mnt/lfs).

The /lib directory becomes /mnt/lfs/lib, and so the first link now
expands to /mnt/lfs/usr/bin/cpp. However, the second link is an absolute
path, and so still points to /usr/bin/cpp - not to the file it was
intended to point at.

Simon.


Attachment: signature.asc
Description: This is a digitally signed message part

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to