Home | History | Annotate | only in /src/distrib/sparc64/instfs
History log of /src/distrib/sparc64/instfs
RevisionDateAuthorComments
 1.19 23-Jul-2025  christos bump for clang/llvm
 1.18 17-Jan-2025  martin PR 59001: bump ramdisk images size slightly for clang builds
 1.17 09-Jan-2025  martin Bump ramdisk size to deal with bigger image for new pppd
 1.16 01-Nov-2011  martin branches: 1.16.56;
Enable INET6 in the installer
 1.15 10-Jul-2011  mrg sparc64 with GCC 4.5 has about a 2% code bloat, unfortunately.

bump the instfs size to 9MB.
 1.14 12-Mar-2010  martin Provide full terminfo.db on install media
 1.13 07-Apr-2009  joerg Change ramdisks from dhclient to dhcpcd and add corresponding glue to
sysinst. For amd64, the crunchgen binary shrinks by 150KB uncompresssed,
60KB compressed.
 1.12 22-Nov-2006  martin branches: 1.12.18; 1.12.28;
Remove CRUNCHGEN_FLAGS, probably left over from a previous hack to work
around bugs in an older compiler. Nowadays the default -Os works fine.
 1.11 04-Oct-2002  martin Do not use -Os when compiling small programs for the miniroot or
install kernel ramdisk image. It triggers some toolchain bug and
causes for example ifconfig to not display inet addresses.
 1.10 08-May-2002  lukem branches: 1.10.2;
fix size of images
(i reduced them during testing and they worked then, but not when i
did a full make release. weird...)
 1.9 07-May-2002  lukem major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
- install.fs: to mdset into netbsd.INSTALL
- inst.tgz: contents of install.fs
- miniroot.fs: install.fs + gzipped GENERIC kernel. created using a
copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
 1.8 02-May-2002  lukem yet another distrib overhaul:
