Hello, packagemanagement is not new to LFS. It is discussed before, and a some hints about this topic are available.
I've been thinking about a construction some time now, and that's using the extended attributes to identify a package. This is a variant of the hint "more_control_and_pkg_man.txt" by Matthias Benkmann. In short, by installing the acl-attr packages (there is a hint about that too), you should be able to add any information (metadata) to an file and directory. For example the packagename, buildtime, packageversion etcetera. It's possible to do a search on this attr (find_by_attr). About this topic I've found a website: "http://book.itzero.com/read/others/0602/OReilly.Linux.Server.Hacks.Volume. Two.Dec.2005_html/0596100825/morelnxsvrhks-CHP-5-SECT-10.html" The only problem is how to set these attributes when installing a package and all of the files that belong to this package. I'm thinking of wrappers for all the commands that create files: install,cp,mv.... Default this wrapper should do nothing extra, but when there are for example some environmentvariables set, it will create these extra attributes for every file moved/created/installed/copied. What do you think? IMHO the idea of an extra database containing all the information about packages installed is not good: the filesystem your system is on itself is a database and should contain this information. The only question is howto find it. Stef Bon -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
