Re: Elks Distribution

Riley Williams
2002-05-26T08:00:25Z

Hi Neil.

> I will, indeed, look very closely at your remarks as I move forward.
> I am particularly interested by the partition.c.

If you're using ash as your install shell, you should be able to use the
following script...

#!/bin/ash

:

fdisk /dev/bda
TGT=$(partype 80)

...and, from this point, you just use ${TGT} as the target partition.
I can't test this at the moment as I'm not near a suitable system, so
the above is pure theory at this point. However, memory says that sash
does not support the necessary facilities.

Also note that if we move to /dev/hda instead of /dev/bda then only the
fdisk line needs changing, and the rest of the code will work as is.

Best wishes from Riley.