From owner-freebsd-questions Fri Oct 13 0:28:34 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.westgate.gr (zeus.westgate.gr [212.205.119.32]) by hub.freebsd.org (Postfix) with SMTP id 88BE337B503 for ; Fri, 13 Oct 2000 00:28:29 -0700 (PDT) Received: (qmail 2259 invoked from network); 13 Oct 2000 07:25:58 -0000 Received: from gray.westgate.gr (qmailr@212.205.119.66) by zeus.westgate.gr with SMTP; 13 Oct 2000 07:25:58 -0000 Received: (qmail 40430 invoked by uid 1001); 13 Oct 2000 07:28:26 -0000 Message-ID: <20001013072826.40429.qmail@gray.westgate.gr> From: "Giorgos Keramidas" Date: Fri, 13 Oct 2000 10:28:26 +0300 To: nathan Cc: "freebsd-questions@freebsd.org" Subject: Re: imaging /dev/ad* References: <39E6097B.AA15367@telecom.ksu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <39E6097B.AA15367@telecom.ksu.edu>; from beemern@telecom.ksu.edu on Thu, Oct 12, 2000 at 01:56:59PM -0500 X-PGP-Fingerprint: 3A 75 52 EB F1 58 56 0D - C5 B8 21 B6 1B 5E 4A C2 X-URL: http://students.ceid.upatras.gr/~keramida/index.html Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Oct 12, 2000 at 01:56:59PM -0500, nathan wrote: > i have a full 3 gig harddrive and i wanna put in a 15 gig to replace it > the 3 gig is dedicated to /usr only, and after moving the data over to > the new 15 gig, i'm gonna remove it permanantly. i wanna make 8 gig > outta the new 15 for /usr > > can i just do this after putting in the 15 gig? > > dd if=/dev/ad1 of=/dev/ad0 bs=8568 > > or should i create slices first THEN use dd?? > also.. if this DOES work.. does the source and dest devices have to be > the same size? You can't use dd(1) for copying data on partitions that have different sizes. For this you should use tar, or cpio, or even dump/restore. -- Giorgos Keramidas, For my public pgp2 key: finger -l keramida@diogenis.ceid.upatras.gr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message