be743ed36b
enter partitions offet and size. The user can chose unit independantly of the unit used for display ('M'/'c'/'s'). These functions do the proper bound checks and alignement/roudups. Used in the edfspart menu and i386 md_make_bsd_partitions() (other ports should do the change as well). - now that getpartsize() does the rigth thing, kill the swapadj hack (which was buggy anyway). - in i386 md_make_bsd_partitions(), don't propose defaults that don't fit on the disk. If the disk is too small, fallback to custom instead. - fix a bug in mbr.c, where the partition flags would not have always been reset. sysinst created me a MBR with 2 active partition. The boot code doesn't like it :) - added a message for eventual mount failures. - killed donewfs and extracting messages, as we run the commands in a subwindow these messages just flashed on the screen. - Changes a few exit(1) to return(1), to give the user a second chance. - added msg_clear() or wclear(stdscr) in a place or two, to make display a bit nicer. - in run_cmd(), if the command succeeded, don't wait for the user to press enter. |
||
---|---|---|
.. | ||
Makefile | ||
md.c | ||
md.h | ||
menus.md.eng | ||
menus.md.fr | ||
msg.md.eng | ||
msg.md.fr |