[BusyBox] 9KB fdisk style program

Glenn McGrath bug1 at optushome.com.au
Sun Dec 17 12:40:29 UTC 2000


Today i hacked together a small fdisk style program that im calling
lfdisk (l for lame or lightweight).

I had previously tried to write such a program but got bogged down with
all the obsolete cylinder/heads/sectors translations. This time i just
completly ignored CHS, it does mean that partitions are created 
"non-aligned", but i dont think thats really important for anything is
it ? It works

The only OS specific code in it is to re-read the partition table.

It compiles to 9KB, sfdisk is 45KB, so its probably best for most people
to use the proper version unless they are really in a pinch.

If anyone is interested in checking out what ive done let me know and
ill send them a copy.


Glenn





More information about the busybox mailing list