New install floppy/kernel based on sysinst.
This commit is contained in:
parent
6cec6a5c90
commit
7f6d65ca94
|
@ -1,5 +1,5 @@
|
||||||
# $NetBSD: Makefile,v 1.4 1997/10/19 15:38:34 oki Exp $
|
# $NetBSD: Makefile,v 1.5 1999/12/05 15:53:09 minoura Exp $
|
||||||
|
|
||||||
SUBDIR= ramdisk bootfloppy
|
SUBDIR= ramdisk bootfloppy ramdisk.sysinst bootfloppy.sysinst
|
||||||
|
|
||||||
.include <bsd.subdir.mk>
|
.include <bsd.subdir.mk>
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
# $NetBSD: Makefile,v 1.1 1999/12/05 15:53:10 minoura Exp $
|
||||||
|
|
||||||
|
TOP= ${.CURDIR}/..
|
||||||
|
|
||||||
|
.include "${TOP}/Makefile.inc"
|
||||||
|
|
||||||
|
IMAGE= sysinst.fs
|
||||||
|
KERNCNF= ${.CURDIR}/../../../../sys/arch/x68k/conf/INSTALL
|
||||||
|
KERNDIR= ${.CURDIR}/../../../../sys/arch/x68k/compile/INSTALL
|
||||||
|
KERN= ${KERNDIR}/netbsd
|
||||||
|
KERNNAME= netbsdsi
|
||||||
|
RAMDISKDIR= $(.CURDIR)/../ramdisk.sysinst/
|
||||||
|
|
||||||
|
.include "${TOP}/bootfloppy-common/Makefile.inc"
|
|
@ -0,0 +1,75 @@
|
||||||
|
# $NetBSD: Makefile,v 1.1 1999/12/05 15:53:10 minoura Exp $
|
||||||
|
|
||||||
|
TOP= ${.CURDIR}/..
|
||||||
|
WARNS=1
|
||||||
|
|
||||||
|
.include "${TOP}/Makefile.inc"
|
||||||
|
IMAGE= ramdisk.fs
|
||||||
|
|
||||||
|
AUXDEPENDS= dot.profile dot.hdprofile disktab.preinstall \
|
||||||
|
termcap.vt
|
||||||
|
|
||||||
|
CBIN= ramdiskbin
|
||||||
|
|
||||||
|
MOUNT_POINT?= /mnt
|
||||||
|
# DEV/RDEV file system device, CDEV/RDEV vnconfig device
|
||||||
|
VND?= vnd0
|
||||||
|
VND_DEV= /dev/${VND}a
|
||||||
|
VND_RDEV= /dev/r${VND}a
|
||||||
|
VND_CDEV= /dev/${VND}c
|
||||||
|
VND_CRDEV= /dev/r${VND}c
|
||||||
|
IMAGE?= xxx.fs
|
||||||
|
MDEC= ${DESTDIR}/usr/mdec
|
||||||
|
|
||||||
|
LISTS= list
|
||||||
|
CRUNCHCONF= ${CBIN}.conf
|
||||||
|
MTREE= mtree.conf
|
||||||
|
|
||||||
|
DISKTYPE= floppy5
|
||||||
|
|
||||||
|
all: ${CBIN} ${AUXDEPENDS} ${MTREE} ${LISTS}
|
||||||
|
dd if=/dev/zero of=${IMAGE} count=2400
|
||||||
|
vnconfig -v -c ${VND_CDEV} ${IMAGE} 512/15/2/80
|
||||||
|
newfs -B be -m 0 -o space -i 5120 -c 80 ${VND_RDEV}
|
||||||
|
mount ${VND_DEV} ${MOUNT_POINT}
|
||||||
|
mtree -def ${.CURDIR}/${MTREE} -p ${MOUNT_POINT}/ -u
|
||||||
|
TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
|
||||||
|
TARGDIR=${MOUNT_POINT} sh ${TOP}/runlist.sh ${.CURDIR}/${LISTS}
|
||||||
|
@echo ""
|
||||||
|
@df -i ${MOUNT_POINT}
|
||||||
|
@echo ""
|
||||||
|
umount ${MOUNT_POINT}
|
||||||
|
vnconfig -u ${VND_CDEV}
|
||||||
|
|
||||||
|
unconfig:
|
||||||
|
-umount -f ${MOUNT_POINT}
|
||||||
|
-vnconfig -u ${VND_DEV}
|
||||||
|
-/bin/rm -f ${IMAGE}
|
||||||
|
|
||||||
|
${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
|
||||||
|
crunchgen -D ${TOP}/../../.. -L ${DESTDIR}/usr/lib ${.ALLSRC}
|
||||||
|
|
||||||
|
${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c
|
||||||
|
make -f ${CBIN}.mk all
|
||||||
|
|
||||||
|
# Use size-reduced libhack.
|
||||||
|
${CBIN}: libhack.o
|
||||||
|
|
||||||
|
HACKSRC=${TOP}/../../utils/libhack
|
||||||
|
.include "${HACKSRC}/Makefile.inc"
|
||||||
|
|
||||||
|
# turn off small gethostby* temporarily
|
||||||
|
HACKOBJS:= getcap.o getgrent.o getnet.o getnetgr.o getpwent.o setlocale.o yplib.o
|
||||||
|
|
||||||
|
# Used in building bootfloppy
|
||||||
|
echoimage:
|
||||||
|
@echo ${.OBJDIR}/${IMAGE}
|
||||||
|
|
||||||
|
release:
|
||||||
|
|
||||||
|
clean cleandir distclean:
|
||||||
|
/bin/rm -f ${AUXCLEAN} *.core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache *.o *.cro *.c
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
.include <bsd.obj.mk>
|
||||||
|
.include <bsd.sys.mk>
|
|
@ -0,0 +1,31 @@
|
||||||
|
# $NetBSD: disktab.preinstall,v 1.1 1999/12/05 15:53:10 minoura Exp $
|
||||||
|
#
|
||||||
|
# Disk geometry and partition layout tables.
|
||||||
|
# Key:
|
||||||
|
# dt controller type
|
||||||
|
# ty type of disk (fixed, removeable, simulated)
|
||||||
|
# d[0-4] drive-type-dependent parameters
|
||||||
|
# ns #sectors/track
|
||||||
|
# nt #tracks/cylinder
|
||||||
|
# nc #cylinders/disk
|
||||||
|
# sc #sectors/cylinder, nc*nt default
|
||||||
|
# su #sectors/unit, sc*nc default
|
||||||
|
# se sector size, DEV_BSIZE default
|
||||||
|
# rm rpm, 3600 default
|
||||||
|
# sf supports bad144-style bad sector forwarding
|
||||||
|
# sk sector skew per track, default 0
|
||||||
|
# cs sector skew per cylinder, default 0
|
||||||
|
# hs headswitch time, default 0
|
||||||
|
# ts one-cylinder seek time, default 0
|
||||||
|
# il sector interleave (n:1), 1 default
|
||||||
|
# bs boot block size, default BBSIZE
|
||||||
|
# sb superblock size, default SBSIZE
|
||||||
|
# o[a-h] partition offsets in sectors
|
||||||
|
# p[a-h] partition sizes in sectors
|
||||||
|
# b[a-h] partition block sizes in bytes
|
||||||
|
# f[a-h] partition fragment sizes in bytes
|
||||||
|
# t[a-h] partition types (filesystem, swap, etc)
|
||||||
|
#
|
||||||
|
# All partition sizes reserve space for bad sector tables.
|
||||||
|
# (5 cylinders needed for maintenance + replacement sectors)
|
||||||
|
#
|
|
@ -0,0 +1,59 @@
|
||||||
|
# $NetBSD: dot.hdprofile,v 1.1 1999/12/05 15:53:10 minoura Exp $
|
||||||
|
#
|
||||||
|
# Copyright (c) 1994 Christopher G. Demetriou
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
# Redistribution and use in source and binary forms, with or without
|
||||||
|
# modification, are permitted provided that the following conditions
|
||||||
|
# are met:
|
||||||
|
# 1. Redistributions of source code must retain the above copyright
|
||||||
|
# notice, this list of conditions and the following disclaimer.
|
||||||
|
# 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
# notice, this list of conditions and the following disclaimer in the
|
||||||
|
# documentation and/or other materials provided with the distribution.
|
||||||
|
# 3. All advertising materials mentioning features or use of this software
|
||||||
|
# must display the following acknowledgement:
|
||||||
|
# This product includes software developed by Christopher G. Demetriou.
|
||||||
|
# 4. The name of the author may not be used to endorse or promote products
|
||||||
|
# derived from this software without specific prior written permission
|
||||||
|
#
|
||||||
|
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||||
|
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||||
|
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||||
|
# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
|
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||||
|
# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||||
|
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||||
|
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||||
|
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
#
|
||||||
|
|
||||||
|
PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
|
||||||
|
export PATH
|
||||||
|
TERM=x68k
|
||||||
|
export TERM
|
||||||
|
HOME=/
|
||||||
|
export HOME
|
||||||
|
|
||||||
|
umask 022
|
||||||
|
|
||||||
|
if [ "X${DONEPROFILE}" = "X" ]; then
|
||||||
|
DONEPROFILE=YES
|
||||||
|
export DONEPROFILE
|
||||||
|
|
||||||
|
echo "Checking filesystems..."
|
||||||
|
fsck -y
|
||||||
|
|
||||||
|
echo "Mounting root..."
|
||||||
|
mount -u /
|
||||||
|
|
||||||
|
# set up some sane defaults
|
||||||
|
echo 'erase ^?, werase ^W, kill ^U, intr ^C'
|
||||||
|
stty newcrt werase ^W intr ^C kill ^U erase ^? 9600
|
||||||
|
echo ''
|
||||||
|
|
||||||
|
TERMCAP=/.termcap ; export TERMCAP
|
||||||
|
|
||||||
|
[ -x /sysinst ] && /sysinst
|
||||||
|
fi
|
|
@ -0,0 +1,71 @@
|
||||||
|
# $NetBSD: dot.profile,v 1.1 1999/12/05 15:53:10 minoura Exp $
|
||||||
|
#
|
||||||
|
# Copyright (c) 1994 Christopher G. Demetriou
|
||||||
|
# Copyright (c) 1997 Perry E. Metzger
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
# Redistribution and use in source and binary forms, with or without
|
||||||
|
# modification, are permitted provided that the following conditions
|
||||||
|
# are met:
|
||||||
|
# 1. Redistributions of source code must retain the above copyright
|
||||||
|
# notice, this list of conditions and the following disclaimer.
|
||||||
|
# 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
# notice, this list of conditions and the following disclaimer in the
|
||||||
|
# documentation and/or other materials provided with the distribution.
|
||||||
|
# 3. All advertising materials mentioning features or use of this software
|
||||||
|
# must display the following acknowledgement:
|
||||||
|
# This product includes software developed by Christopher G. Demetriou.
|
||||||
|
# 4. The name of the author may not be used to endorse or promote products
|
||||||
|
# derived from this software without specific prior written permission
|
||||||
|
#
|
||||||
|
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||||
|
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||||
|
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||||
|
# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
|
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||||
|
# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||||
|
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||||
|
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||||
|
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
#
|
||||||
|
|
||||||
|
PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
|
||||||
|
export PATH
|
||||||
|
TERM=x68k
|
||||||
|
export TERM
|
||||||
|
HOME=/
|
||||||
|
export HOME
|
||||||
|
BLOCKSIZE=1k
|
||||||
|
export BLOCKSIZE
|
||||||
|
EDITOR=ed
|
||||||
|
export EDITOR
|
||||||
|
|
||||||
|
umask 022
|
||||||
|
|
||||||
|
ROOTDEV=/dev/md0a
|
||||||
|
|
||||||
|
if [ "X${DONEPROFILE}" = "X" ]; then
|
||||||
|
DONEPROFILE=YES
|
||||||
|
export DONEPROFILE
|
||||||
|
|
||||||
|
# set up some sane defaults
|
||||||
|
echo 'erase ^?, werase ^W, kill ^U, intr ^C'
|
||||||
|
stty newcrt werase ^W intr ^C kill ^U erase ^? 9600
|
||||||
|
echo ''
|
||||||
|
|
||||||
|
# mount the ramdisk read write
|
||||||
|
mount -u $ROOTDEV /
|
||||||
|
|
||||||
|
# mount the kern_fs so that we can examine the dmesg state
|
||||||
|
mount -t kernfs /kern /kern
|
||||||
|
|
||||||
|
# pull in the functions that people will use from the shell prompt.
|
||||||
|
# . /.commonutils
|
||||||
|
# . /.instutils
|
||||||
|
dmesg() cat /kern/msgbuf
|
||||||
|
grep() sed -n "/$1/p"
|
||||||
|
|
||||||
|
# run sysinst.
|
||||||
|
sysinst
|
||||||
|
fi
|
|
@ -0,0 +1,102 @@
|
||||||
|
# $NetBSD: list,v 1.1 1999/12/05 15:53:10 minoura Exp $
|
||||||
|
|
||||||
|
# Do this first to prevent file system full caused by huge db files.
|
||||||
|
COPY ${CURDIR}/../../../../etc/master.passwd etc/master.passwd
|
||||||
|
SPECIAL pwd_mkdb -p -d ./ etc/master.passwd
|
||||||
|
SPECIAL /bin/rm etc/spwd.db
|
||||||
|
SPECIAL /bin/rm etc/pwd.db
|
||||||
|
|
||||||
|
# copy the crunched binary, link to it, and kill it
|
||||||
|
COPY ${OBJDIR}/ramdiskbin ramdiskbin
|
||||||
|
LINK ramdiskbin sysinst
|
||||||
|
LINK ramdiskbin bin/cat
|
||||||
|
LINK ramdiskbin bin/chmod
|
||||||
|
LINK ramdiskbin bin/cp
|
||||||
|
LINK ramdiskbin bin/dd
|
||||||
|
LINK ramdiskbin bin/df
|
||||||
|
LINK ramdiskbin bin/ed
|
||||||
|
LINK ramdiskbin bin/ln
|
||||||
|
LINK ramdiskbin bin/ls
|
||||||
|
LINK ramdiskbin bin/mkdir
|
||||||
|
LINK ramdiskbin bin/mt
|
||||||
|
LINK ramdiskbin bin/mv
|
||||||
|
LINK ramdiskbin bin/pax
|
||||||
|
LINK ramdiskbin bin/pwd
|
||||||
|
LINK ramdiskbin bin/rcmd
|
||||||
|
LINK ramdiskbin bin/rm
|
||||||
|
LINK ramdiskbin bin/sh
|
||||||
|
LINK ramdiskbin bin/stty
|
||||||
|
LINK ramdiskbin bin/sync
|
||||||
|
LINK ramdiskbin bin/test
|
||||||
|
LINK ramdiskbin bin/[
|
||||||
|
LINK ramdiskbin sbin/cd9660
|
||||||
|
LINK ramdiskbin sbin/disklabel
|
||||||
|
LINK ramdiskbin sbin/ffs
|
||||||
|
LINK ramdiskbin sbin/fsck
|
||||||
|
LINK ramdiskbin sbin/fsck_ffs
|
||||||
|
LINK ramdiskbin sbin/halt
|
||||||
|
LINK ramdiskbin sbin/ifconfig
|
||||||
|
LINK ramdiskbin sbin/init
|
||||||
|
LINK ramdiskbin sbin/kernfs
|
||||||
|
LINK ramdiskbin sbin/mknod
|
||||||
|
LINK ramdiskbin sbin/mount
|
||||||
|
LINK ramdiskbin sbin/mount_cd9660
|
||||||
|
LINK ramdiskbin sbin/mount_ffs
|
||||||
|
LINK ramdiskbin sbin/mount_kernfs
|
||||||
|
LINK ramdiskbin sbin/mount_msdos
|
||||||
|
LINK ramdiskbin sbin/mount_nfs
|
||||||
|
LINK ramdiskbin sbin/msdos
|
||||||
|
LINK ramdiskbin sbin/newfs
|
||||||
|
LINK ramdiskbin sbin/nfs
|
||||||
|
LINK ramdiskbin sbin/ping
|
||||||
|
LINK ramdiskbin sbin/reboot
|
||||||
|
LINK ramdiskbin sbin/restore
|
||||||
|
LINK ramdiskbin sbin/route
|
||||||
|
LINK ramdiskbin sbin/rrestore
|
||||||
|
LINK ramdiskbin sbin/shutdown
|
||||||
|
LINK ramdiskbin sbin/slattach
|
||||||
|
LINK ramdiskbin sbin/swapctl
|
||||||
|
LINK ramdiskbin sbin/umount
|
||||||
|
SYMLINK /bin/cat usr/bin/chgrp
|
||||||
|
SYMLINK /bin/cat usr/bin/ftp
|
||||||
|
SYMLINK /bin/cat usr/bin/gunzip
|
||||||
|
SYMLINK /bin/cat usr/bin/gzcat
|
||||||
|
SYMLINK /bin/cat usr/bin/gzip
|
||||||
|
SYMLINK /bin/cat usr/bin/less
|
||||||
|
SYMLINK /bin/cat usr/bin/more
|
||||||
|
SYMLINK /bin/cat usr/bin/sed
|
||||||
|
SYMLINK /bin/cat usr/bin/tar
|
||||||
|
SYMLINK /bin/cat usr/bin/tip
|
||||||
|
SYMLINK /bin/cat usr/sbin/chown
|
||||||
|
SYMLINK /bin/cat usr/sbin/chroot
|
||||||
|
SYMLINK /bin/cat usr/sbin/memswitch
|
||||||
|
SPECIAL /bin/rm ramdiskbin
|
||||||
|
|
||||||
|
# various files that we need in /etc for the install
|
||||||
|
COPY ${CURDIR}/../../../../etc/group etc/group
|
||||||
|
COPY ${CURDIR}/../../../../etc/protocols etc/protocols
|
||||||
|
COPY ${CURDIR}/../../../../etc/services etc/services
|
||||||
|
|
||||||
|
# copy the MAKEDEV script and make some devices
|
||||||
|
COPY ${CURDIR}/../../../../etc/etc.x68k/MAKEDEV dev/MAKEDEV
|
||||||
|
SPECIAL cd dev; sh MAKEDEV ramdisk
|
||||||
|
SPECIAL /bin/rm dev/MAKEDEV
|
||||||
|
|
||||||
|
# we need the boot blocks in /usr/mdec
|
||||||
|
COPY ${DESTDIR}/usr/mdec/installboot usr/mdec/installboot
|
||||||
|
COPY ${DESTDIR}/usr/mdec/sdboot usr/mdec/sdboot
|
||||||
|
LINK usr/mdec/sdboot usr/mdec/fdboot
|
||||||
|
COPY ${DESTDIR}/usr/mdec/mboot usr/mdec/mboot
|
||||||
|
|
||||||
|
# and the common installation tools
|
||||||
|
COPY ${CURDIR}/termcap.vt usr/share/misc/termcap
|
||||||
|
|
||||||
|
# the disktab explanation file
|
||||||
|
COPY ${CURDIR}/disktab.preinstall etc/disktab.preinstall
|
||||||
|
|
||||||
|
#the lists of obsolete files used by sysinst
|
||||||
|
SPECIAL sh ${CURDIR}/../../../../distrib/sets/makeobsolete -b -s ${CURDIR}/../../../../distrib/sets -t ./dist
|
||||||
|
|
||||||
|
# and the installation tools
|
||||||
|
COPY ${CURDIR}/dot.profile .profile
|
||||||
|
COPY ${CURDIR}/dot.hdprofile tmp/.hdprofile
|
|
@ -0,0 +1,82 @@
|
||||||
|
# $NetBSD: mtree.conf,v 1.1 1999/12/05 15:53:10 minoura Exp $
|
||||||
|
|
||||||
|
/set type=dir uname=root gname=wheel mode=0755
|
||||||
|
# .
|
||||||
|
.
|
||||||
|
|
||||||
|
# ./bin
|
||||||
|
bin
|
||||||
|
# ./bin
|
||||||
|
..
|
||||||
|
|
||||||
|
# ./dev
|
||||||
|
dev
|
||||||
|
# ./dev
|
||||||
|
..
|
||||||
|
|
||||||
|
# ./dist
|
||||||
|
dist
|
||||||
|
# ./dist
|
||||||
|
..
|
||||||
|
|
||||||
|
# ./etc
|
||||||
|
etc
|
||||||
|
# ./etc
|
||||||
|
..
|
||||||
|
|
||||||
|
# ./mnt
|
||||||
|
mnt
|
||||||
|
# ./mnt
|
||||||
|
..
|
||||||
|
|
||||||
|
# ./mnt2
|
||||||
|
mnt2
|
||||||
|
# ./mnt2
|
||||||
|
..
|
||||||
|
|
||||||
|
# ./kern
|
||||||
|
kern
|
||||||
|
# ./kern
|
||||||
|
..
|
||||||
|
|
||||||
|
# ./sbin
|
||||||
|
sbin
|
||||||
|
# ./sbin
|
||||||
|
..
|
||||||
|
|
||||||
|
# ./tmp
|
||||||
|
tmp mode=01777
|
||||||
|
# ./tmp
|
||||||
|
..
|
||||||
|
|
||||||
|
# ./usr
|
||||||
|
usr
|
||||||
|
|
||||||
|
# ./usr/bin
|
||||||
|
bin
|
||||||
|
# ./usr/bin
|
||||||
|
..
|
||||||
|
|
||||||
|
# ./usr/mdec
|
||||||
|
mdec
|
||||||
|
# ./usr/mdec
|
||||||
|
..
|
||||||
|
|
||||||
|
# ./usr/sbin
|
||||||
|
sbin
|
||||||
|
# ./usr/sbin
|
||||||
|
..
|
||||||
|
|
||||||
|
# ./usr/share
|
||||||
|
share
|
||||||
|
|
||||||
|
# ./usr/share/misc
|
||||||
|
misc
|
||||||
|
# ./usr/share/misc
|
||||||
|
..
|
||||||
|
|
||||||
|
# ./usr/share
|
||||||
|
..
|
||||||
|
|
||||||
|
# ./usr
|
||||||
|
..
|
|
@ -0,0 +1,40 @@
|
||||||
|
# $NetBSD: ramdiskbin.conf,v 1.1 1999/12/05 15:53:10 minoura Exp $
|
||||||
|
#
|
||||||
|
# ramdiskbin.conf - unified binary for the install ramdisk
|
||||||
|
#
|
||||||
|
|
||||||
|
srcdirs bin sbin usr.bin/less usr.bin usr.sbin gnu/usr.bin
|
||||||
|
|
||||||
|
progs cat chmod chown chroot cp dd df disklabel ed
|
||||||
|
progs fsck fsck_ffs ftp gzip ifconfig init less
|
||||||
|
progs ln ls memswitch mkdir mknod mount mount_cd9660 mount_ffs mount_msdos
|
||||||
|
progs mount_nfs mount_kernfs mt mv newfs ping pwd rcmd reboot restore rm
|
||||||
|
progs route sed sh shutdown slattach stty swapctl sync pax test
|
||||||
|
progs tip umount
|
||||||
|
progs sysinst
|
||||||
|
|
||||||
|
special sysinst srcdir distrib/utils/sysinst/arch/x68k
|
||||||
|
special init srcdir distrib/utils/init_s
|
||||||
|
|
||||||
|
special dd srcdir distrib/utils/x_dd
|
||||||
|
special ftp srcdir distrib/utils/x_ftp
|
||||||
|
special ifconfig srcdir distrib/utils/x_ifconfig
|
||||||
|
special ping srcdir distrib/utils/x_ping
|
||||||
|
special route srcdir distrib/utils/x_route
|
||||||
|
|
||||||
|
ln pax tar
|
||||||
|
ln chown chgrp
|
||||||
|
ln gzip gzcat gunzip
|
||||||
|
ln less more
|
||||||
|
ln sh -sh # init invokes the shell this way
|
||||||
|
ln test [
|
||||||
|
ln mount_cd9660 cd9660
|
||||||
|
ln mount_ffs ffs
|
||||||
|
ln mount_msdos msdos
|
||||||
|
ln mount_nfs nfs
|
||||||
|
ln mount_kernfs kernfs
|
||||||
|
ln reboot halt
|
||||||
|
ln restore rrestore
|
||||||
|
|
||||||
|
# libhack.o is built by Makefile & included Makefile.inc
|
||||||
|
libs libhack.o -lbz2 -ledit -lutil -lcurses -ltermcap -lrmt -lcrypt -ll -lm
|
|
@ -0,0 +1,57 @@
|
||||||
|
#
|
||||||
|
# $NetBSD: termcap.vt,v 1.1 1999/12/05 15:53:10 minoura Exp $
|
||||||
|
#
|
||||||
|
# Copyright (c) 1980, 1985, 1989 The Regents of the University of California.
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
# Redistribution and use in source and binary forms, with or without
|
||||||
|
# modification, are permitted provided that the following conditions
|
||||||
|
# are met:
|
||||||
|
# 1. Redistributions of source code must retain the above copyright
|
||||||
|
# notice, this list of conditions and the following disclaimer.
|
||||||
|
# 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
# notice, this list of conditions and the following disclaimer in the
|
||||||
|
# documentation and/or other materials provided with the distribution.
|
||||||
|
# 3. All advertising materials mentioning features or use of this software
|
||||||
|
# must display the following acknowledgement:
|
||||||
|
# This product includes software developed by the University of
|
||||||
|
# California, Berkeley and its contributors.
|
||||||
|
# 4. Neither the name of the University nor the names of its contributors
|
||||||
|
# may be used to endorse or promote products derived from this software
|
||||||
|
# without specific prior written permission.
|
||||||
|
#
|
||||||
|
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||||
|
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||||
|
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||||
|
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||||
|
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||||
|
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||||
|
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
|
# SUCH DAMAGE.
|
||||||
|
#
|
||||||
|
# @(#)termcap.src 5.109 (Berkeley) 3/8/93
|
||||||
|
#
|
||||||
|
vt200|vt220|dec-vt220|vt200-js|vt220-js|dec vt200 series with jump scroll:\
|
||||||
|
:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:\
|
||||||
|
:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:ct=\E[3g:dc=\E[P:dl=\E[M:\
|
||||||
|
:ei=\E[4l:im=\E[4h:k1=\E[17~:k2=\E[18~:k3=\E[19~:k4=\E[20~:\
|
||||||
|
:k5=\E[21~:k6=\E[23~:k7=\E[24~:k8=\E[25~:kD=\E[3~:kH=\E[4~:\
|
||||||
|
:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kh=\E[1~:km:mi:ms:\
|
||||||
|
:if=/usr/share/tabset/vt100:se=\E[27m:st=\EH:ue=\E[24m:\
|
||||||
|
:tc=vt100:
|
||||||
|
vt100|dec-vt100|vt100-am|vt100am|dec vt100:\
|
||||||
|
:bl=^G:cr=^M:it#8:\
|
||||||
|
:do=^J:co#80:li#24:cl=50\E[;H\E[2J:sf=2*\ED:\
|
||||||
|
:le=^H:bs:am:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:cb=3\E[1K:\
|
||||||
|
:ce=3\E[K:cd=50\E[J:so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m:\
|
||||||
|
:md=2\E[1m:mr=2\E[7m:mb=2\E[5m:me=2\E[m:is=\E[1;24r\E[24;1H:\
|
||||||
|
:if=/usr/share/tabset/vt100:\
|
||||||
|
:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:ks=\E[?1h\E=:ke=\E[?1l\E>:\
|
||||||
|
:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\
|
||||||
|
:ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sr=2*\EM:vt#3:xn:\
|
||||||
|
:sc=\E7:rc=\E8:cs=\E[%i%d;%dr:
|
||||||
|
x68k|x68k-ite|NetBSD/x68k ITE:\
|
||||||
|
:co#96:li#32:%1=\E[28~:kC=\E[9~:tc=vt220:
|
Loading…
Reference in New Issue