[lfs-support] symbolic links: relative vs absolute

2015-08-31 Thread Simon Kitching
Hi All, Some examples in the LFS book create symbolic links as follows: ln -sfv ../../lib/$(readlink /usr/lib/libz.so) /usr/lib/libz.so while some create them like this: ln -sv /proc/self/mounts /etc/mtab ln -sv /tools/lib/libgcc_s.so{,.1} /usr/lib As far as I can see, all links under /

Re: [lfs-support] symbolic links: relative vs absolute

2015-08-31 Thread Bruce Dubbs
Simon Kitching wrote: Hi All, Some examples in the LFS book create symbolic links as follows: ln -sfv ../../lib/$(readlink /usr/lib/libz.so) /usr/lib/libz.so while some create them like this: ln -sv /proc/self/mounts /etc/mtab ln -sv /tools/lib/libgcc_s.so{,.1} /usr/lib As far as I

Re: [lfs-support] symbolic links: relative vs absolute

2015-08-31 Thread William Harrington
On Mon, August 31, 2015 18:47, Simon Kitching wrote: > Hi All, > > Some examples in the LFS book create symbolic links as follows: > >ln -sfv ../../lib/$(readlink /usr/lib/libz.so) /usr/lib/libz.so > > while some create them like this: > >ln -sv /proc/self/mounts /etc/mtab >ln -sv /tool

Re: [lfs-support] symbolic links: relative vs absolute

2015-08-31 Thread Simon Kitching
On 08/31/2015 10:25 PM, William Harrington wrote: On Mon, August 31, 2015 18:47, Simon Kitching wrote: Hi All, Some examples in the LFS book create symbolic links as follows: ln -sfv ../../lib/$(readlink /usr/lib/libz.so) /usr/lib/libz.so while some create them like this: ln -sv /pro