Ben Pfaff <pfaffben@pilot.msu.edu> writes:
> I took the sources to cfdisk.c, ripped all the user interface code
> out, and replaced it with code that essentially does the following:
You should try using sfdisk instead for things like this. It's the
best of {s,c,}fdisk, but it has no frontend.
Guy