From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: Move system
Date: Thu, 13 May 1999 22:18:08 -0600 (MDT) [thread overview]
Message-ID: <199905140418.WAA13046@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <Pine.LNX.4.04.9905132316080.22823-100000@albert.critical.net> from "mgraffam@idsi.net" at May 13, 99 11:22:40 pm
mgraffam@idsi.net wrote:
>
> Just recursively copy everything. Mount the new disk on /mnt and cp -R
> everything except mnt in /.
Careful! 'cp -R' will change time-stamps, expand links and things like
that. You really want 'cp -a' which happens to be the same as 'cp -dpR'.
Actually you may even want 'cp -ax', depending on your layout, although
you will have to repeat that for every file system separately.
You definitely _do not_ want to copy a contents of /proc. :-)
'cp --help' will tell you more even without looking at cp docs;
and there are some other ways to copy full file systems even
if only less capable 'cp' is available ('cpio' is an old stand-by,
for example).
Michal
next prev parent reply other threads:[~1999-05-14 4:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-05-14 2:41 Move system Dan O'Reilly
1999-05-14 3:22 ` mgraffam
1999-05-14 4:18 ` Michal Jaegermann [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-05-14 4:07 Tom King
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