Hello,
There was a lot of threads about mirroring of the repositories for people that 
wants to update more then one computer and/or install few packages on more then 
one computer. 

I was wondering (while waiting for my image-update to finish :) :) ) if in such 
case it could be useful to add option to only download files to the 
"/var/pkg/download/" directory ?

>From the user perspective it would work as follows (pkg image-update case):
-d for "download only"
pkg image-update -d 

then copy the directory "/var/pkg/download/" to as many computers as possible 
or maybe even share this through nfs/cifs/whatever

set the download path let's say:
export PKG_DOWNLOAD_DIR=/net/someserver/download

and on each computer re-run the command:
pkg image-update

This would validate if all the files are there and would not download those 
files twice from the net.

Moreover we could provide zfs snapshot not of the repository but 
"/var/pkg/download/" directory with most of the files for updates and if 
someone had other application installed only those bits would be downloaded, so 
there would be much less network traffic.

thoughts ???

best
Michal Pryc
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to