From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 15041 invoked from network); 14 May 1999 04:54:39 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 14 May 1999 04:54:39 -0000 Received: from ellpspace.math.ualberta.ca (michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id AAA24751 for ; Fri, 14 May 1999 00:18:11 -0400 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id WAA13046 for axp-list@redhat.com; Thu, 13 May 1999 22:18:08 -0600 From: Michal Jaegermann Message-Id: <199905140418.WAA13046@ellpspace.math.ualberta.ca> Subject: Re: Move system To: axp-list@redhat.com Date: Thu, 13 May 1999 22:18:08 -0600 (MDT) In-Reply-To: from "mgraffam@idsi.net" at May 13, 99 11:22:40 pm Content-Type: text 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