Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49833 - rsync usage error in diskless-howto
Summary: rsync usage error in diskless-howto
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL: http://www.gentoo.org/doc/en/diskless...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-03 06:07 UTC by Sven Vermeulen (RETIRED)
Modified: 2004-05-09 04:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Vermeulen (RETIRED) gentoo-dev 2004-05-03 06:07:52 UTC
[ 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)
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2004-05-09 04:28:18 UTC
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 :)