Steve Crosby <[EMAIL PROTECTED]> wrote:
>The issue is that hard links *cannot* cross from one filesystem into
>another (as hardlinks are referenced by inode, and inodes are filesystem
>specific - so two different files on seperate filesystems can have the same
>inode)

Correct.

So:
ln /usr/packages/foo/bin/usrprog /usr/bin (OK)
ln /usr/packages/foo/bin/prog /bin (FAIL, but)
ln /packages/foo/bin/prog /bin (OK)

So multiple package directories solve the problem. User just has to move some
directories around, or preferably, user can write a configuration file
/var/lib/packagemanager/foo.conf and the manager does the job as a
preinstallation configuration step.

Symlink approaches must solve the same issue: a symbolic link /bin/e2fsck
does not help when it points to /usr/packages/e2fsprogs/bin/e2fsck and /usr
is not mounted.

-- 
Tapio
-- 
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