|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: [PLUG] Moving /usr to a new partition properly
|
----- Original Message -----
From: "Bill Jonas" <bill@billjonas.com>
To: <plug@lists.phillylinux.org>
Sent: Thursday, November 09, 2000 11:30 PM
Subject: 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.
OK; good point. I'll remember that.
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.
> > 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. :)
Another good point. 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
|
|