ローカル専用rsync gentoo-portageサーバの3分クッキング

本当に3分で出来上がると思う。

# emerge app-admin/gentoo-rsync-mirror
# nano -w /etc/rsync/rsyncd.conf

デフォルトから改変するのは、接続数とgentoo-portageのPATHです。
max connections = 5

#[gentoo-x86-portage]
#this entry is for compatibility
#path = /opt/gentoo-rsync/portage
#comment = Gentoo Linux Portage tree

[gentoo-portage]
#modern versions of portage use this entry
#path = /opt/gentoo-rsync/portage
path = /usr/portage
comment = Gentoo Linux Portage tree mirror
exclude = distfiles

# rc-update add rsyncd default
# /etc/init.d/rsyncd start

これでできると思うけど、/usr/portageではいけないかもしれない。ぷらす、FW内ではrsyncで外部に飛べないのがほとんど。うーん…上手くいかないのはnoatime@fstabか・・・