On Thu, Oct 04, 2001 at 07:55:04AM -0400, Tom Oehser wrote:
>
> The thing is that fdisk already can take input in a script (ugly, like:
>
> fdisk <<!
> n
> p
> 1
> 1
> 10
> w
> !
>
> ) so, what is really needed, is a Lua program that will dump from fdisk -l
> output into ugly fdisk input format. I think that fdisk definitely wins
> over sfdisk and/or cfdisk for the 'one' to include on the real tomsrtbt,
> but it does have this gap.
>
> Didn't someone already write such a thing for perl? It shouldn't be too
> hard to make one in Lua.
I did. See http://w3.trib.com/~ccurley/bare.metal.html for the gory
details. M. Tavasti will want the script "make.fdisk" available on
that page. He/she/it may also want the rest of the package. Note that
the backup and script creation scripts (including make.fdisk) operate
on the system being backed up. I did not intend them to run on
tomsrtbt, and make.fdisk, being perl, will not run on tomsrtbt.
--
-- C^2
The world's most effective anti-virus software: Linux.
Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
PGP signature