Date: Fri, 13 Oct 2000 10:28:26 +0300 From: "Giorgos Keramidas" <keramida@westgate.gr> To: nathan <beemern@telecom.ksu.edu> Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: imaging /dev/ad* Message-ID: <20001013072826.40429.qmail@gray.westgate.gr> In-Reply-To: <39E6097B.AA15367@telecom.ksu.edu>; from beemern@telecom.ksu.edu on Thu, Oct 12, 2000 at 01:56:59PM -0500 References: <39E6097B.AA15367@telecom.ksu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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, <keramida@ceid.upatras.gr> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001013072826.40429.qmail>