Hi all I searched internet and lfs mail archives, but did not find anything related.
There are many package managers which use symbolic links to track which files belong to which package. I have thought of a similar approach but with hard links instead. I discuss this on lfs-support rather than on blfs-support because I want to manage every package on the system, not just those installed after LFS. Simple tests using a simple software suggest that this scheme works with at least some simple packages. Before I implement something complex I would want to know which problems this scheme would have when used with such packages as glibc and gcc; and what other problems might exist? The reasons why I want hard links instead of symbolic links are: - I don't want every file in system directories to be a symbolic link. - Dereferencing symbolic links requires filename resolution which is slower than just looking up an inode. - Accidentally deleting a package directory on a symlink-based system is a disaster, but when using hard links, nothing critical happens. Thanks for feedback. -- Tapio -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
