fdisk implementation

Sascha Wildner saw at online.de
Wed Dec 17 00:18:45 PST 2008


Jost Tobias Springenberg schrieb:
I have started to review the code and will begin to implement this after one more week of
other work to be done. Usually I am not a big fan of announcing such a simple project before it is done
but I imagine some of you might have their objections / additions to the list I compiled here.
If you happen to be such a someone feel free to reply to this post.
Hi, just some thoughts:

I don't think the interactive mode should be curses based. Curses tools, 
while looking great to the new user, have all kinds of disadvantages 
(not script(1)-able, mess up my terminal window etc.) for more 
experienced users. OTOH, non-curses tools do not necessarily have to be 
newbie-unfriendly. It's just that the fdisk(8) interactive mode sucks.

For example, a simple interactive mode on the command line could also be 
done like:

> add s2 <start> <end>
> delete s4
(omit <start> and <end> e.g. to make it take up maximum space between s1 
 and s3)

I've always liked most the interface of Plan 9's nice little 
partitioning tool (http://plan9.bell-labs.com/magic/man2html/8/prep).

But hey, it's just my personal opinion. If you make something newbie 
friendly, don't make it old-bie unfriendly. :)

Sascha

--
http://yoyodyne.ath.cx




More information about the Users mailing list