FS#7339 - Allow more than one cache dir
Attached to Project:
Pacman
Opened by dtw (dibblethewrecker) - Saturday, 02 June 2007, 09:41 GMT
Last edited by Dan McGee (toofishes) - Friday, 05 October 2007, 01:16 GMT
Opened by dtw (dibblethewrecker) - Saturday, 02 June 2007, 09:41 GMT
Last edited by Dan McGee (toofishes) - Friday, 05 October 2007, 01:16 GMT
|
Details
To reduce bandwidth it would be great if it was easier to
share downloaded pkgs with other machines. My solution,
using unionfs, to combine two cache dirs was ok but unionfs
is too unstable.
A pacman option to check an extra cache dir for previously downloaded pkgs would make things a whole lot easier. The standard cache dir remains RW, i.e. new pkgs go there, but being able to grab files from an existing cache on top of that would be great. This is a fairly easy one I would guess. |
This task depends upon
Closed by Dan McGee (toofishes)
Friday, 05 October 2007, 01:16 GMT
Reason for closing: Implemented
Additional comments about closing: Implemented in 3.1, currently in GIT
Friday, 05 October 2007, 01:16 GMT
Reason for closing: Implemented
Additional comments about closing: Implemented in 3.1, currently in GIT
Specifying two cache dirs would then be allowed, it would be a fallback thing in the same way the server lists currently are. Check the first for the file, then check the second. Download, try to store it in the first, then try to store it in the second, etc.
Other prefs for pacman.conf:
* lockfile location
* db location