On 03/ 1/10 01:51 AM, casper....@sun.com wrote:
...
I think you're confused about what I've said here. And no, the data is
intentionally stored by digest and not by its original name. It would
neither be practical, nor efficient to store the files in the repository
by their delivered name. The size of the /dev repository is currently
around 63.6G and growing...
A hardlink doesn't cost (much) of additional storage.
To be clear, the cache stores compressed file content named after a
digest used for the file. The structure of the client's download cache
is intentionally the same as that of the repository. In addition, the
structure of the cache has been optimised with ZFS and client/server
operations in mind. If you look at /var/pkg/download on your own
system, it will become clear why linking is not practical.
The exact number of directories and expected number of files
per-directory in the cache is all the result of careful, thorough
performance and storage analysis.
I would reiterate that if a user needs to restore or fix various
packages on a system, the correct, supported interface to do that is to
use the pkg command, preferably via LiveCD or other mechanism.
Cheers,
--
Shawn Walker
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org