Bill Jonas on Thu, 9 Nov 2000 23:30:48 -0500 (EST)


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

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


On Thu, Nov 09, 2000 at 11:08:56PM -0500, Barry Spindler wrote:
> 	cp -a /usr/* /mnt/new_part

Actually, I'd say just leave the * off.  If there are any dot-files, it
would miss them.

> This will copy all files (and directories) under /usr, preserving 
> permissions, ownership, and symlinks. Then umount the new partition.
> Change fstab to point the new partition to /usr, move /usr out of the way,
> and mount the new partition to /usr. That should be it.. you shouldn't have
> reboot for this :)

IMO, it'd be wise to switch to single-user mode first.  :)

-- 
Bill Jonas                | "If you haven't gotten where you're going,
bill@billjonas.com        |  you aren't there yet." --George Carlin
http://www.billjonas.com/ |  http://www.harrybrowne.org/


______________________________________________________________________
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