NetBSD/distrib/utils
martin 83953e5d92 Pull up following revision(s) (requested by tsutsui in ticket #1514):
distrib/atari/floppies/common/dot.profile: revision 1.9
	distrib/vax/inst-common/dot.commonutils: revision 1.6
	distrib/amiga/miniroot/dot.profile: revision 1.11
	distrib/utils/script-installer/dot.commonutils: revision 1.8
	distrib/amiga/floppies/inst-common/dot.commonutils: revision 1.9

Fix yet another "[: SMALL test, no fallback usage" error on installation.

The same problem as PR/54835 of the miniroot scripts, i.e.
avoid and replace use of -o binary primary marked obsolescent
by POSIX.1-2017:
 https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html#tag_20_12
8_16

Noticed on installation of NetBSD 9.3 on TT030, and
maybe should be pulled up to netbsd-9.

Avoid more obsolescent binary primaries not supported by crunched test(1).

See PR/54835 and PR/56983 for details.
2022-08-30 18:35:18 +00:00
..
edlabel
embedded Pull up following revision(s) (requested by jmcneill in ticket #511): 2019-12-08 14:35:10 +00:00
libhack Pull up following revision(s) (requested by martin in ticket #74): 2019-08-18 13:12:27 +00:00
more PR/50710: David Binderman: Fix memory leak. 2016-01-26 16:04:12 +00:00
script-installer Pull up following revision(s) (requested by tsutsui in ticket #1514): 2022-08-30 18:35:18 +00:00
sparkcrc
ssh
tls
x_disklabel Remove port-acorn26 2018-01-24 09:04:40 +00:00
x_ed
x_fsck_ffs Add smaller versions of fsck_ffs(8) and newfs(8) for install media, where 2017-02-08 16:11:39 +00:00
x_gzip fixed. 2018-10-26 22:28:59 +00:00
x_ifconfig define SMALLPROG 2017-05-02 20:12:10 +00:00
x_netstat
x_newfs Add smaller versions of fsck_ffs(8) and newfs(8) for install media, where 2017-02-08 16:11:39 +00:00
x_ping vax specific gcc 4.8.1 hacks 2013-11-09 21:39:27 +00:00
x_ping6 Add -DCRUNCHOPS 2015-08-07 00:37:14 +00:00
x_route Fix build of crunched "route". 2014-11-07 02:57:19 +00:00
x_umount
zcat pply zlib hack for gcc 7 here too (4th occurance!) 2019-02-06 09:17:18 +00:00
Makefile PR/50729: Izumi Tsutsui: Add "small" disklabel 2016-01-31 18:56:49 +00:00
Makefile.inc
README

README

#	$NetBSD: README,v 1.4 2002/03/25 07:39:50 lukem 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/master.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.