From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199612012207.PAA02958@ellpspace.math.ualberta.ca> Date: Sun, 1 Dec 1996 15:07:54 -0700 (MST) From: Michal Jaegermann Subject: Re: several questions... In-Reply-To: > > > > On Sun, 1 Dec 1996, Fritz Ganter wrote: > > > On Sun, 1 Dec 1996, Miguel Avillez wrote: > > > > > > > > > > > 2. I have new disk and want to mv filesystems to that disk. Say I want to > > > move / from the old disk to the new one. How do I do it? > > > > > I asume you have the new disk on /mnt, then do: > > > > cd / > > tar -cf - . |(cd /mnt;tar -xvf -) > > > > Does this conserves simbolic links? It does, but it will loose some information. You rather need '-xpf' on extract. Also this will try to copy /proc and a mount point. Bad move! 'tar -C / -clf - . | tar -C /mnt -xpf -' will work nicer, but 'cp -a' will be simpler and works just fine (exclude /proc and a mout point from things to copy and do 'mkdir proc' on a top of your new file system before mounting it). Michal -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com