From owner-freebsd-questions Mon Mar 22 18:52:37 1999 Delivered-To: freebsd-questions@freebsd.org Received: from jig.ordway.org (jig.ordway.org [209.98.93.103]) by hub.freebsd.org (Postfix) with ESMTP id B31551530D for ; Mon, 22 Mar 1999 18:52:35 -0800 (PST) (envelope-from cpalmer@jig.ordway.org) Received: from localhost (cpalmer@localhost) by jig.ordway.org (8.8.8/8.8.8) with ESMTP id UAA05926; Mon, 22 Mar 1999 20:51:41 -0600 (CST) (envelope-from cpalmer@jig.ordway.org) Date: Mon, 22 Mar 1999 20:51:41 -0600 (CST) From: Christopher Palmer To: Jeff Hamilton Cc: freebsd-questions Subject: Re: Change harddrives? In-Reply-To: <199903212354.SAA04344@gandolf.dhs.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 21 Mar 1999, Jeff Hamilton wrote: > The current drive is a 500 MB ide drive, and new drive will be a 1.2 GB > ide drive. I need to move / and /usr from the old drive onto the new > drive without losing any files, and preserving permissions, etc. The > slices on the new drive will be different sizes than on the old drive. > > What is the best way to go about doing this? I've used 'cp -a foo bar' to good effect before. If you treat 'tar' right (read the man page carefully), you can get similar results. Christopher Palmer Assistant Systems Administrator, Ordway Music Theatre cpalmer@jig.ordway.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message