Michael Leone on Fri, 10 Nov 2000 13:29:40 -0500 (EST)


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

Re: [PLUG] Moving /usr to a new partition properly


From: "Barry Spindler" <archmage@i-o-r.net>

> After formatting and mounting the new partition do
>
> cp -a /usr/* /mnt/new_part
>
> This will copy all files (and directories) under /usr, preserving
> permissions, ownership, and symlinks. Then umount the new partition.

Ah. Didn't know about that switch; thanks.

> Change fstab to point the new partition to /usr, move /usr out of the way,

By "move /usr out of the way", I presume you mean something like "mv /usr
/old_usr"?

> and mount the new partition to /usr. That should be it.. you shouldn't
have
> reboot for this :)

Thanks.



______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug