[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Copy entire /usr



On Fri, Sep 12, 2008 at 08:36:58AM +0100, Paulo Silva wrote:
 
> You can umount the old /usr and move the new directory to it's place:
> 
> # rsync -av /usr/ /newusr/
> # umount /usr
> # rmdir /usr
> # mv /newusr /usr

Or more quickly, after changing /etc/fstab, deleting the /usr mount:

# rsync -av /usr/ /newuser/

next, on one line:

# umount /usr && rmdir /usr && mv /newuser /usr

Regards,
Dave

-- 

Nonthaburi, Thailand
People disagree with me.  I just ignore them.
  -- Linus Torvalds, regarding the use of C++ for the Linux kernel

Attachment: signature.asc
Description: Digital signature


Reply to: