Subject: Re: My new fdisk(8) program.
To: slick <plan_b@videotron.ca>
From: Bang Jun-Young <junyoung@mogua.com>
List: tech-userlevel
Date: 02/02/2004 23:08:34
[fdisk(8) doesn't belong to the category of toolchain, so I'm CC'ing
tech-userlevel@ instead.]
On Sun, Feb 01, 2004 at 10:12:13PM -0500, slick wrote:
> Hi,
> I decided to write a new fdisk(8) program for unix. The main goal was to be
> able to do all the MBR manipulation from the command line, to be portable
> across all unix platform using libc, to work alone, to be as small and
> simple as possible and to be easy to maintain and extend.
>
> I did it.
>
> Program:
> - do anything the exiting fdisk(8) do and even more(also more to come).
> - compiles, run and work on any sane unix platform with standard libc.
> - has no need for anything else than "/bin/sh" and "/usr/lib/libc*".
> - is 10 times smaller.
> - in pure C.
> - has no struct.
>
> I tested it, but you know I might have forget some details or even do
> things better.
>
> Please review the code, the structure, the functionality and the error
> possibility.
>
> I accept any (good and/or bad) feedback if its constructive.
Why don't you use getopt(3)?
Jun-Young