- move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib
(fixes problem caused by implicit include of ../Makefile.inc in certain
submake conditions triggered by makefiles not yet in tree)
- removed mkdir of ${RELEASEDIR}/*; rely upon "snap_pre" target of
etc/Makefile to create all the release directories
- renamed RELINSTALL to RELEASE_INSTALL
- renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR
- renamed MDSETDIR to MDSET_RELEASEDIR
- removed ITARGET
- move release target from top level to appropriate subdirectory
- ensure release target has correct depends
- replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD
- Makefile.image: add realall: ${IMAGE}
 1.7 25-Mar-2002  lukem use check_RELEASEDIR
 1.6 05-Mar-2002  thorpej Make sure <bsd.own.mk> is pulled in before ${PRINTOBJDIR} is used.
 1.5 05-Mar-2002  thorpej Use ${PRINTOBJDIR}.
 1.4 20-Jan-2002  mrg convert sparc64 to use `makefs' rather than vnd/newfs/mount. this severely
cleans up a lot of the processing here.


XXX: note that the sparc64 "INSTALL" kernel's file system has a copy of
GENERIC in /netbsd. fix this shortly.
 1.3 28-Dec-2001  mason vnconfig called incorrectly - it wants either a simple "vnd0" or a full path
to a raw device, not a full path to a cooked device.
 1.2 23-Aug-2001  mrg install the netbsd.INSTALL kernel into the release area as well.
 1.1 23-Aug-2001  mrg build an "instfs" which can be untarred for complete netboot installs.
 1.10.2.1 13-Oct-2002  lukem Pull up revision 1.11 (requested by martin in ticket #903):
Do not use -Os when compiling small programs for the miniroot or
install kernel ramdisk image. It triggers some toolchain bug and
causes for example ifconfig to not display inet addresses.
 1.12.28.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.12.18.1 05-Oct-2008  mjf Sync with HEAD.
 1.16.56.1 02-Aug-2025  perseant Sync with HEAD
 1.13 24-Jan-2017  christos += for MAKEFS_FLAGS
 1.12 11-Feb-2010  roy branches: 1.12.30; 1.12.34;
Remove terminfo.db as it's now embedded in libterminfo.
 1.11 05-Feb-2010  roy Use the rescue terminfo.db in our images instead of termcap.
 1.10 20-Sep-2009  abs 34 different termcap subsets, plus a couple of ports still using
the full termcap distfile. In an attempt to reduce the madness
switch everyone (except the i386 cd install which does its own
thing) to the same (under 8K) termcap subset:

ansi ansi/pc-term compatible with color
dumb|unknown 80-column dumb tty
hp300h HP Catseye console
iris-ansi-ap IRIS ANSI in application-keypad mode
iris-ansi|iris-ansi-net IRIS emulating 40 line ANSI terminal (almost VT100)
sun|sun1|sun2|sun-il Sun Microsystems Inc. console with working insert-line
vt100|vt100-am DEC VT100 (w/advanced video)
vt220-8 DEC VT220 8 bit terminal
vt220|vt200|vt300 DEC VT220 in vt100 emulation mode
wsvt25 NetBSD wscons in 25 line DEC VT220 mode
wsvt25m NetBSD wscons in 25 line DEC VT220 mode with Meta
x68k|x68k-ite NetBSD/x68k ITE
xterm|vs100 xterm terminal emulator (X Window System)

Trying to provide similar functionality across all ports? It'll never
catch on...
 1.9 20-Sep-2009  abs Nothing needs disktab anymore, so we'd rather have an inode and
slightly over 1K of space on install media...
 1.8 20-Sep-2009  abs ${NETBSDSRCDIR}/distrib/common/protocols => ${DISTRIBDIR}/common/protocols
${NETBSDSRCDIR}/distrib/common/services => ${DISTRIBDIR}/common/services
 1.7 25-Jan-2009  abs Use the cutdown distrib/common/services and distrib/common/protocols
rather than the full fat etc versions
 1.6 10-May-2007  dogcow branches: 1.6.12;
Since /etc/services has gotten rather large, use a minimal one for install
kernels. (mount_nfs is notably the only binary that doesn't gracefully deal
with the lack of an /etc/services file, it appears.)
 1.5 18-Aug-2006  martin It is "MAKEDEV bpf" nowadays
 1.4 19-Sep-2003  martin branches: 1.4.6; 1.4.12;
Now that -Os is save again, use it.
 1.3 04-Oct-2002  martin Do not use -Os when compiling small programs for the miniroot or
install kernel ramdisk image. It triggers some toolchain bug and
causes for example ifconfig to not display inet addresses.
 1.2 01-Jun-2002  lukem fix problems noted by Love <lha@stacken.kth.se> on current-users@ :
- add bpf0 to MAKEDEVTARGETS
- set dhclient-script and binstall perms to 555
 1.1 07-May-2002  lukem branches: 1.1.2;
major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
- install.fs: to mdset into netbsd.INSTALL
- inst.tgz: contents of install.fs
- miniroot.fs: install.fs + gzipped GENERIC kernel. created using a
copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
 1.1.2.2 13-Oct-2002  lukem Pull up revision 1.3 (requested by martin in ticket #903):
Do not use -Os when compiling small programs for the miniroot or
install kernel ramdisk image. It triggers some toolchain bug and
causes for example ifconfig to not display inet addresses.
 1.1.2.1 02-Jun-2002  tv Pull up revision 1.2 (requested by lukem in ticket #127):
fix problems noted by Love <lha@stacken.kth.se> on current-users@ :
- add bpf0 to MAKEDEVTARGETS
- set dhclient-script and binstall perms to 555
 1.4.12.1 21-Aug-2006  tron Pull up following revision(s) (requested by martin in ticket #37):
distrib/sparc64/instfs/Makefile.instfs: revision 1.5
It is "MAKEDEV bpf" nowadays
 1.4.6.1 16-Sep-2006  ghen Pull up following revision(s) (requested by martin in ticket #1508):
distrib/sparc64/instfs/Makefile.instfs: revision 1.5
It is "MAKEDEV bpf" nowadays
 1.6.12.1 05-Oct-2008  mjf Sync with HEAD.
 1.12.34.1 21-Apr-2017  bouyer Sync with HEAD
 1.12.30.1 20-Mar-2017  pgoyette Sync with HEAD
 1.3 20-Sep-2009  abs Nothing needs disktab anymore, so we'd rather have an inode and
slightly over 1K of space on install media...
 1.2 19-Apr-2004  wiz branches: 1.2.26;
Spell removable with only two es. Inspired by jmc@openbsd.
 1.1 07-May-2002  lukem major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
- install.fs: to mdset into netbsd.INSTALL
- inst.tgz: contents of install.fs
- miniroot.fs: install.fs + gzipped GENERIC kernel. created using a
copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
 1.2.26.1 05-Oct-2008  mjf Sync with HEAD.
 1.9 26-Feb-2020  riastradh kernfs no longer needs a hacky workaround to make rootdev appear.
 1.8 09-Jan-2020  martin PR install/54780: in the (of course totally unlikely) case that sysinst
should crash, run "stty sane".
 1.7 03-Jun-2012  joerg branches: 1.7.34; 1.7.36;
Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to
depend on new devname_r(3) as heart. Add /dev/pts magic directly to
devname(3). While it can lead to returning non-existing paths, the
behavior is more consistent that way. Drop caching layer in devname(3),
it doesn't buy anything for the common case of having access to the
database. Teach devname(3) proper fallback behavior of scanning /dev.
Create both old-style and new-style database for now in /etc/rc.d/sysdb.
 1.6 17-Apr-2011  martin branches: 1.6.4; 1.6.6;
On install CDs: make ^C and ^Z work (mostly) as they used to do on
crunched/ramdisk install media again.
Fixes the remaining parts of PR 44738.
 1.5 13-Mar-2010  martin Simplify the console type check by passing -nx to sysctl. Pointed out
by Alan Barrett.
 1.4 12-Mar-2010  martin Use sysctl kern.consdev to check wether we use ttyE* as console - in that
case just set up TERM as needed and go straight to sysinst. Otherwise
give a slightly verbose explanation (with common sample values) and
ask for TERM before running sysinst.
 1.3 26-Jul-2003  salo branches: 1.3.32;
netbsd.org->NetBSD.org
 1.2 08-Oct-2002  martin Add sun-type4 termcap entry and print a hint to change TERM to this
if using a Type 4 keyboard.
 1.1 07-May-2002  lukem major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
- install.fs: to mdset into netbsd.INSTALL
- inst.tgz: contents of install.fs
- miniroot.fs: install.fs + gzipped GENERIC kernel. created using a
copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
 1.3.32.1 05-Oct-2008  mjf Sync with HEAD.
 1.6.6.1 23-Jun-2012  riz Pull up following revision(s) (requested by joerg in ticket #328):
lib/libc/gen/devname.c: revision 1.22
distrib/sparc64/instfs/dot.profile: revision 1.7
distrib/i386/cdroms/install.sh: revision 1.3
tests/lib/libcurses/director/director.c: revision 1.10
lib/libc/include/reentrant.h: revision 1.15
distrib/amd64/cdroms/install.sh: revision 1.3
tests/include/t_paths.c: revision 1.12
share/man/man7/hier.7: revision 1.101
etc/rc.d/sysdb: revision 1.24
include/stdlib.h: revision 1.99
tests/lib/libcurses/Makefile: revision 1.3
distrib/sparc64/cdroms/installcd/install.sh: revision 1.3
distrib/i386/cdroms/Makefile.cdrom: revision 1.27
lib/libc/gen/ttyname.c: revision 1.25
usr.bin/tic/Makefile: revision 1.2
tools/compat/Makefile: revision 1.57
lib/libterminfo/compile.c: revision 1.7
lib/libc/gen/ttyname.c: revision 1.26
lib/libterminfo/compile.c: revision 1.8
tools/compat/Makefile: revision 1.59
tools/compat/cdbw.h: revision 1.1
distrib/i386/installimage/install.sh: revision 1.2
lib/libc/include/namespace.h: revision 1.154
usr.bin/tic/tic.c: revision 1.13
usr.bin/tic/tic.c: revision 1.14
usr.bin/tic/tic.c: revision 1.15
distrib/sets/lists/base/mi: revision 1.996
usr.bin/tic/tic.c: revision 1.16
usr.sbin/dev_mkdb/dev_mkdb.8: revision 1.13
usr.bin/tic/tic.c: revision 1.17
usr.bin/tic/tic.c: revision 1.18
tools/compat/cdbr.h: revision 1.1
distrib/sparc64/instfs/list: revision 1.25
usr.bin/tic/tic.c: revision 1.19
lib/libc/cdb/cdbw.c: revision 1.4
lib/libc/cdb/cdbw.3: revision 1.4
lib/libc/cdb/cdbw.3: revision 1.5
share/terminfo/Makefile: revision 1.3
usr.sbin/dev_mkdb/dev_mkdb.c: revision 1.29
usr.sbin/dev_mkdb/Makefile: revision 1.8
lib/libc/gen/ttyname.3: revision 1.23
lib/libc/gen/ttyname.3: revision 1.24
lib/libc/cdb/cdbr.c: revision 1.3
include/cdbw.h: revision 1.2
distrib/sparc64/cdroms/installcd/Makefile: revision 1.15
lib/libc/gen/devname.3: revision 1.12
tools/compat/compat_defs.h: revision 1.85
tools/compat/compat_defs.h: revision 1.86
lib/libterminfo/term_private.h: revision 1.10
lib/libterminfo/term.c: revision 1.14
usr.bin/tic/tic.1: revision 1.10
lib/libterminfo/term.c: revision 1.15
lib/libterminfo/Makefile.hash: revision 1.5
lib/libterminfo/term.c: revision 1.16
distrib/amd64/installimage/install.sh: revision 1.2
share/man/man5/rc.conf.5: revision 1.152
distrib/sets/lists/tests/mi: revision 1.472
distrib/amd64/cdroms/Makefile.cdrom: revision 1.7
include/paths.h: revision 1.41
bin/ps/ps.1: revision 1.101
lib/libterminfo/terminfo.5.in: revision 1.16
usr.bin/tic/tic.c: revision 1.20
lib/libterminfo/terminfo.5.in: revision 1.17
Prefer __printflike.
Use queue(3)
Replace linear lookup with hash table, reducing runtime by 60%.
Use e* from util.h.
One more strdup -> estrdup.
Maintain nalias and nterm on the fly.
Add void for ttyslot prototype.
Use memcmp in place of strncmp, since length is known to no longer than
either of the arguments.
Fix a number of memory leaks. Keep final loop of the cleanup in tic(1)
under #ifdef __VALGRIND__ though.
Add __predict_true / __predict_false definitions.
Add a special seeder for cdbw_output that gives stable results.
Hook up cdbw(3) for the tool build.
Prototype for cdbw_stable_seeder.
Provide a usable thr_once for !_REENTRANT
Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to
depend on new devname_r(3) as heart. Add /dev/pts magic directly to
devname(3). While it can lead to returning non-existing paths, the
behavior is more consistent that way. Drop caching layer in devname(3),
it doesn't buy anything for the common case of having access to the
database. Teach devname(3) proper fallback behavior of scanning /dev.
Create both old-style and new-style database for now in /etc/rc.d/sysdb.
Switch terminfo(3) to cdb(5).
Fix typos.
Make Alan Barrett happy and add ().
Add cdbr(3) support to tools/compat.
Bump date for previous.
Relax consistency to make it possible to match valid entries.
Prefix devname's buffer with /dev/ as ttyname is supposed to return the
full path. Reported by Dave Huang.
 1.6.4.1 30-Oct-2012  yamt sync with head
 1.7.36.1 28-Jan-2020  msaitoh Pull up following revision(s) (requested by martin in ticket #669):
distrib/playstation2/miniroot/dot.profile: revision 1.5
distrib/sparc64/instfs/dot.profile: revision 1.8
distrib/hpcarm/miniroot/dot.profile: revision 1.3
distrib/emips/miniroot/dot.profile: revision 1.2
distrib/x68k/floppies/ramdisk/dot.profile: revision 1.16
distrib/zaurus/ramdisk/dot.profile: revision 1.4
distrib/i386/ramdisks/common/dot.profile: revision 1.7
distrib/cobalt/ramdisk/dot.profile: revision 1.2
distrib/hpcsh/miniroot/dot.profile: revision 1.5
distrib/evbarm/instkernel/ramdisk/dot.profile: revision 1.3
distrib/riscv/ramdisk/dot.profile: revision 1.2
distrib/sandpoint/ramdisk/dot.profile: revision 1.2
distrib/landisk/ramdisk/dot.profile: revision 1.3
distrib/amd64/ramdisks/common/dot.profile: revision 1.4
distrib/macppc/floppies/ramdisk/dot.profile: revision 1.14
distrib/mipsco/ramdisk/dot.profile: revision 1.3
distrib/evbmips/instkernel/ramdisk/dot.profile: revision 1.2
distrib/acorn32/ramdisk/dot.profile: revision 1.4
distrib/cats/ramdisk/dot.profile: revision 1.5
distrib/vax/ramdisk/dot.profile: revision 1.10
distrib/pmax/miniroot/dot.profile: revision 1.3
distrib/sparc/miniroot/dot.profile: revision 1.16
distrib/hpcmips/miniroot/dot.profile: revision 1.8
distrib/prep/floppies/ramdisk/dot.profile: revision 1.3
distrib/news68k/floppies/ramdisk/dot.profile: revision 1.8
distrib/alpha/instkernel/ramdisk/dot.profile: revision 1.11
distrib/ofppc/ramdisks/common/dot.profile: revision 1.2
distrib/mac68k/instkernel/ramdisk/dot.profile: revision 1.9
distrib/hp300/ramdisk/dot.profile: revision 1.7
distrib/ews4800mips/floppies/ramdisk/dot.profile: revision 1.2
distrib/emips/ramdisk/dot.profile: revision 1.3
distrib/newsmips/floppies/ramdisk/dot.profile: revision 1.7
distrib/bebox/ramdisk/dot.profile: revision 1.2
distrib/rs6000/ramdisk/dot.profile: revision 1.2
distrib/sgimips/miniroot/dot.profile: revision 1.2
distrib/mvme68k/miniroot/dot.profile: revision 1.9
distrib/hppa/ramdisk/dot.profile: revision 1.2
distrib/luna68k/ramdisk/dot.profile: revision 1.2
distrib/sgimips/ramdisk/dot.profile: revision 1.4
distrib/evbsh3/instkernel/ramdisk/dot.profile: revision 1.2
distrib/evbppc/ramdisk/dot.profile: revision 1.5
distrib/shark/instkernel/ramdisk/dot.profile: revision 1.5
distrib/pmax/ramdisk/dot.profile: revision 1.11
distrib/dreamcast/ramdisk/dot.profile: revision 1.3
distrib/arc/ramdisk/dot.profile: revision 1.5
distrib/atari/floppies/common/dot.profile: revision 1.8
PR install/54780: in the (of course totally unlikely) case that sysinst
should crash, run "stty sane".
 1.7.34.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.2 07-May-2002  lukem major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
- install.fs: to mdset into netbsd.INSTALL
- inst.tgz: contents of install.fs
- miniroot.fs: install.fs + gzipped GENERIC kernel. created using a
copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
 1.1 23-Aug-2001  mrg build an "instfs" which can be untarred for complete netboot installs.
 1.32 19-Jul-2025  christos crypto needs pthread.
 1.31 09-Jan-2025  martin Add -lssl -lcrypto for new pppd
 1.30 27-Mar-2020  rin branches: 1.30.8;
Get back to terminfo.cdb.
 1.29 16-Mar-2020  rin Catch up with major bump in terminfo. Unbreak build.
 1.28 01-Oct-2018  martin Make gzip on some crunched install media support xz decompression
(just like our base version does).
 1.27 28-Sep-2018  martin Now that we do not force debug sets off install CDs any more, explicitly
set CDRELEASE_NODEBUG everywhere.
 1.26 30-Nov-2013  nakayama branches: 1.26.24; 1.26.26;
pppd has moved.
 1.25 03-Jun-2012  joerg branches: 1.25.2;
Switch terminfo(3) to cdb(5).
 1.24 03-Jul-2011  tron branches: 1.24.2; 1.24.4;
Update location of "less" source directory to the build of various
install medias.
 1.23 19-Jun-2011  tsutsui Fix indent.
 1.22 19-Jun-2011  tsutsui Remove unnecessary gnu/usr.bin path from SRCDIRS.
 1.21 19-Jun-2011  tsutsui Use src/distrib/utils/x_gzip in all install ramdisks/miniroots for now
since installation file systems might be flooded by -llzma.
 1.20 14-Jan-2011  tsutsui branches: 1.20.4;
Adjust file lists for recent move:
usr/sbin/chown -> sbin/chown
usr/bin/chgrp -> bin/chgrp
 1.19 12-Mar-2010  martin Provide full terminfo.db on install media
 1.18 17-Feb-2010  martin add mount_tmpfs
 1.17 11-Feb-2010  roy Remove terminfo.db as it's now embedded in libterminfo.
 1.16 05-Feb-2010  roy Use the rescue terminfo.db in our images instead of termcap.
 1.15 20-Sep-2009  abs 34 different termcap subsets, plus a couple of ports still using
the full termcap distfile. In an attempt to reduce the madness
switch everyone (except the i386 cd install which does its own
thing) to the same (under 8K) termcap subset:

ansi ansi/pc-term compatible with color
dumb|unknown 80-column dumb tty
hp300h HP Catseye console
iris-ansi-ap IRIS ANSI in application-keypad mode
iris-ansi|iris-ansi-net IRIS emulating 40 line ANSI terminal (almost VT100)
sun|sun1|sun2|sun-il Sun Microsystems Inc. console with working insert-line
vt100|vt100-am DEC VT100 (w/advanced video)
vt220-8 DEC VT220 8 bit terminal
vt220|vt200|vt300 DEC VT220 in vt100 emulation mode
wsvt25 NetBSD wscons in 25 line DEC VT220 mode
wsvt25m NetBSD wscons in 25 line DEC VT220 mode with Meta
x68k|x68k-ite NetBSD/x68k ITE
xterm|vs100 xterm terminal emulator (X Window System)

Trying to provide similar functionality across all ports? It'll never
catch on...
 1.14 20-Sep-2009  abs Nothing needs disktab anymore, so we'd rather have an inode and
slightly over 1K of space on install media...
 1.13 20-Sep-2009  abs ${NETBSDSRCDIR}/distrib/common/protocols => ${DISTRIBDIR}/common/protocols
${NETBSDSRCDIR}/distrib/common/services => ${DISTRIBDIR}/common/services
 1.12 18-Sep-2009  abs Of the arious list files 28 said
PROG usr/bin/gzip usr/bin/gzcat usr/bin/gunzip
while 14 picked
PROG usr/bin/gzip usr/bin/gunzip usr/bin/gzcat

Make them all choose the former. No functional change.
 1.11 29-Apr-2009  tsutsui Fix indent on common/protocols changes.
 1.10 07-Apr-2009  joerg Change ramdisks from dhclient to dhcpcd and add corresponding glue to
sysinst. For amd64, the crunchgen binary shrinks by 150KB uncompresssed,
60KB compressed.
 1.9 25-Jan-2009  abs branches: 1.9.2;
Use the cutdown distrib/common/services and distrib/common/protocols
rather than the full fat etc versions
 1.8 06-May-2008  dyoung Add -lprop to the LIBS line so that ifconfig will link.
 1.7 10-May-2007  dogcow branches: 1.7.12; 1.7.14;
Since /etc/services has gotten rather large, use a minimal one for install
kernels. (mount_nfs is notably the only binary that doesn't gracefully deal
with the lack of an /etc/services file, it appears.)
 1.6 11-Nov-2006  jmmv Move lfs_cleanerd from /usr/libexec to /libexec. This is to allow putting
the root file system on a LFS volume.

Addresses PR bin/30407. No objections in tech-userlevel@.
 1.5 14-Jan-2004  mrg add /sbin/raidctl.
 1.4 25-Dec-2003  martin Add missing fsck_lfs. While there add -lz to LIBS, which is needed with
the new gzip.

Noticed (and patch provided) by John Heasley.
 1.3 17-Oct-2002  lukem Now that usr.bin/ftp/Makefile supports SMALLPROG and SMALLPROG_INET6,
we don't need distrib/utils/x_ftp anymore...
 1.2 01-Jun-2002  lukem fix problems noted by Love <lha@stacken.kth.se> on current-users@ :
- add bpf0 to MAKEDEVTARGETS
- set dhclient-script and binstall perms to 555
 1.1 07-May-2002  lukem branches: 1.1.2;
major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
- install.fs: to mdset into netbsd.INSTALL
- inst.tgz: contents of install.fs
- miniroot.fs: install.fs + gzipped GENERIC kernel. created using a
copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
 1.1.2.1 02-Jun-2002  tv Pull up revision 1.2 (requested by lukem in ticket #127):
fix problems noted by Love <lha@stacken.kth.se> on current-users@ :
- add bpf0 to MAKEDEVTARGETS
- set dhclient-script and binstall perms to 555
 1.7.14.1 18-May-2008  yamt sync with head.
 1.7.12.2 05-Oct-2008  mjf Sync with HEAD.
 1.7.12.1 02-Jun-2008  mjf Sync with HEAD.
 1.9.2.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.20.4.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.24.4.1 23-Jun-2012  riz Pull up following revision(s) (requested by joerg in ticket #328):
lib/libc/gen/devname.c: revision 1.22
distrib/sparc64/instfs/dot.profile: revision 1.7
distrib/i386/cdroms/install.sh: revision 1.3
tests/lib/libcurses/director/director.c: revision 1.10
lib/libc/include/reentrant.h: revision 1.15
distrib/amd64/cdroms/install.sh: revision 1.3
tests/include/t_paths.c: revision 1.12
share/man/man7/hier.7: revision 1.101
etc/rc.d/sysdb: revision 1.24
include/stdlib.h: revision 1.99
tests/lib/libcurses/Makefile: revision 1.3
distrib/sparc64/cdroms/installcd/install.sh: revision 1.3
distrib/i386/cdroms/Makefile.cdrom: revision 1.27
lib/libc/gen/ttyname.c: revision 1.25
usr.bin/tic/Makefile: revision 1.2
tools/compat/Makefile: revision 1.57
lib/libterminfo/compile.c: revision 1.7
lib/libc/gen/ttyname.c: revision 1.26
lib/libterminfo/compile.c: revision 1.8
tools/compat/Makefile: revision 1.59
tools/compat/cdbw.h: revision 1.1
distrib/i386/installimage/install.sh: revision 1.2
lib/libc/include/namespace.h: revision 1.154
usr.bin/tic/tic.c: revision 1.13
usr.bin/tic/tic.c: revision 1.14
usr.bin/tic/tic.c: revision 1.15
distrib/sets/lists/base/mi: revision 1.996
usr.bin/tic/tic.c: revision 1.16
usr.sbin/dev_mkdb/dev_mkdb.8: revision 1.13
usr.bin/tic/tic.c: revision 1.17
usr.bin/tic/tic.c: revision 1.18
tools/compat/cdbr.h: revision 1.1
distrib/sparc64/instfs/list: revision 1.25
usr.bin/tic/tic.c: revision 1.19
lib/libc/cdb/cdbw.c: revision 1.4
lib/libc/cdb/cdbw.3: revision 1.4
lib/libc/cdb/cdbw.3: revision 1.5
share/terminfo/Makefile: revision 1.3
usr.sbin/dev_mkdb/dev_mkdb.c: revision 1.29
usr.sbin/dev_mkdb/Makefile: revision 1.8
lib/libc/gen/ttyname.3: revision 1.23
lib/libc/gen/ttyname.3: revision 1.24
lib/libc/cdb/cdbr.c: revision 1.3
include/cdbw.h: revision 1.2
distrib/sparc64/cdroms/installcd/Makefile: revision 1.15
lib/libc/gen/devname.3: revision 1.12
tools/compat/compat_defs.h: revision 1.85
tools/compat/compat_defs.h: revision 1.86
lib/libterminfo/term_private.h: revision 1.10
lib/libterminfo/term.c: revision 1.14
usr.bin/tic/tic.1: revision 1.10
lib/libterminfo/term.c: revision 1.15
lib/libterminfo/Makefile.hash: revision 1.5
lib/libterminfo/term.c: revision 1.16
distrib/amd64/installimage/install.sh: revision 1.2
share/man/man5/rc.conf.5: revision 1.152
distrib/sets/lists/tests/mi: revision 1.472
distrib/amd64/cdroms/Makefile.cdrom: revision 1.7
include/paths.h: revision 1.41
bin/ps/ps.1: revision 1.101
lib/libterminfo/terminfo.5.in: revision 1.16
usr.bin/tic/tic.c: revision 1.20
lib/libterminfo/terminfo.5.in: revision 1.17
Prefer __printflike.
Use queue(3)
Replace linear lookup with hash table, reducing runtime by 60%.
Use e* from util.h.
One more strdup -> estrdup.
Maintain nalias and nterm on the fly.
Add void for ttyslot prototype.
Use memcmp in place of strncmp, since length is known to no longer than
either of the arguments.
Fix a number of memory leaks. Keep final loop of the cleanup in tic(1)
under #ifdef __VALGRIND__ though.
Add __predict_true / __predict_false definitions.
Add a special seeder for cdbw_output that gives stable results.
Hook up cdbw(3) for the tool build.
Prototype for cdbw_stable_seeder.
Provide a usable thr_once for !_REENTRANT
Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to
depend on new devname_r(3) as heart. Add /dev/pts magic directly to
devname(3). While it can lead to returning non-existing paths, the
behavior is more consistent that way. Drop caching layer in devname(3),
it doesn't buy anything for the common case of having access to the
database. Teach devname(3) proper fallback behavior of scanning /dev.
Create both old-style and new-style database for now in /etc/rc.d/sysdb.
Switch terminfo(3) to cdb(5).
Fix typos.
Make Alan Barrett happy and add ().
Add cdbr(3) support to tools/compat.
Bump date for previous.
Relax consistency to make it possible to match valid entries.
Prefix devname's buffer with /dev/ as ttyname is supposed to return the
full path. Reported by Dave Huang.
 1.24.2.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.24.2.1 30-Oct-2012  yamt sync with head
 1.25.2.1 19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.26.26.1 10-Jun-2019  christos Sync with HEAD
 1.26.24.2 20-Oct-2018  pgoyette Sync with head
 1.26.24.1 30-Sep-2018  pgoyette Ssync with HEAD
 1.30.8.1 02-Aug-2025  perseant Sync with HEAD
 1.3 20-Sep-2009  abs 34 different termcap subsets, plus a couple of ports still using
the full termcap distfile. In an attempt to reduce the madness
switch everyone (except the i386 cd install which does its own
thing) to the same (under 8K) termcap subset:

ansi ansi/pc-term compatible with color
dumb|unknown 80-column dumb tty
hp300h HP Catseye console
iris-ansi-ap IRIS ANSI in application-keypad mode
iris-ansi|iris-ansi-net IRIS emulating 40 line ANSI terminal (almost VT100)
sun|sun1|sun2|sun-il Sun Microsystems Inc. console with working insert-line
vt100|vt100-am DEC VT100 (w/advanced video)
vt220-8 DEC VT220 8 bit terminal
vt220|vt200|vt300 DEC VT220 in vt100 emulation mode
wsvt25 NetBSD wscons in 25 line DEC VT220 mode
wsvt25m NetBSD wscons in 25 line DEC VT220 mode with Meta
x68k|x68k-ite NetBSD/x68k ITE
xterm|vs100 xterm terminal emulator (X Window System)

Trying to provide similar functionality across all ports? It'll never
catch on...
 1.2 08-Oct-2002  martin branches: 1.2.32;
Add sun-type4 termcap entry and print a hint to change TERM to this
if using a Type 4 keyboard.
 1.1 07-May-2002  lukem major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
- install.fs: to mdset into netbsd.INSTALL
- inst.tgz: contents of install.fs
- miniroot.fs: install.fs + gzipped GENERIC kernel. created using a
copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
 1.2.32.1 05-Oct-2008  mjf Sync with HEAD.

RSS XML Feed