[CentOS] Mounting /var directory to a new HardDisk
Tom Brown
tom at ng23.net
Fri Jan 18 10:05:06 UTC 2008
>> but not before you boot single user and copy all the contents across manually and then modify /etc/fstab to reflect the new location of /var.
>>
>
> If I boot from single user mode and copy /var directory to new
> hardiisk, What will happent to permissions?
>
use rsync to copy the data over - this will preserve all perms etc very
nicely - yes tar will also but i prefer rsync
More information about the CentOS
mailing list