On Tuesday 01 August 2006 19:10, Ken Schneider wrote:
On Tue, 2006-08-01 at 09:53 -0600, Darryl Gregorash wrote:
On 01/08/06 09:45, Darryl Gregorash wrote:
logout all users login as root mv /home /oldhome make /etc/fstab entry for /home mount /home move contents of /oldhome to /home delete /oldhome and contents (rm -R /oldhome, IIRC)
Oops, to preserve permissions, links, etc more easily, "move contents of /oldhome to /home" should be:
cp --preserve /oldhome/* /home
rsync -ar works a treat and preserves owner/modes.
Hi Ken Yep, that's what I used frequently when preparing to move from my old 80Gb to the new 250Gb drive. Worked a treat and was intelligent enough not to synch every file every time. Took a bit of time on the initial synch, then I could take my time and, when comfortable with the contents of the new disk, do a final switchover. Pretty painless. Cheers Pete