[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 新的debian mirror



From: "Tommy Wu" <newsletter@teatime.com.tw>
>
>   rsync server 我抓過 ftp.debian.org, ftp.kernel.org.
>   ftp.debian.org 不太好連... 常常超過人數, 後來的速度也時快時慢....
>   ftp.kernel.org 速度很快, 沒什麼限制, 不過前一陣子硬體好像有問題,
常常連
不上,
>                        後來就沒再使用了...
>   ftp.de.debian.org 是我測了幾個 server 中速度還可以的, 目前都由這兒抓.
>
> --

謝謝!我過年測了一下, ftp.de.debian.org 確實是比較快些,
不過我還是要十幾個小時說。

下面是我的 rsync 的選項,是否能幫我看一下有什麼多餘的東西?

	#!/bin/bash
	#
	#RSYNC_HOST=ftp.debian.org
	RSYNC_HOST=ftp.de.debian.org
	#RSYNC_HOST=download.sourceforge.net
	#RSYNC_HOST=www.planetmirror.com
	#RSYNC_HOST=ftp.jp.debian.org
	#RSYNC_HOST=non-us.debian.org
	#RSYNC_HOST=ftp.au.debian.org
	#
	REMOTE_DIR=debian/
	#
	LOCALE_DIR=/pub/mirror/debian
	#
	rsync \
	    --verbose  --progress --stats \
		--archive \  -->  這是參照您的選項加上的,我本來沒有
		--rsh=ssh \
	    --recursive --partial --links --force \
	    --delete --delete-excluded \
	    --exclude-from=excluded.text \
	--timeout=600 \
	$RSYNC_HOST::$REMOTE_DIR $LOCALE_DIR

excluded 的檔比較長,因為我沒有去整理它, sorry!
	#excluded pattern fot debian
	#
	#**alpha**
	#**hppa**
	#**ia64**
	#**m68k**
	#**mips**
	#**mipsel**
	#**powerpc**
	#**s390**
	#**sparc**
	#
	#old distribution
	#
	#**slink**
	#
	#other
	#
	*alpha.deb
	#*arm.deb
	*m68k.deb
	*hppa.deb
	#*hurd-i386.deb
	*ia64.deb
	*powerpc.deb
	*mips.deb
	*mipsel.deb
	*s360.deb
	#*sh.deb
	*sparc.deb
	/Debian-1.3*
	binary-alpha/
	#binary-arm/
	binary-m68k/
	binary-powerpc/
	binary-hppa/
	#binary-hurd-i386/
	binary-ia64/
	binary-mips/
	binary-mipsel/
	binary-s390/
	#binary-sh/
	binary-sparc/
	disks-alpha/
	#disks-arm/
	disks-m68k/
	disks-powerpc/
	disks-hppa/
	#disks-hurd-i386/
	disks-ia64/
	disks-mips/
	disks-mipsel/
	disks-s390/
	#disks-sh/
	disks-sparc/
	#*-arm.gz
	*-alpha.gz
	*-m68k.gz
	*-hppa.gz
	*-powerpc.gz
	#*-hurd-i386.gz
	*-ia64.gz
	*-mpis.gz
	*-mpisel.gz
	*-s390.gz
	*-sparc.gz
	#*-sh.gz
	#local/
	#stable/
	slink-proposed-updates/
	slink/
	#bo/
	#bo-unstable/
	#bo-updates/



Reply to: