Date: Mon, 16 Sep 1996 02:50:26 -0700 From: "Jordan K. Hubbard" <jkh@time.cdrom.com> To: Darryl Okahata <darrylo@hpnmhjw.sr.hp.com> Cc: hackers@freefall.freebsd.org Subject: Re: fdisk changes, anyone? Message-ID: <20503.842867426@time.cdrom.com> In-Reply-To: Your message of "Mon, 16 Sep 1996 00:12:43 PDT." <199609160712.AA113897963@hpnmhjw.sr.hp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> I've just mangled fdisk such that partitioning information can now > be specified via an optional config file. I've been needing a way to > partition a disk from a script (without using expect), and so I mangled > fdisk to do just that. I want to write a perl script for adding SCSI > disks, and a programmatic fdisk was the only piece missing. An example > config file is: Wouldn't it be more flexible to add this as command-line parsing for fdisk? I like the idea, but making it use a config file means that anything driving fdisk programmatically needs to use a temp file, rather than simply forming a complex fdisk commmand and passing it to system(). Jordan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20503.842867426>