fdisk actually seems to be pretty well behaved if you wanted to automate
it. For example:
fdisk<<!
p
x
p
r
d
1
d
2
d
3
d
4
n
p
1
1
+100M
t
1
83
p
q
!
does what you would expect. Not the prettiest input, and not exactly what
"fdisk -l" outputs, but it might be pretty easy to make an "fdisk -l"
output to "fdisk ugly stdin" converter in awk. Even a pretend-sfdisk
using awk and fdisk. Ugly bug small...
-Tom
On Thu, 9 Sep 1999, Frank Mueller wrote:
> Date: Thu, 9 Sep 1999 19:23:51 +0200 (CEST)
> From: Frank Mueller <[EMAIL PROTECTED]>
> To: Tom Oehser <[EMAIL PROTECTED]>
> Subject: Re: sfdisk
>
> Thanks for the fast response. I see your points and went with a customized
> version. I don't need(like) emacs, so there is enough space to put sfdisk
> additionally ont the floppy. Customization was pretty easy. The biggest
> problem was finding a sfdisk for libc5.
>
> Thanks again for your help and of course the nice distribution
>
> Frank
> =====================================================================
> Dr. Frank Mueller
> Max-Planck-Institut fuer Mikrostrukturphysik
> Weinberg 2, 06120 Halle (Saale), Germany
> Phone: +49-345-5582-725 Fax: +49-345-5511223
> email: [EMAIL PROTECTED]
> =====================================================================
>