On Tue, Aug 19, 2003 at 04:27:18PM -0500, Erik Anderson wrote:
>I have a RH8 box whose /var I need to move to another partition.  Would 
>the following command be OK to copy the current /var to the /newvar?
>
># rsync -avp /var /newvar
>
>Do you see any issues with that?

A couple of things.  The 'a' implies the 'p' (permissions) so that is
not needed.  The second thing is your command will copy all files
from the /var directory into the /newvar/var directory, probably not
what you want.  Here is what I would do:
# rysnc -auv /var/ /newvar/

Note the '/' after each directory name, this is very important.  See man
rsync for why.  Also note the 'u' option.  This tells rsync to only
update newer files.  I am assuming the /newvar directory is currently
empty, but any subsequent rsync's will probably require that option.

Setting your fstab is and mount point is another topic.  Are you aware
of how to adjust these?

-- 
Linux Administrator || Technology Specialist || Wifi Engineer
http://autonomous.tv/~spencer/resume/ || spencer at autonomous.tv
Key fingerprint = 173B 8760 E59F DBF8 6FD2  68F8 ABA2 AB08 49C7 4754
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20030819/5fb2ec4f/attachment.pgp