Re: hamm-only mirror
Joey Hess <joey@kite.ml.org> writes:
> Is there a way to configure mirror for a hamm-only mirror? I'm running very
> low on disk space on my mirror partition, and if I could get rid of the
> files in bo that arn't used in hamm, I'd free up a few hundred MB. Can
> someone could send me a mirror config file for this? I don't want to trash
> my mirror experimenting.
Here's how I mirror just {unstable,non-free,contrib}/binary-i386 and
unstable/disks-i386. Hope it's helpful. I call this from my mirror
directory (hence the relative local paths). Typical calling sequence
is:
(umask 002; \
cd /usr/src/debian/mirror || exit -1; \
mirror -p disks -p unstable -p non-free -p contrib -p non-US mirror.debian)
# File: mirror.debian
package=defaults
# Keep all local_dirs relative to here
# Don't mirror file modes. Set all dirs/files to these
dir_mode=0775
file_mode=0664
do_deletes=true
max_delete_files=90%
max_delete_dirs=90%
flags_recursive+L
compress_patt=
site=ftp.debian.org
package=disks
exclude_patt=(base12-.*\.bin$)|(.*1200\.bin$)
local_dir=main/disks-i386/current
remote_dir=/pub/debian/dists/unstable/main/disks-i386/current/
package=unstable
local_dir=main/binary-i386/
remote_dir=/pub/debian/dists/unstable/main/binary-i386/
package=contrib
local_dir=contrib/binary-i386/
remote_dir=/pub/debian/dists/unstable/contrib/binary-i386/
package=non-free
local_dir=non-free/binary-i386/
remote_dir=/pub/debian/dists/unstable/non-free/binary-i386/
package=non-US
site=os.inf.tu-dresden.de
local_dir=non-US/
remote_dir=/pub/debian-non-US/
get_patt=(binary-i386.*)|(source.*)
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: