Re: hellish symlinks in archive
> You know, it is not straightforward to keep *only* the intel binaries
> mirrored on another machine. I did write a preliminary mirror config file:
>
> package=debian
> site=ftp.caldera.com
> remote_dir=/pub/mirrors/debian
> local_dir=/usr3/people/nathan/src/debian
> get_patt=(binary-all/|non-free/binary-i386/|non-free/binary/|contrib\
> /binary-i386/|contrib/binary/|buzz/binary/|buzz/binary-i386/|buzz-updates\
> /binary/|buzz-updates/binary-i386/|buzz-fixed/binary/|buzz-fixed/\
> binary-i386/|rex/binary-i386/|rex/binary/)
>
> Does anyone have a better config file for this purpose?
Here is mine: (symlinks to nonexistant files/dirs are not made by mirror)
package=defaults
site=ftp.debian.org
remote_dir=/debian
local_dir=linux/debian
local_ignore+|^local/
exclude_patt+|(^|/)(ls-|.ls-|source/|\..*|.*\.tar\.gz$|.*\.diff\.gz$|
WebPages|debian-bugs/|debian-manual/|debian-lists/|kernel/|
Packages$|Contents$|md5sums$|Maintainers$|Packages-|buzz|
[Ii]ncoming|.*-alpha|.*-sparc|.*-m68k|.*-ppc|\ )
package=debian
use_files=true
(The "exclude_patt" is all on one line, actually.)
Brian
( bcwhite@verisim.com )
-------------------------------------------------------------------------------
In theory, theory and practice are the same. In practice, they're not.
Reply to: