From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 12027 invoked from network); 1 Feb 1999 18:04:52 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 1 Feb 1999 18:04:52 -0000 Received: from carrera-fw.carrera.com (carrera-fw.carrera.com [207.71.84.14]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id MAA02308 for ; Mon, 1 Feb 1999 12:58:37 -0500 Received: from carrera-fw.Carrera.com [207.71.84.14] (HELO localhost) by carrera-fw.carrera.com (AltaVista Mail V2.0J/2.0J BL25J listener) id 0000_004b_36b6_218d_fa18; Mon, 01 Feb 1999 13:50:05 -0800 From: Marek To: axp-list@redhat.com Subject: Re: a scripted fdisk ??? Date: Mon, 1 Feb 1999 09:51:21 -0800 X-Mailer: KMail [version 1.0.9] Content-Type: text/plain References: <199902011737.KAA13385@ellpspace.math.ualberta.ca> MIME-Version: 1.0 Message-Id: <99020109545003.04988@Marek2> Content-Transfer-Encoding: 8bit One easy way to use fdisk is to make a file with the values and have fdisk take the values from the file. For instance, lets say you have 2 partitions on your disk.. you can do something like this in a text file n p 1 1 +1000m n p 2 256 +1000m w Of course the cylinder values are just out of my head and not real, just to prove the point. Name the file something like values and do fdisk < values. quick and dirty :) On Mon, 01 Feb 1999, Michal Jaegermann wrote: >jeff wrote: >> >> if they are the same type of harddisk, why not use dd to copy the first to >> the others? > >This sounds like a pretty risky proposition. Various the same type >disks may be not really exactly the same because a production process >is not perfect. Few sectors here, few sectors there.... > >Also running the first time mke2fs, or mkswap, without -c flag will >likely work nearly always - untill you will **really** need that >disk right away. :-) > > --mj > >-- >To unsubscribe: send e-mail to axp-list-request@redhat.com with >'unsubscribe' as the subject. Do not send it to axp-list@redhat.com -- ELF