[Gllug] Moving partitons

Jonathan Harker jharker at massey.ac.nz
Tue Nov 19 20:45:25 UTC 2002


On Wednesday 20 Nov 2002 2:48 am, Adam Bower wrote:
> mkdir /mnt/newhome
> mkdir /mnt/oldhome
> mount /dev/sdc1 /mnt/newhome
> cd /home
> find . -print0 -xdev | cpio -pdmv /mnt/newhome
> umount /home
> umount /mnt/newhome
> mount /dev/sdc1 /home
> mount /dev/sda2 /mnt/oldhome
>
> ta-daa!
>
> Adam

I did this recently, but I used cp -vdpr instead of find | cpio

-- 
Jonathan Harker
www.jonathanharker.co.uk

Some men are discovered; others are found out.


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list