From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 28999 invoked from network); 30 Jan 1999 21:54:26 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 30 Jan 1999 21:54:26 -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 QAA30883 for ; Sat, 30 Jan 1999 16:49:02 -0500 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id OAA09044 for axp-list@redhat.com; Sat, 30 Jan 1999 14:48:57 -0700 From: Michal Jaegermann Message-Id: <199901302148.OAA09044@ellpspace.math.ualberta.ca> Subject: Re: a scripted fdisk ??? To: axp-list@redhat.com Date: Sat, 30 Jan 1999 14:48:57 -0700 (MST) In-Reply-To: <5518FE2C95E6D111B1A500104B72113B024E291B@alfexc8.alf.dec.com> from "Bob Segrest" at Jan 29, 99 11:38:48 am Content-Type: text > > One task I have not figured out is how to automatically create the initial > disk label. I know how to manually do this with fdisk, but I don't want to > do this several hundred times. You can find on net archives 'sfdisk'. This one can be driven from a file with commands and data. It is actually more flexible and capable than fdisk but its interface is a bit cryptic. :-) I have no idea if 'sfdisk' is still maintained, if its code if 64 bit clean and if it knows now anything about disk labels. Last time I used it it was definitely writing only partition tables. If these things are missing it likely should not be very hard to update its code by "borrowing" from the current fdisk. > Does anyone know of a tool that can write the disklabel without manual > intervention ??? If you are really talking about disklabel then did you check 'minlabel'? Its counterpart from DU definitely can do what you ask. Michal