xref: /netbsd-src/distrib/utils/README (revision c41a4eebefede43f6950f838a387dc18c6a431bf)
1From: "Gordon W. Ross" <gwr>
2Date: Tue, 3 Oct 95 16:37:39 EDT
3Subject: New ramdisk, tiny shell, etc.
4[ edited since the original mail ]
5
6As part of my efforts to build a RAM-disk root kernel for the
7sun3 port, I've developed some things that others may want:
8
9New RAM-disk: [ see sys/dev/ramdisk.c ]
10
11New "small/tiny" tools, to replace some of the larger
12programs that one usually wants on a ramdisk root:
13
14ssh: (small shell)
15  * Consumes only about 8K of memory on an m68k!
16    (saves about 100K in the ramdisk...)
17  * Can run programs, possibly with I/O redirection
18  * Just enough to let you run the programs needed
19    while partitioning and copying miniroot to swap.
20
21tls: (tiny ls)
22  * Consumes only about 4K of memory on an m68k!
23    (saves about 10K in the ramdisk...)
24  * Long format only, nothing fancy.
25
26Also, in the new "src/distrib/utils" area, I've made build
27directories for some programs that build smaller versions,
28usually by adding special CFLAGS
29
30init_s:  (built with -DLETS_GET_SMALL)
31  * Forces single-user mode
32  * Eliminates unnecessary code
33
34libhack:   small implementation of some libc functions
35  * Needs only /etc/passwd (not pwd.db, spwd.db)
36  * Reduces size of an m68k crunched binary by about 64K
37
38x_dd:  built with -DNO_CONV (no conv=* options)
39
40x_ifconfig:  supports inet only
41
42The x_ prefix on the above is to make the names unique so
43crunchgen will not confuse them with the real sources.
44