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. |
||
---|---|---|
.. | ||
init_s | ||
libhack | ||
mksunbootcd | ||
more | ||
script-installer | ||
ssh | ||
sysinst | ||
tls | ||
x_dd | ||
x_ftp | ||
x_gzip | ||
x_ifconfig | ||
x_netstat | ||
x_route | ||
x_sh | ||
zcat | ||
Makefile | ||
Makefile.inc | ||
README |
# $NetBSD: README,v 1.3 1998/01/09 18:56:56 perry Exp $ From: "Gordon W. Ross" <gwr> Date: Tue, 3 Oct 95 16:37:39 EDT Subject: New ramdisk, tiny shell, etc. [ edited since the original mail ] As part of my efforts to build a RAM-disk root kernel for the sun3 port, I've developed some things that others may want: New RAM-disk: [ see sys/dev/ramdisk.c ] New "small/tiny" tools, to replace some of the larger programs that one usually wants on a ramdisk root: ssh: (small shell) * Consumes only about 8K of memory on an m68k! (saves about 100K in the ramdisk...) * Can run programs, possibly with I/O redirection * Just enough to let you run the programs needed while partitioning and copying miniroot to swap. tls: (tiny ls) * Consumes only about 4K of memory on an m68k! (saves about 10K in the ramdisk...) * Long format only, nothing fancy. Also, in the new "src/distrib/utils" area, I've made build directories for some programs that build smaller versions, usually by adding special CFLAGS init_s: (built with -DLETS_GET_SMALL) * Forces single-user mode * Eliminates unnecessary code libhack: small implementation of some libc functions * Needs only /etc/passwd (not pwd.db, spwd.db) * Reduces size of an m68k crunched binary by about 64K x_dd: built with -DNO_CONV (no conv=* options) x_ifconfig: supports inet only The x_ prefix on the above is to make the names unique so crunchgen will not confuse them with the real sources.