NetBSD/distrib/utils
jonathan 17aa1054d7 Add more target_wrapper functions, to do
* renames of files from one pathname within the  target to another
    (e.g., mv_within_target_or_die("/etc", "/etc.old");
  *  check to see  if a partition name like "sd0a" is the current root
  *  Duplicate a file from the current root into the target root
     (for copying /netbsd from RAMdisk into the  target).
     A no-op if the root is the install target).
Start using these where appropriate.

Change net.c to avoid losing any information when updating network
config files: where possible, do appends to files that might have more
info than we got from the user (e.g., /etc/hosts.)

Where possible, add comment saying file was created/modified by sysinst.
1997-11-02 23:43:11 +00:00
..
init_s use CPPFLAGS instead of CFLAGS 1997-10-22 01:42:36 +00:00
libhack merge in 1.2 branch 1996-10-09 00:13:36 +00:00
script-installer improve the net interface config stuff 1997-08-15 23:03:57 +00:00
ssh
sysinst Add more target_wrapper functions, to do 1997-11-02 23:43:11 +00:00
tls
x_dd use CPPFLAGS instead of CFLAGS 1997-10-22 02:11:56 +00:00
x_ifconfig use CPPFLAGS instead of CFLAGS 1997-10-22 02:11:56 +00:00
x_route use CPPFLAGS instead of CFLAGS 1997-10-22 02:20:09 +00:00
zcat use CPPFLAGS instead of CFLAGS 1997-10-22 02:20:09 +00:00
Makefile Minor cleanup 1995-10-13 18:10:06 +00:00
Makefile.inc Replace BSDSRCDIR use with relative paths. 1996-03-27 04:48:28 +00:00
README Minor cleanup 1995-10-13 18:10:06 +00:00

README

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.