Hello, everyone,<br><br>I'm new to this list and I just go to this e-mail, I'm really sorry if I don't know exactly what you're talking about but I'll take a wild guess...<br><br>I've been wondering about a new installation scheme, in which there's a central database (for example, a text file with:
lib.so.1:/usr/local/bin/myapp/lib.so.1) with a list of installed shared libraries and/or files, when installing an app or library, it copies all the files in the installation package, unless there is a match in the shared file database, in which case, instead of copying the file, it creates a hard link to the file/library.
<br><br>This way the app directory contains all the files it needs, including hard links to the libraries, when deleting apps, the libraries remain available as long as there is one hard link to the file.<br><br>The text file was obviously an example, a better way to locate the file's location array with a hash would be better.
<br><br>I don't know if this would create problems when loading libraries causing them to load once per file location.<br><br>I'm sorry if I drifted away from the subject.<br><br><div><span class="gmail_quote">On 3/30/06,
<b class="gmail_sendername">Derek Broughton</b> <<a href="mailto:news@pointerstop.ca">news@pointerstop.ca</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Phillip Susi wrote:<br><br>> I think you misunderstood the argument. It isn't that unused shared<br>> libs waste disk space, it is that it is nice to be able to simply copy a<br>> program from one machine to another and have it just work, as opposed to
<br>> failing to load because one or more dependent libraries are not also<br>> installed, or because a bunch of registry entries are missing or<br>> something. It is ease of use vs efficiency.<br><br>Right. That was the argument - after all, all the _duplicated_ libraries
<br>make for a lot more wasted space than a few unused shared libs lying<br>around. Of course, it presupposes that you would actually need to copy the<br>whole app tree. For very many cases, simply installing a .deb - without
<br>any configuration - gives you everything you need.<br><br>fwiw, some time after I started using aptitude I did something like:<br> aptitude markauto ~nlib*<br>and now I'm pretty sure I don't have unused libraries hanging around.
<br>--<br>derek<br><br><br>--<br>ubuntu-users mailing list<br><a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br><a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
</a><br></blockquote></div><br>