[ From Alexander Bangert, sent to www@gentoo.org ] Hello, I think you have an error in document http://www.gentoo.org/doc/en/diskless-howto.xml: Code Listing?6.1: Creating a slave filesystem # rsync -avz /bin /diskless/192.168.1.21/bin # rsync -avz /sbin /diskless/192.168.1.21/sbin # rsync -avz /lib /diskless/192.168.1.21/lib must be Code Listing?6.1: Creating a slave filesystem # rsync -avz /bin /diskless/192.168.1.21/ # rsync -avz /sbin /diskless/192.168.1.21/ # rsync -avz /lib /diskless/192.168.1.21/ otherwise you will have following folders: /diskless/192.168.1.21/bin/bin (for example)
Indeed, that or we need to add a trailing "/" to the first argument, like this: """ # rsync -avz /bin/ /diskless/192.168.1.21/bin # rsync -avz /sbin/ /diskless/192.168.1.21/sbin # rsync -avz /lib/ /diskless/192.168.1.21/lib """ I've updated the guide with your proposed command though as it leads to less characters for the user to be typed :)