From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
Subject: Re: several questions...
Date: Sun, 1 Dec 1996 15:07:54 -0700 (MST) [thread overview]
Message-ID: <199612012207.PAA02958@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <Pine.LNX.3.95.961201203053.4627C-100000@astro1.ce.uevora.pt>
>
>
>
> 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
next parent reply other threads:[~1996-12-01 22:07 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.3.95.961201203053.4627C-100000@astro1.ce.uevora.pt>
1996-12-01 22:07 ` Michal Jaegermann [this message]
1996-12-01 22:43 ` several questions Fritz Ganter
1996-12-01 22:51 ` Anthony Wesley
1998-04-09 23:21 Several questions Jeremy R. Potempa
1998-04-09 23:54 ` Harvey J. Stein
-- strict thread matches above, loose matches on Subject: below --
1996-12-02 4:17 several questions Przemek Klosowski
1996-12-02 9:45 ` Fritz Ganter
[not found] <Pine.LNX.3.95.961201151315.30294B-100000@balintrc.gardens.udayton.edu>
1996-12-01 23:43 ` Gerard Roudier
[not found] <199612012042.MAA00913@gerbil.aod.com>
1996-12-01 22:16 ` Michal Jaegermann
1996-12-01 20:42 bruce a. campbell
[not found] <Pine.LNX.3.95.961201210704.2273B-100000@rebekka.tu-graz.ac.at>
1996-12-01 20:31 ` Miguel Avillez
[not found] <Pine.LNX.3.95.961201184918.4627A-100000@astro1.ce.uevora.pt>
1996-12-01 20:09 ` Fritz Ganter
1996-12-01 20:15 ` Woodstock
[not found] <Pine.BSI.3.95.961130113125.17560A-100000@gloria.cord.edu>
1996-12-01 18:52 ` Miguel Avillez
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox