kozaki.dev wrote: >On Mon, 12 Dec 2005 17:26:10 +0100, Dale Blount <[EMAIL PROTECTED]> wrote: > > > >>On Mon, 2005-12-12 at 08:21 -0800, Pilgrim wrote: >> >> >>>I have all of Arch installed on a single partition right now. That >>>happens to be >>>/dev/hdb8 (10GB). I would like to move the /home directory to /dev/hdb7 >>>(17GB). Both >>>are >>>formatted ext3. As I understand it, "dd", isn't the right tool for >>>this, because >>>I'm not moving a complete partition, right? So, my question is, is it >>>as simple as >>>doing a copy (cp -r /dev/hdb8/home /dev/hdb7), editing the fstab file, >>>and then >>>rebooting? >>> >>> >>> >>I'd do (cp -a /home/* /mnt/hdb7) and change fstab/reboot instead. This >>will preserve permissions and linked files too. >> >> >> > >Well a >cp -a -u -v /home /mnt/hdb7 >will do the trick smoothly while letting you check what's moving on. > >Of course you need to have created & formated hdb7, with enough space for >the operation ;) > > > sounds like an awful lot of work, i'd just mount the new disc to some random folder and mv /home/* /random/folder then add a line to the fstab to auto mount the new partition to /home
_______________________________________________ arch mailing list [email protected] http://www.archlinux.org/mailman/listinfo/arch
