[EMAIL PROTECTED] wrote:
> 

> > # mv /var /old_var ; mv /new_var /var
> 
> NO, NO, NO, NO, NO!!!!!
> 
> Do NOT use mv!!!!!  This will change the ownership and protection rights
> of the files.  That could be very, very bad and will most certainly break
> something.

Oops. I missed out:
First make a perfect copy of /var in another partition mounted on /new_var
using tar, cp, cpio or whatever,
Then swap them as described using mv.

However, your approach seems a little more robust :-)

I'll shut up now.
Andrew
-- 
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=45690

Reply via email to