James Knott wrote:
> Carlos E. R. wrote:
>   
>> The Monday 2007-06-18 at 07:13 +0200, Jon Clausen wrote:
>>
>>     
>>> cp -a /mnt/* /home/
>>>       
>> I prefer rsync:
>>
>> rsync -av /mnt/ /home/
>>
>> It maintains stamps. It can be halted and restarted without copying what
>> already exists.
>>
>>     
> I thought "cp -a" preserved time stamps.  Take a look at the -p option,
> which -a includes.
>
>   
Try this.  I have used it for years.

Log out of X
Change to a tty CTL-ALT-F2
Log In as root
init 3
cd /
mkdir home1
cd home
find ./* -xdev | cpio -pdmv /home1/
umount /home
cd /
rmdir /home (it is now an empty directory)
mv /home1 /home
edit /etc/fstab to remove mounting of /dev/xxx to /home.
init 5

You should be up and running.

Ed Harrison
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to