Boot from floppy now requires two disk images:

- a bootable bootfs which contains a spartan md-based `ramdisk'
	  filesystem, which loads the tar file image:
	- instfs, which is constructed from the miniroot filesystem
	  and contains all installation utilities.

The current miniroot image also supersedes the former separate
{bootfs,ramdisk}.sysinst tools.
This commit is contained in:
pk 2000-10-20 11:56:55 +00:00
parent ffbf434933
commit 6b7e1b7c52
25 changed files with 168 additions and 1542 deletions

View File

@ -1,5 +1,5 @@
# $NetBSD: Makefile,v 1.3 1999/04/30 05:09:43 abs Exp $
# $NetBSD: Makefile,v 1.4 2000/10/20 11:56:55 pk Exp $
SUBDIR= ramdisk bootfs ramdisk.sysinst bootfs.sysinst
SUBDIR= ramdisk bootfs instfs
.include <bsd.subdir.mk>

View File

@ -1,90 +0,0 @@
# $NetBSD: Makefile,v 1.10 2000/09/28 12:46:44 abs Exp $
TOP= ${.CURDIR}/..
MINIROOT= ${.CURDIR}/../../miniroot
.include "${TOP}/Makefile.inc"
.include <bsd.own.mk> # So we use /etc/mk.conf.
.include <bsd.kernobj.mk>
KERN?= ${KERNOBJDIR}/INSTALL_SYSINST/netbsd
MOUNT_POINT?= /mnt
VND?= vnd0
VND_DEV= /dev/${VND}a
VND_RDEV= /dev/r${VND}a
VND_CDEV= /dev/${VND}${RAW_PART}
VND_CRDEV= /dev/r${VND}${RAW_PART}
FD?= fd0
FD_RDEV= /dev/r${FD}a
IMAGE?= syboot.fs
MDEC= ${DESTDIR}/usr/mdec
LISTS= ${.CURDIR}/list
RAMDISK!= cd ${TOP}/ramdisk.sysinst/; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/syramdisk.fs\n" |\
${MAKE} -s -f-
DISKTYPE= floppy
# Some reasonable values for the -i parameter to newfs are:
#
# 6144 1147k, 189 inodes free
# 16384 1159k, 93 inodes free
# 204800 1167k, 29 inodes free
INO_BYTES= 204800
CLEANFILES+= netbsd.syram.gz netbsd.tmp
${IMAGE}: netbsd.syram.gz
dd if=/dev/zero of=${IMAGE} bs=1440k count=1
vnconfig -t ${DISKTYPE} -v -c ${VND_CDEV} ${IMAGE}
disklabel -rw ${VND_CDEV} ${DISKTYPE}
disklabel -W ${VND_CDEV}
newfs -B be -m 0 -o space -i ${INO_BYTES} -c 80 ${VND_RDEV}
mount ${VND_DEV} ${MOUNT_POINT}
TOPDIR=${TOP} CURDIR=${MINIROOT} OBJDIR=${.OBJDIR} \
KERNOBJDIR=${KERNOBJDIR} \
TARGDIR=${MOUNT_POINT} sh ${MINIROOT}/runlist.sh ${LISTS}
@echo ""
@df -i ${MOUNT_POINT}
@echo ""
@echo "installing new bootblocks"
-rm -f ${MOUNT_POINT}/boot
/usr/mdec/binstall -v ffs ${MOUNT_POINT}
umount ${MOUNT_POINT}
vnconfig -u ${VND_CDEV}
all: ${IMAGE}
unconfig:
-umount -f ${MOUNT_POINT}
-vnconfig -u ${VND_DEV}
netbsd.syram.gz: ${KERN} ${RAMDISK}
cp ${KERN} netbsd.tmp
mdsetimage -v netbsd.tmp ${RAMDISK}
gzip -9 netbsd.tmp
mv netbsd.tmp.gz ${.TARGET}
clean cleandir distclean:
/bin/rm -f *.core ${IMAGE} ${CLEANFILES}
depend install:
real-floppy:
dd if=${IMAGE} of=${FD_RDEV} bs=32k
.ifndef RELEASEDIR
release:
@echo setenv RELEASEDIR first
@false
.else
release: $(IMAGE)
cp -p netbsd.syram.gz $(RELEASEDIR)/installation/bootfs/netbsd.syram.gz
gzip -c -9 < $(.OBJDIR)/$(IMAGE) \
> $(RELEASEDIR)/installation/bootfs/$(IMAGE).gz
.endif # RELEASEDIR check
.include <bsd.obj.mk>

View File

@ -1,4 +0,0 @@
# $NetBSD: list,v 1.2 2000/09/04 16:54:39 abs Exp $
# copy the kernel
COPY ${OBJDIR}/netbsd.syram.gz netbsd.gz

View File

@ -1,4 +1,11 @@
# $NetBSD: Makefile,v 1.24 2000/09/04 17:04:24 abs Exp $
# $NetBSD: Makefile,v 1.25 2000/10/20 11:56:57 pk Exp $
#
# boot.fs is the image for disk 1 of the two-set floppy based installation
# method.
#
# It is constructed by injecting the microroot filesystem `ramdisk.fs'
# into the md based kernel built from the INSTALL kernel configuration file.
#
TOP= ${.CURDIR}/..
MINIROOT= ${.CURDIR}/../../miniroot
@ -26,8 +33,6 @@ RAMDISK!= cd ${TOP}/ramdisk/; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/ramdisk.fs\n" |\
${MAKE} -s -f-
DISKTYPE= instfs
# Some reasonable values for the -i parameter to newfs are:
#
# 6144 1147k, 189 inodes free
@ -36,18 +41,18 @@ DISKTYPE= instfs
INO_BYTES= 204800
BLOCKSIZE=512
FSTSIZE=32
FSSIZE!=if test -f ${RAMDISK}; then BLOCKSIZE=${BLOCKSIZE} du -s ${RAMDISK} | awk '{ print $$1 }'; else echo 32; fi
FSSIZE!= expr ${FSTSIZE} \* \( \( ${FSSIZE} + ${FSTSIZE} - 1 \) / ${FSTSIZE} \)
FSNC!=expr ${FSSIZE} / ${FSTSIZE}
FSSIZE!= expr ${BLOCKSIZE} \* 18 \* 2 \* 80
GEOM=${BLOCKSIZE}/18/2/80
CLEANFILES+= netbsd.ram.gz netbsd.tmp disktab.tmp
all: netbsd.ram.gz disktab.tmp
dd if=/dev/zero of=${IMAGE} bs=${BLOCKSIZE} count=${FSSIZE}
vnconfig -t ${DISKTYPE} -v -c ${VND_CDEV} ${IMAGE}
disklabel -f disktab.tmp -rw ${VND_CDEV} ${DISKTYPE}
disklabel -W ${VND_CDEV}
.MAIN: all
all: netbsd.ram.gz
dd if=/dev/zero of=${IMAGE} bs=${FSSIZE} count=1
vnconfig -v -c ${VND_CDEV} ${IMAGE} ${GEOM}
#newfs -B be -m 0 -o space -i ${INO_BYTES} -c 80 ${VND_RDEV}
newfs -B be -m 0 -o space -i ${INO_BYTES} -c 80 ${VND_RDEV}
mount ${VND_DEV} ${MOUNT_POINT}
TOPDIR=${TOP} CURDIR=${MINIROOT} OBJDIR=${.OBJDIR} \
@ -58,7 +63,7 @@ all: netbsd.ram.gz disktab.tmp
@echo ""
@echo "installing new bootblocks"
-rm -f ${MOUNT_POINT}/boot
${MDEC}/binstall -m ${MDEC} -v -b boot ffs ${MOUNT_POINT}
${MDEC}/binstall -m ${MDEC} -v ffs ${MOUNT_POINT}
umount ${MOUNT_POINT}
vnconfig -u ${VND_CDEV}
@ -66,17 +71,10 @@ unconfig:
-umount -f ${MOUNT_POINT}
-vnconfig -u ${VND_DEV}
disktab.tmp: netbsd.ram.gz
@echo "instfs:ty=floppy:se#512:nt#2:rm#300:ns#16:nc#${FSNC}:pa#${FSSIZE}:oa#0:ba#4096:fa#512:ta=4.2BSD:pc#${FSSIZE}:oc#0:" > ${.TARGET}
netbsd.ram: ${KERN} ${RAMDISK}
cp ${KERN} netbsd.tmp
mdsetimage -v netbsd.tmp ${RAMDISK}
mv netbsd.tmp ${.TARGET}
netbsd.ram.gz: ${KERN} ${RAMDISK}
cp ${KERN} netbsd.tmp
mdsetimage -v netbsd.tmp ${RAMDISK}
strip netbsd.tmp
gzip -9 netbsd.tmp
mv netbsd.tmp.gz ${.TARGET}
@ -94,9 +92,8 @@ release:
@false
.else
release: $(IMAGE)
cp -p netbsd.ram.gz $(RELEASEDIR)/installation/bootfs/netbsd.ram.gz
gzip -c -9 < $(.OBJDIR)/$(IMAGE) \
> $(RELEASEDIR)/installation/bootfs/$(IMAGE).gz
gzip -c -9 < $(.OBJDIR)/boot.fs \
> $(RELEASEDIR)/installation/bootfs/boot.fs.gz
.endif # RELEASEDIR check
.include <bsd.obj.mk>

View File

@ -0,0 +1,55 @@
# $NetBSD: Makefile,v 1.2 2000/10/20 11:56:58 pk Exp $
#
# instfs.tgz is the filesystem image for disk 2 of the floppy based
# installation method.
# It is constructed by tarring up the contents of the miniroot with
# the exeption of the kernel and boot program.
#
TOP= ${.CURDIR}/..
MINIROOT= ${.CURDIR}/../../miniroot
.include "${TOP}/Makefile.inc"
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
INSTFS?= instfs.tgz
MINIROOT_IMAGE!=cd ${MINIROOT}; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/miniroot.fs\n" | \
${MAKE} -s -f-
all: ${INSTFS}
${INSTFS}: ${MINIROOT_IMAGE}
vnconfig -v -c ${VND_CDEV} ${MINIROOT_IMAGE}
mount ${VND_DEV} ${MOUNT_POINT}
(cd ${MOUNT_POINT}; \
tar -z -X ${.CURDIR}/exclude -c -f ${.OBJDIR}/${.TARGET} .)
umount ${MOUNT_POINT}
vnconfig -u ${VND_CDEV}
unconfig:
-umount -f ${MOUNT_POINT}
-vnconfig -u ${VND_DEV}
-/bin/rm -f ${INSTFS}
clean cleandir distclean:
/bin/rm -f *.core ${INSTFS}
.ifndef RELEASEDIR
release:
@echo setenv RELEASEDIR first
@false
.else
release: $(INSTFS)
cp ${OBJDIR}/${INSTFS} $(RELEASEDIR)/installation/bootfs
.endif # RELEASEDIR check
.include <bsd.obj.mk>
.include <bsd.subdir.mk>

View File

@ -0,0 +1,2 @@
netbsd
boot

View File

@ -1,111 +0,0 @@
# $NetBSD: Makefile,v 1.11 2000/09/04 16:36:59 abs Exp $
TOP= ${.CURDIR}/..
MINIROOT= ${TOP}/../miniroot
HACKSRC= ${TOP}/../utils/libhack
SRCROOT= ${TOP}/../..
WARNS=1
.if ${MACHINE_ARCH} == "i386"
RAW_PART= d
.else
RAW_PART= c
.endif
# Need to add more cases
.if ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "m68k"
FS_END= be
.else # i386, pmax
FS_END= le
.endif
AUXDEPENDS= dot.profile termcap.mini \
dist/base_obsolete dist/comp_obsolete \
dist/games_obsolete dist/man_obsolete dist/misc_obsolete \
dist/secr_obsolete dist/xbase_obsolete dist/xserver_obsolete
AUXCLEAN= list ${CBIN}.conf dot.profile
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}${RAW_PART}
VND_CRDEV= /dev/r${VND}${RAW_PART}
IMAGE?= syramdisk.fs
CSIZE?= 3584
MDEC= ${DESTDIR}/usr/mdec
LISTS= list
CRUNCHCONF= ${CBIN}.conf
MTREE= mtree.conf
DISKTYPE?= floppyinstfs
all: ${CBIN} ${AUXDEPENDS} ${MTREE} ${LISTS} dot.profile
dd if=/dev/zero of=${IMAGE} count=${CSIZE}
vnconfig -v -c ${VND_CDEV} ${IMAGE}
disklabel -f ${.CURDIR}/disktab -rw ${VND_CDEV} ${DISKTYPE}
newfs -B ${FS_END} -m 0 -o space -i 5120 -c 56 ${VND_RDEV} ${DISKTYPE}
mount ${VND_DEV} ${MOUNT_POINT}
mtree -def ${.CURDIR}/${MTREE} -p ${MOUNT_POINT}/ -u
TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
KERNOBJDIR=${KERNOBJDIR} \
TARGDIR=${MOUNT_POINT} sh ${TOP}/runlist.sh ${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}
dot.profile: dot.profile.m4
m4 -DMACHINE_ARCH=${MACHINE_ARCH} -DMACHINE=${MACHINE} \
${.ALLSRC} > ${.TARGET}
${LISTS}: ${LISTS}.m4
m4 -DMACHINE_ARCH=${MACHINE_ARCH} -DMACHINE=${MACHINE} \
-DSRCROOT=${SRCROOT} ${.ALLSRC} > ${.TARGET}
${CBIN}.conf: ${CBIN}.m4
m4 -DMACHINE_ARCH=${MACHINE_ARCH} -DMACHINE=${MACHINE} \
${.ALLSRC} > ${.TARGET}
${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
crunchgen -D ${SRCROOT} -L ${DESTDIR}/usr/lib ${.ALLSRC}
${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c
${MAKE} -f ${CBIN}.mk all
# This is listed in ramdiskbin.conf but is built here.
${CBIN}: libhack.o
# Use stubs to eliminate some large stuff from libc
.include "${HACKSRC}/Makefile.inc"
# turn off small gethostby* temporarily
HACKOBJS:= getcap.o getgrent.o getnet.o getnetgr.o getpwent.o setlocale.o yplib.o
clean cleandir distclean:
/bin/rm -f *.core ${AUXCLEAN} ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache *.o *.lo *.cro *.c
.ifndef RELEASEDIR
release:
@echo setenv RELEASEDIR first
@false
.else
release: $(IMAGE)
gzip -c -9 < $(.OBJDIR)/$(IMAGE) \
> $(RELEASEDIR)/installation/bootfs/$(IMAGE).gz
.endif # RELEASEDIR check
.include <bsd.own.mk>
.include <bsd.obj.mk>
.include <bsd.subdir.mk>
.include <bsd.sys.mk>

View File

@ -1,36 +0,0 @@
# $NetBSD: disktab,v 1.2 2000/08/22 14:11:45 abs 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, ns*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)
#
floppyinstfs|NetBSD floppy install filesystem:\
:ty=floppy:se#512:nt#1:rm#300:ns#64:nc#56:\
:pa#3584:oa#0:ba#4096:fa#512:ta=4.2BSD:\
:pc#3584:oc#0:

View File

@ -1,137 +0,0 @@
$NetBSD: base_obsolete,v 1.1 1999/04/30 05:09:45 abs Exp $
/dev/vga
/dev/log
/sbin/dumpfs
/sbin/dumplfs
/sbin/mountd
/sbin/newlfs
/sbin/nfsd
/sbin/nfsiod
/sbin/quotacheck
/usr/include/machine/ansi.h
/usr/include/machine/aout_machdep.h
/usr/include/machine/apmvar.h
/usr/include/machine/asm.h
/usr/include/machine/bioscall.h
/usr/include/machine/bootinfo.h
/usr/include/machine/bsd_audioio.h
/usr/include/machine/bus.h
/usr/include/machine/cdefs.h
/usr/include/machine/conf.h
/usr/include/machine/cpu.h
/usr/include/machine/cpufunc.h
/usr/include/machine/cputypes.h
/usr/include/machine/db_machdep.h
/usr/include/machine/disklabel.h
/usr/include/machine/elf_machdep.h
/usr/include/machine/endian.h
/usr/include/machine/exec.h
/usr/include/machine/float.h
/usr/include/machine/frame.h
/usr/include/machine/freebsd_machdep.h
/usr/include/machine/gdt.h
/usr/include/machine/ibcs2_machdep.h
/usr/include/machine/ieeefp.h
/usr/include/machine/intr.h
/usr/include/machine/joystick.h
/usr/include/machine/limits.h
/usr/include/machine/linux_machdep.h
/usr/include/machine/mouse.h
/usr/include/machine/npx.h
/usr/include/machine/param.h
/usr/include/machine/pcb.h
/usr/include/machine/pccons.h
/usr/include/machine/pcvt_ioctl.h
/usr/include/machine/pio.h
/usr/include/machine/pmap.h
/usr/include/machine/proc.h
/usr/include/machine/profile.h
/usr/include/machine/psl.h
/usr/include/machine/pte.h
/usr/include/machine/ptrace.h
/usr/include/machine/reg.h
/usr/include/machine/segments.h
/usr/include/machine/setjmp.h
/usr/include/machine/signal.h
/usr/include/machine/specialreg.h
/usr/include/machine/spkr.h
/usr/include/machine/stdarg.h
/usr/include/machine/svr4_machdep.h
/usr/include/machine/sysarch.h
/usr/include/machine/trap.h
/usr/include/machine/tss.h
/usr/include/machine/types.h
/usr/include/machine/varargs.h
/usr/include/machine/vm86.h
/usr/include/machine/vmparam.h
/usr/include/machine
/usr/include/sparc
/usr/mdec/bootfd
/usr/mdec/bootsd
/usr/mdec/bootwd
/usr/mdec/fdboot
/usr/mdec/sdboot
/usr/mdec/wdboot
/usr/sbin/dig
/usr/sbin/dnsquery
/usr/sbin/gettable
/usr/sbin/host
/usr/sbin/htable
/usr/sbin/nslookup
/usr/sbin/nsquery
/usr/sbin/nstest
/usr/sbin/rdconfig
/usr/share/doc/smm/01.setup/tahoe
/usr/share/doc/smm/01.setup/vax
/usr/share/games/ching
/usr/share/man/cat4/tahoe
/usr/share/man/cat8/tahoe
/usr/share/man/man4/tahoe
/usr/share/man/man8/tahoe
/usr/share/misc/more.help
/usr/share/zoneinfo/Africa/Lumumbashi
/usr/share/zoneinfo/Asia/Aktau
/usr/share/zoneinfo/Asia/Alma-Ata
/usr/share/zoneinfo/Asia/Ishigaki
/usr/share/zoneinfo/Asia/Tomsk
/usr/share/zoneinfo/Europe/Kuybyshev
/usr/share/zoneinfo/GMT+1
/usr/share/zoneinfo/GMT+10
/usr/share/zoneinfo/GMT+11
/usr/share/zoneinfo/GMT+12
/usr/share/zoneinfo/GMT+13
/usr/share/zoneinfo/GMT+2
/usr/share/zoneinfo/GMT+3
/usr/share/zoneinfo/GMT+4
/usr/share/zoneinfo/GMT+5
/usr/share/zoneinfo/GMT+6
/usr/share/zoneinfo/GMT+7
/usr/share/zoneinfo/GMT+8
/usr/share/zoneinfo/GMT+9
/usr/share/zoneinfo/GMT-1
/usr/share/zoneinfo/GMT-10
/usr/share/zoneinfo/GMT-11
/usr/share/zoneinfo/GMT-12
/usr/share/zoneinfo/GMT-2
/usr/share/zoneinfo/GMT-3
/usr/share/zoneinfo/GMT-4
/usr/share/zoneinfo/GMT-5
/usr/share/zoneinfo/GMT-6
/usr/share/zoneinfo/GMT-7
/usr/share/zoneinfo/GMT-8
/usr/share/zoneinfo/GMT-9
/usr/share/zoneinfo/GMT1
/usr/share/zoneinfo/GMT10
/usr/share/zoneinfo/GMT11
/usr/share/zoneinfo/GMT12
/usr/share/zoneinfo/GMT13
/usr/share/zoneinfo/GMT2
/usr/share/zoneinfo/GMT3
/usr/share/zoneinfo/GMT4
/usr/share/zoneinfo/GMT5
/usr/share/zoneinfo/GMT6
/usr/share/zoneinfo/GMT7
/usr/share/zoneinfo/GMT8
/usr/share/zoneinfo/GMT9
/usr/share/zoneinfo/Moscow
/var/games/save

View File

@ -1,319 +0,0 @@
$NetBSD: comp_obsolete,v 1.1 1999/04/30 05:09:45 abs Exp $
/usr/bin/genclass
/usr/include/bfd/ansidecl.h
/usr/include/bfd/bfd.h
/usr/include/bfd/libiberty.h
/usr/include/bfd
/usr/include/dev/ic/isp_netbsd.h
/usr/include/dev/isa/ahareg.h
/usr/include/dev/isa/btreg.h
/usr/include/dev/isa/comreg.h
/usr/include/dev/isa/comvar.h
/usr/include/dev/isa/if_edreg.h
/usr/include/dev/isa/if_epreg.h
/usr/include/dev/isa/if_ie507.h
/usr/include/dev/isa/if_ieatt.h
/usr/include/dev/isa/if_iee16.h
/usr/include/dev/isa/lptreg.h
/usr/include/dev/isa/wdlink.h
/usr/include/dev/isa/wdreg.h
/usr/include/dev/mii/generic_phy.h
/usr/include/dev/mii/mii_adapter.h
/usr/include/dev/mii/mii_adapters_id.h
/usr/include/dev/mii/mii_phy.h
/usr/include/dev/mii/tlphy.h
/usr/include/dev/pci/ncr_reg.h
/usr/include/dev/ramdisk.h
/usr/include/dev/scsipi/cd_link.h
/usr/include/dev/tc/clockvar.h
/usr/include/dev/vndioctl.h
/usr/include/dev/vnioctl.h
/usr/include/g++/ACG.h
/usr/include/g++/AllocRing.h
/usr/include/g++/Binomial.h
/usr/include/g++/BitSet.h
/usr/include/g++/BitString.h
/usr/include/g++/Complex.h
/usr/include/g++/CursesW.h
/usr/include/g++/DLList.h
/usr/include/g++/DiscUnif.h
/usr/include/g++/Erlang.h
/usr/include/g++/Fix.h
/usr/include/g++/Fix16.h
/usr/include/g++/Fix24.h
/usr/include/g++/Geom.h
/usr/include/g++/GetOpt.h
/usr/include/g++/HypGeom.h
/usr/include/g++/Incremental.h
/usr/include/g++/Integer.h
/usr/include/g++/LogNorm.h
/usr/include/g++/MLCG.h
/usr/include/g++/NegExp.h
/usr/include/g++/Normal.h
/usr/include/g++/Obstack.h
/usr/include/g++/Pix.h
/usr/include/g++/Poisson.h
/usr/include/g++/RNG.h
/usr/include/g++/Random.h
/usr/include/g++/Rational.h
/usr/include/g++/Regex.h
/usr/include/g++/RndInt.h
/usr/include/g++/SLList.h
/usr/include/g++/SmplHist.h
/usr/include/g++/SmplStat.h
/usr/include/g++/String.h
/usr/include/g++/Uniform.h
/usr/include/g++/Weibull.h
/usr/include/g++/bitdo1.h
/usr/include/g++/bitdo2.h
/usr/include/g++/bitprims.h
/usr/include/g++/bool.h
/usr/include/g++/builtin.h
/usr/include/g++/compare.h
/usr/include/g++/faralloc.h
/usr/include/g++/fdeque.h
/usr/include/g++/flist.h
/usr/include/g++/fmap.h
/usr/include/g++/fmultmap.h
/usr/include/g++/fmultset.h
/usr/include/g++/fset.h
/usr/include/g++/gen/AVLMap.ccP
/usr/include/g++/gen/AVLMap.hP
/usr/include/g++/gen/AVLSet.ccP
/usr/include/g++/gen/AVLSet.hP
/usr/include/g++/gen/AVec.ccP
/usr/include/g++/gen/AVec.hP
/usr/include/g++/gen/BSTSet.ccP
/usr/include/g++/gen/BSTSet.hP
/usr/include/g++/gen/Bag.ccP
/usr/include/g++/gen/Bag.hP
/usr/include/g++/gen/CHBag.ccP
/usr/include/g++/gen/CHBag.hP
/usr/include/g++/gen/CHMap.ccP
/usr/include/g++/gen/CHMap.hP
/usr/include/g++/gen/CHNode.ccP
/usr/include/g++/gen/CHNode.hP
/usr/include/g++/gen/CHSet.ccP
/usr/include/g++/gen/CHSet.hP
/usr/include/g++/gen/DLDeque.ccP
/usr/include/g++/gen/DLDeque.hP
/usr/include/g++/gen/DLList.ccP
/usr/include/g++/gen/DLList.hP
/usr/include/g++/gen/Deque.ccP
/usr/include/g++/gen/Deque.hP
/usr/include/g++/gen/FPQueue.ccP
/usr/include/g++/gen/FPQueue.hP
/usr/include/g++/gen/FPStack.ccP
/usr/include/g++/gen/FPStack.hP
/usr/include/g++/gen/FPlex.ccP
/usr/include/g++/gen/FPlex.hP
/usr/include/g++/gen/List.ccP
/usr/include/g++/gen/List.hP
/usr/include/g++/gen/MPlex.ccP
/usr/include/g++/gen/MPlex.hP
/usr/include/g++/gen/Map.ccP
/usr/include/g++/gen/Map.hP
/usr/include/g++/gen/OSLBag.ccP
/usr/include/g++/gen/OSLBag.hP
/usr/include/g++/gen/OSLSet.ccP
/usr/include/g++/gen/OSLSet.hP
/usr/include/g++/gen/OXPBag.ccP
/usr/include/g++/gen/OXPBag.hP
/usr/include/g++/gen/OXPSet.ccP
/usr/include/g++/gen/OXPSet.hP
/usr/include/g++/gen/PHPQ.ccP
/usr/include/g++/gen/PHPQ.hP
/usr/include/g++/gen/PQ.ccP
/usr/include/g++/gen/PQ.hP
/usr/include/g++/gen/PSList.hP
/usr/include/g++/gen/PVec.hP
/usr/include/g++/gen/Plex.ccP
/usr/include/g++/gen/Plex.hP
/usr/include/g++/gen/Queue.ccP
/usr/include/g++/gen/Queue.hP
/usr/include/g++/gen/RAVLMap.ccP
/usr/include/g++/gen/RAVLMap.hP
/usr/include/g++/gen/RPlex.ccP
/usr/include/g++/gen/RPlex.hP
/usr/include/g++/gen/SLBag.ccP
/usr/include/g++/gen/SLBag.hP
/usr/include/g++/gen/SLList.ccP
/usr/include/g++/gen/SLList.hP
/usr/include/g++/gen/SLQueue.ccP
/usr/include/g++/gen/SLQueue.hP
/usr/include/g++/gen/SLSet.ccP
/usr/include/g++/gen/SLSet.hP
/usr/include/g++/gen/SLStack.ccP
/usr/include/g++/gen/SLStack.hP
/usr/include/g++/gen/Set.ccP
/usr/include/g++/gen/Set.hP
/usr/include/g++/gen/SkipBag.ccP
/usr/include/g++/gen/SkipBag.hP
/usr/include/g++/gen/SkipMap.ccP
/usr/include/g++/gen/SkipMap.hP
/usr/include/g++/gen/SkipSet.ccP
/usr/include/g++/gen/SkipSet.hP
/usr/include/g++/gen/SplayBag.ccP
/usr/include/g++/gen/SplayBag.hP
/usr/include/g++/gen/SplayMap.ccP
/usr/include/g++/gen/SplayMap.hP
/usr/include/g++/gen/SplayNode.ccP
/usr/include/g++/gen/SplayNode.hP
/usr/include/g++/gen/SplayPQ.ccP
/usr/include/g++/gen/SplayPQ.hP
/usr/include/g++/gen/SplaySet.ccP
/usr/include/g++/gen/SplaySet.hP
/usr/include/g++/gen/Stack.ccP
/usr/include/g++/gen/Stack.hP
/usr/include/g++/gen/VHBag.ccP
/usr/include/g++/gen/VHBag.hP
/usr/include/g++/gen/VHMap.ccP
/usr/include/g++/gen/VHMap.hP
/usr/include/g++/gen/VHSet.ccP
/usr/include/g++/gen/VHSet.hP
/usr/include/g++/gen/VOHSet.ccP
/usr/include/g++/gen/VOHSet.hP
/usr/include/g++/gen/VQueue.ccP
/usr/include/g++/gen/VQueue.hP
/usr/include/g++/gen/VStack.ccP
/usr/include/g++/gen/VStack.hP
/usr/include/g++/gen/Vec.ccP
/usr/include/g++/gen/Vec.hP
/usr/include/g++/gen/XPBag.ccP
/usr/include/g++/gen/XPBag.hP
/usr/include/g++/gen/XPDeque.ccP
/usr/include/g++/gen/XPDeque.hP
/usr/include/g++/gen/XPPQ.ccP
/usr/include/g++/gen/XPPQ.hP
/usr/include/g++/gen/XPQueue.ccP
/usr/include/g++/gen/XPQueue.hP
/usr/include/g++/gen/XPSet.ccP
/usr/include/g++/gen/XPSet.hP
/usr/include/g++/gen/XPStack.ccP
/usr/include/g++/gen/XPStack.hP
/usr/include/g++/gen/XPlex.ccP
/usr/include/g++/gen/XPlex.hP
/usr/include/g++/gen/defs.hP
/usr/include/g++/gen/intSList.hP
/usr/include/g++/gen/intVec.hP
/usr/include/g++/gen
/usr/include/g++/generic.h
/usr/include/g++/getpagesize.h
/usr/include/g++/hdeque.h
/usr/include/g++/hlist.h
/usr/include/g++/hmap.h
/usr/include/g++/hmultmap.h
/usr/include/g++/hmultset.h
/usr/include/g++/hset.h
/usr/include/g++/hugalloc.h
/usr/include/g++/hvector.h
/usr/include/g++/ioprivate.h
/usr/include/g++/lbvector.h
/usr/include/g++/ldeque.h
/usr/include/g++/libc.h
/usr/include/g++/llist.h
/usr/include/g++/lmap.h
/usr/include/g++/lmultmap.h
/usr/include/g++/lmultset.h
/usr/include/g++/lngalloc.h
/usr/include/g++/lset.h
/usr/include/g++/minmax.h
/usr/include/g++/neralloc.h
/usr/include/g++/nmap.h
/usr/include/g++/nmultmap.h
/usr/include/g++/nmultset.h
/usr/include/g++/nset.h
/usr/include/g++/osfcn.h
/usr/include/g++/projectn.h
/usr/include/g++/random.cc
/usr/include/g++/regex.h
/usr/include/g++/rx.h
/usr/include/g++/std.h
/usr/include/g++/std/cassert.h
/usr/include/g++/std/cctype.h
/usr/include/g++/std/cerrno.h
/usr/include/g++/std/cfloat.h
/usr/include/g++/std/cinst.h
/usr/include/g++/std/ciso646.h
/usr/include/g++/std/climits.h
/usr/include/g++/std/clocale.h
/usr/include/g++/std/cmath.h
/usr/include/g++/std/complex.h
/usr/include/g++/std/csetjmp.h
/usr/include/g++/std/csignal.h
/usr/include/g++/std/cstdarg.h
/usr/include/g++/std/cstddef.h
/usr/include/g++/std/cstdio.h
/usr/include/g++/std/cstdlib.h
/usr/include/g++/std/cstring.h
/usr/include/g++/std/ctime.h
/usr/include/g++/std/cwchar.h
/usr/include/g++/std/cwctype.h
/usr/include/g++/std/exception.h
/usr/include/g++/std/new.h
/usr/include/g++/std/sinst.h
/usr/include/g++/std/stddef.h
/usr/include/g++/std/stdexcept.h
/usr/include/g++/std/string.h
/usr/include/g++/std/typeinfo.h
/usr/include/g++/stddef
/usr/include/g++/strclass.h
/usr/include/g++/swap.h
/usr/include/g++/sysent.h
/usr/include/g++/tempbuf.cc
/usr/include/g++/tree.cc
/usr/include/g++/typemacros.h
/usr/include/g++/values.h
/usr/include/netinet/if_arc.h
/usr/include/netiso/tuba_table.h
/usr/include/nfs/nfsv2.h
/usr/include/objc/list.h
/usr/include/sys/vcmd.h
/usr/include/sys/vlimit.h
/usr/include/vm/device_pager.h
/usr/include/vm/lock.h
/usr/include/vm/swap_pager.h
/usr/include/vm/vnode_pager.h
/usr/lib/libamu.a
/usr/lib/libamu_p.a
/usr/lib/libamu_pic.a
/usr/lib/libbfd.a
/usr/lib/libbfd_pic.a
/usr/lib/libc_pic.a
/usr/lib/libcrypt_pic.a
/usr/lib/libcurses_pic.a
/usr/lib/libedit_pic.a
/usr/lib/libg++.a
/usr/lib/libg++_p.a
/usr/lib/libg++_pic.a
/usr/lib/libgnumalloc_pic.a
/usr/lib/libkvm_pic.a
/usr/lib/libm_pic.a
/usr/lib/libntp_pic.a
/usr/lib/libossaudio_pic.a
/usr/lib/libpcap_pic.a
/usr/lib/libposix_pic.a
/usr/lib/libresolv_pic.a
/usr/lib/libskey_pic.a
/usr/lib/libstdc++_pic.a
/usr/lib/libtelnet_pic.a
/usr/lib/libtermcap_pic.a
/usr/lib/libutil_pic.a
/usr/lib/libwrap_pic.a
/usr/lib/libz_pic.a
/usr/sbin/config.new
/usr/share/man/cat1/flexdoc.0
/usr/share/man/cat1/lexdoc.0
/usr/share/man/cat2/getdirentries.0
/usr/share/man/cat2/swapon.0
/usr/share/man/cat3/regsterrpc.0
/usr/share/man/cat3/setgrfile.0
/usr/share/man/cat3/setpwfile.0
/usr/share/man/cat3/setregid.0
/usr/share/man/cat3/setreuid.0
/usr/share/man/cat8/config.new.0
/usr/share/man/man3/regsterrpc.3
/usr/share/misc/gprof.callg
/usr/share/misc/gprof.flat
/usr/share/mk/bsd.port.mk
/usr/share/mk/bsd.port.subdir.mk

View File

@ -1,8 +0,0 @@
$NetBSD: games_obsolete,v 1.1 1999/04/30 05:09:45 abs Exp $
/usr/games/chess
/usr/games/hide/chess
/usr/share/games/atc/ATC_scores
/usr/share/games/gnuchess.book
/usr/share/games/larn/lfortune
/usr/share/man/cat6/chess.0
/usr/share/man/man6/chess.6

View File

@ -1,46 +0,0 @@
$NetBSD: man_obsolete,v 1.1 1999/04/30 05:09:45 abs Exp $
/usr/share/man/cat1/amq.0
/usr/share/man/cat1/ld.so.0
/usr/share/man/cat1/pstat.0
/usr/share/man/cat1/rpc.rquotad.0
/usr/share/man/cat1/rtld.0
/usr/share/man/cat1/ttyflags.0
/usr/share/man/cat3/dlclose.0
/usr/share/man/cat3/dlctl.0
/usr/share/man/cat3/dlerror.0
/usr/share/man/cat3/dlfcn.0
/usr/share/man/cat3/dlopen.0
/usr/share/man/cat3/dlsym.0
/usr/share/man/cat4/imp.0
/usr/share/man/cat5/inetd.0
/usr/share/man/cat5/pcfs.0
/usr/share/man/cat5/securenet.0
/usr/share/man/cat5/uuencode.format.0
/usr/share/man/cat5/ypserv.acl.0
/usr/share/man/cat7/miscellaneous.0
/usr/share/man/cat8/fdisk.0
/usr/share/man/cat8/gettable.0
/usr/share/man/cat8/htable.0
/usr/share/man/cat8/sparc/bad144.0
/usr/share/man/cat8/sparc/reboot.0
/usr/share/man/cat8/sparc/reboot_sparc.0
/usr/share/man/cat8/newlfs.0
/usr/share/man/cat8/pppd.cbcp.0
/usr/share/man/cat8/rdconfig.0
/usr/share/man/cat8/sun3x/installboot.0
/usr/share/man/cat8/sun3x
/usr/share/man/cat9/boot.0
/usr/share/man/man3/dlclose.3
/usr/share/man/man3/dlctl.3
/usr/share/man/man3/dlerror.3
/usr/share/man/man3/dlfcn.3
/usr/share/man/man3/dlopen.3
/usr/share/man/man3/dlsym.3
/usr/share/man/man5/securenet.5
/usr/share/man/man5/ypserv.acl.5
/usr/share/man/man8/gettable.8
/usr/share/man/man8/htable.8
/usr/share/man/man8/newlfs.8
/usr/share/man/man8/pppd.cbcp.8
/usr/share/man/man8/sun3x/installboot.8
/usr/share/man/man8/sun3x

View File

@ -1,16 +0,0 @@
$NetBSD: misc_obsolete,v 1.1 1999/04/30 05:09:45 abs Exp $
/usr/share/doc/smm/03.fsck/0.t
/usr/share/doc/smm/03.fsck/1.t
/usr/share/doc/smm/03.fsck/2.t
/usr/share/doc/smm/03.fsck/3.t
/usr/share/doc/smm/03.fsck/4.t
/usr/share/doc/smm/03.fsck/Makefile
/usr/share/doc/smm/03.fsck
/usr/share/doc/usd/11.edit/edit.vindex
/usr/share/doc/usd/12.vi/vi.apwh.ms
/usr/share/doc/usd/12.vi/vi.summary
/usr/share/doc/usd/13.ex/ex.summary
/usr/share/doc/usd/13.viref/merge.awk
/usr/share/doc/usd/13.viref/spell.ok
/usr/share/examples/supfiles/skarven.itea.unit.no
/usr/share/sendmail/cf/trinity.mc

View File

@ -1,23 +0,0 @@
$NetBSD: secr_obsolete,v 1.1 1999/04/30 05:09:45 abs Exp $
/usr/include/kerberosIV
/usr/lib/libacl_pic.a
/usr/lib/libcom_err_pic.a
/usr/lib/libcrypt_pic.a
/usr/lib/libdes_pic.a
/usr/lib/libkadm_pic.a
/usr/lib/libkafs_pic.a
/usr/lib/libkdb_pic.a
/usr/lib/libkrb_pic.a
/usr/lib/libkstream_pic.a
/usr/lib/libntp_pic.a
/usr/lib/libss_pic.a
/usr/lib/libtelnet_pic.a
/usr/share/man/cat1/telnet.0
/usr/share/man/cat3/cbc_cksum.0
/usr/share/man/cat3/cbc_encrypt.0
/usr/share/man/cat3/ecb_encrypt.0
/usr/share/man/cat3/pcbc_encrypt.0
/usr/share/man/cat3/quad_cksum.0
/usr/share/man/cat3/random_key.0
/usr/share/man/cat3/string_to_key.0
/usr/share/man/man1/telnet.1

View File

@ -1,2 +0,0 @@
$NetBSD: xbase_obsolete,v 1.1 1999/04/30 05:09:45 abs Exp $
/usr/X11R6/lib/X11/locale/tbl_data/tabkoi8-r

View File

@ -1,2 +0,0 @@
$NetBSD: xserver_obsolete,v 1.1 1999/04/30 05:09:45 abs Exp $
/usr/X11R6/lib/X11/doc/README.NV1

View File

@ -1,73 +0,0 @@
# $NetBSD: dot.profile.m4,v 1.5 2000/08/22 14:11:45 abs Exp $
#
# Copyright (c) 1997 Perry E. Metzger
# 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 for the
# NetBSD Project. See http://www.netbsd.org/ for
# information about NetBSD.
# 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.
#
# <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
export PATH
ifelse(MACHINE,i386,TERM=pc3)
ifelse(MACHINE,sparc,TERM=sun)
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 ''
echo -n "Terminal type (just hit ENTER for '$TERM'): "
read ans
if [ -n "$ans" ];then
TERM=$ans
fi
# mount the ramdisk read write
mount -u $ROOTDEV /
# run the installation or upgrade script.
sysinst
fi

View File

@ -1,114 +0,0 @@
# $NetBSD: list.m4,v 1.6 2000/08/22 14:11:46 abs Exp $
# 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/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/dmesg
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/mknod
LINK ramdiskbin sbin/mount
LINK ramdiskbin sbin/mount_cd9660
LINK ramdiskbin sbin/mount_ffs
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
ifelse(MACHINE,i386, LINK ramdiskbin sbin/fdisk)
ifelse(MACHINE,i386, LINK ramdiskbin sbin/mbrlabel)
ifelse(MACHINE,i386, LINK ramdiskbin sbin/mount_ext2fs)
ifelse(MACHINE,sparc, LINK ramdiskbin sbin/sysctl)
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/mdec/installboot
SYMLINK /bin/cat usr/sbin/chown
SYMLINK /bin/cat usr/sbin/chroot
ifelse(MACHINE,i386, SYMLINK /bin/cat usr/sbin/bad144)
ifelse(MACHINE,sparc, SYMLINK /bin/cat usr/bin/getopt)
SPECIAL /bin/rm ramdiskbin
# various files that we need in /etc for the install
COPY SRCROOT/etc/group etc/group
COPY SRCROOT/etc/master.passwd etc/master.passwd
COPYSTRIPCOMMENTS SRCROOT/etc/netconfig etc/netconfig
COPYSTRIPCOMMENTS SRCROOT/etc/protocols etc/protocols
COPYSTRIPCOMMENTS SRCROOT/etc/services etc/services
SPECIAL pwd_mkdb -p -d ./ etc/master.passwd
SPECIAL /bin/rm etc/spwd.db
SPECIAL /bin/rm etc/pwd.db
# copy the MAKEDEV script and make some devices
COPY SRCROOT/etc/etc.MACHINE/MAKEDEV dev/MAKEDEV
SPECIAL cd dev; sh MAKEDEV ramdisk
SPECIAL /bin/rm dev/MAKEDEV
# we need the boot block in /usr/mdec + the arch specific extras
ifelse(MACHINE,sparc, COPY ${DESTDIR}/usr/mdec/boot usr/mdec/boot)
ifelse(MACHINE,sparc, COPY ${DESTDIR}/usr/mdec/bootxx usr/mdec/bootxx)
ifelse(MACHINE,sparc, COPY ${DESTDIR}/usr/mdec/binstall usr/mdec/binstall)
ifelse(MACHINE,i386, COPY ${DESTDIR}/usr/mdec/biosboot.sym usr/mdec/biosboot.sym)
ifelse(MACHINE,i386, COPY ${DESTDIR}/usr/mdec/mbr usr/mdec/mbr)
ifelse(MACHINE,i386, COPY ${DESTDIR}/usr/mdec/mbr_bootsel usr/mdec/mbr_bootsel)
# and the common installation tools
COPY termcap.mini usr/share/misc/termcap
#the lists of obsolete files used by sysinst
COPY dist/base_obsolete dist/base_obsolete
COPY dist/comp_obsolete dist/comp_obsolete
COPY dist/games_obsolete dist/games_obsolete
COPY dist/man_obsolete dist/man_obsolete
COPY dist/misc_obsolete dist/misc_obsolete
COPY dist/secr_obsolete dist/secr_obsolete
COPY dist/xbase_obsolete dist/xbase_obsolete
COPY dist/xserver_obsolete dist/xserver_obsolete
# and the installation tools
COPY ${OBJDIR}/dot.profile .profile
#the lists of obsolete files used by sysinst
SPECIAL sh ${CURDIR}/../../sets/makeobsolete -b -s ${CURDIR}/../../sets -t ./dist

View File

@ -1,77 +0,0 @@
# $NetBSD: mtree.conf,v 1.2 2000/08/22 14:11:46 abs 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
..
# ./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
..

View File

@ -1,48 +0,0 @@
# $NetBSD: ramdiskbin.m4,v 1.4 2000/08/22 14:11:46 abs Exp $
#
# ramdiskbin.conf - unified binary for the install ramdisk
#
srcdirs bin sbin usr.bin/less usr.bin usr.sbin gnu/usr.bin sys/arch/MACHINE/stand
progs cat chmod chown chroot cp dd df disklabel dmesg ed
progs fsck fsck_ffs ftp gzip ifconfig init installboot
progs less ln ls mkdir mknod mount mount_cd9660
progs mount_ffs mount_msdos mount_nfs mt mv newfs pax
progs ping pwd reboot restore rm route sed sh shutdown
progs slattach swapctl sync sysinst test stty tip umount
ifelse(MACHINE,i386,progs bad144 fdisk mbrlabel mount_ext2fs)
ifelse(MACHINE,sparc,progs getopt sysctl) # Used by binstall
special sysinst srcdir distrib/utils/sysinst/arch/MACHINE
special init srcdir distrib/utils/init_s
special dd srcdir distrib/utils/x_dd
special dmesg srcdir distrib/utils/x_dmesg
special ed srcdir distrib/utils/x_ed
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
special sh srcdir distrib/utils/x_sh
# "special" gzip is actually larger assuming nothing else uses -lz..
#special gzip srcdir distrib/utils/x_gzip
#x_dhclient, x_netstat, x_ping6 not current used
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 reboot halt
ln restore rrestore
# libhack.o is built by Makefile & included Makefile.inc
libs libhack.o -ledit -lutil -lcurses -ltermcap -lrmt -lbz2 -lcrypt -ll -lm

View File

@ -1,202 +0,0 @@
# $NetBSD: termcap.mini,v 1.1 1999/04/30 05:09:44 abs 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
#
pc3|ibmpc3|IBM PC 386BSD Console:\
:DO=\E[%dB:K1=\E[H:K2=\E[E:K3=\E[I:K4=\E[F:K5=\E[G:LE=\E[%dD:\
:RI=\E[%dC:UP=\E[%dA:am:bl=^G:bs:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
:cm=\E[%i%d;%dH:co#80:cr=^M:do=^J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%?%p9%t\016%e\017%;:\
:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
:up=\E[A:us=\E[4m:
adm+sgr|adm style highlight capabilities:\
:me=\EG0:mk=\EG1:mr=\EG4:se=\EG0:so=\EG4:ue=\EG0:us=\EG8:
dumb|80-column dumb tty:\
:am:\
:co#80:\
:bl=^G:cr=^M:do=^J:sf=^J:
unknown|unknown terminal type:\
:gn:tc=dumb:
glasstty|classic glass tty interpreting ASCII control characters:\
:am:\
:co#80:\
:bl=^G:cl=^L:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:le=^H:nw=^M^J:\
:ta=^I:
vt52|dec vt52:\
:bs:\
:co#80:it#8:li#24:\
:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
:ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
:cr=^M:do=\EB:ho=\EH:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:\
:le=\ED:nd=\EC:nw=^M^J:sf=^J:sr=\EI:ta=^I:up=\EA:
wy50|wyse50|Wyse 50:\
:5i:am:bs:bw:hs:mi:ms:xo:\
:Nl#8:co#80:lh#1:li#24:lw#8:ma#1:ws#45:\
:#2=\E{:%9=\EP:&3=\Er:@8=\E7:F1=^AJ\r:F2=^AK\r:F3=^AL\r:\
:F4=^AM\r:F5=^AN\r:F6=^AO\r:LF=\EA11:LO=\EA10:\
:ac=0wa_h[jukslrmqnxqzttuyv]wpxv:ae=\EH^C:al=\EE:\
:as=\EH^B:bl=^G:bt=\EI:cd=\EY:ce=\ET:cl=\E+:cm=\E=%+ %+ :\
:cr=^M:ct=\E0:dc=\EW:dl=\ER:do=^J:ds=\EF\r:ei=\Er:fs=^M:\
:ho=^^:i1=\E`\072\E`9:im=\Eq:ip=:is=\016\024\E'\E(:\
:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r: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line:\
:am:km:ms:\
:co#80:li#34:\
:%7=\E[194z:&5=\E[193z:&8=\E[195z:@7=\E[220z:AL=\E[%dL:\
:DC=\E[%dP:DL=\E[%dM:F1=\E[234z:F2=\E[235z:IC=\E[%d@:\
:K2=\E[218z:al=\E[L:bl=^G:cd=\E[J:ce=\E[K:cl=^L:\
:cm=\E[%i%d;%dH:cr=^M:dc=\E[P:dl=\E[M:do=^J:ei=:ic=\E[@:im=:\
:k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\
:k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z:k;=\E[233z:\
:kD=\177:kN=\E[222z:kP=\E[216z:kb=^H:kd=\E[B:kh=\E[214z:\
:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:\
:nd=\E[C:r2=\E[s:\
:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m:\
:se=\E[m:sf=^J:so=\E[7m:ta=^I:ue=\E[m:up=\E[A:us=\E[4m:
sun|sun1|sun2|Sun Microsystems Inc. workstation console:\
:tc=sun-il:
sun-ss5|Sun SparcStation 5 console:\
:AL@:al@:tc=sun-il:
xterm-r6|xterm-old|xterm X11R6 version:\
:am:bs:km:mi:ms:xn:\
:co#80:it#8:li#24:\
:*6=\E[4~:@0=\E[1~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
:DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
:F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
:FA=\E[34~:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d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2:\
:tc=adm+sgr:

View File

@ -1,4 +1,10 @@
# $NetBSD: Makefile,v 1.20 2000/09/04 17:04:24 abs Exp $
# $NetBSD: Makefile,v 1.21 2000/10/20 11:56:58 pk Exp $
#
# ramdisk.fs is the microroot filesystem intended for use with
# the INSTALL kernel. It provides just enough tools to extract the
# miniroot-based `instfs' filesystem into an MFS mount point
# and start the installation scripts from there (see dot.profile).
#
TOP= ${.CURDIR}/..
MINIROOT= ${.CURDIR}/../../miniroot
@ -20,13 +26,14 @@ IMAGE?= ramdisk.fs
LISTS= list
MTREE= mtree.conf
SIZE= 1980k
DISKTYPE= instfs
GEOM= 512/18/2/110
INO_BYTES= 4096
# image size in 512-byte blocks
SIZE= 1360
#DISKTYPE= instfs
GEOM= 512/1/${SIZE}/1
INO_BYTES= 2048
all: ${CBIN}
dd if=/dev/zero of=${IMAGE} bs=${SIZE} count=1
dd if=/dev/zero of=${IMAGE} bs=${SIZE}b count=1
#vnconfig -t ${DISKTYPE} -v -c ${VND_CDEV} ${IMAGE}
vnconfig -v -c ${VND_CDEV} ${IMAGE} ${GEOM}
#disklabel -rw ${VND_CDEV} ${DISKTYPE}
@ -55,7 +62,7 @@ ${CBIN}.conf: ${LISTS}
awk -f ${MINIROOT}/makeconf.awk CBIN=${CBIN} ${.CURDIR}/${LISTS} > ${CBIN}.conf
${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c
${MAKE} -f ${CBIN}.mk all
make -f ${CBIN}.mk all
# This is listed in ramdiskbin.conf but is built here.
${CBIN}: libhack.o
@ -75,8 +82,8 @@ release:
@false
.else
release: $(IMAGE)
gzip -c -9 < $(.OBJDIR)/$(IMAGE) \
> $(RELEASEDIR)/installation/bootfs/$(IMAGE).gz
gzip -c -9 < $(.OBJDIR)/ramdisk.fs \
> $(RELEASEDIR)/installation/bootfs/ramdisk.fs.gz
.endif # RELEASEDIR check
.include <bsd.obj.mk>

View File

@ -1,9 +1,11 @@
# $NetBSD: dot.profile,v 1.10 2000/06/14 22:52:47 cgd Exp $
# $NetBSD: dot.profile,v 1.11 2000/10/20 11:56:58 pk Exp $
#
# Copyright (c) 1995 Jason R. Thorpe
# Copyright (c) 1994 Christopher G. Demetriou
# Copyright (c) 2000 The NetBSD Foundation, Inc.
# All rights reserved.
#
#
# This code is derived from software contributed to The NetBSD Foundation
# by Paul Kranenburg.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
@ -14,73 +16,65 @@
# 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 for the
# NetBSD Project. See http://www.netbsd.org/ for
# information about NetBSD.
# 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.
#
# <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
# This product includes software developed by the NetBSD
# Foundation, Inc. and its contributors.
# 4. Neither the name of The NetBSD Foundation 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 NETBSD FOUNDATION, INC. 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 FOUNDATION 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.
#
PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
export PATH
HOME=/
export HOME
EDITOR=ed
export EDITOR
umask 022
if [ "X${DONEPROFILE}" = "X" ]; then
DONEPROFILE=YES
export DONEPROFILE
# set up some sane defaults
echo 'erase ^H, werase ^W, kill ^U, intr ^C, status ^T'
stty newcrt werase ^W intr ^C kill ^U erase ^H status ^T 9600
# mount root read-write
mount -u /dev/md0a /
# mount a /tmp on mfs, to avoid filling the md
mount -t mfs swap /tmp
# Installing or upgrading?
_forceloop=""
while [ "X${_forceloop}" = X"" ]; do
echo -n '(I)nstall, (U)pgrade, (H)alt or (S)hell ? '
read _forceloop
case "$_forceloop" in
i*|I*)
/install
;;
u*|U*)
/upgrade
;;
h*|H*)
/sbin/halt
;;
s*|S*)
/bin/sh
;;
*)
_forceloop=""
;;
esac
done
if [ "${BOOTFS_DONEPROFILE}" = "YES" ]; then
exit
fi
BOOTFS_DONEPROFILE=YES
export BOOTFS_DONEPROFILE
# mount root read-write
mount -u /dev/md0a /
# mount /instfs
MINIROOT_FSSIZE=10000
mount -t mfs -o -s=$MINIROOT_FSSIZE swap /instfs
# Load instfs
echo ""
echo "If you booted the system from a floppy you can now remove the disk."
echo ""
echo "Next, insert the floppy disk labeled \`instfs' into the disk drive."
echo "The question below allows you to specify the device name of the floppy"
echo "drive. Usually, the default answer \`floppy' will do just fine."
echo ""
_dev="floppy"
while :; do
#if [ "$_dev" = "" ] ; then _dev=floppy; fi
echo -n "Device to load the \`instfs' filesystem from [$_dev]: "
read _answer
if [ "$_answer" != "" ]; then _dev=$_answer; fi
if [ "$_dev" = floppy ]; then _dev=/dev/rfd0a; fi
if [ "$_dev" = "none" ]; then continue; fi
(cd /instfs && tar zxvpf $_dev) && break
done
# switch to /instfs, and pretend we logged in there.
exec chroot /instfs /bin/sh /.profile

View File

@ -1,130 +1,35 @@
# $NetBSD: list,v 1.12 2000/06/07 20:44:33 thorpej Exp $
# $NetBSD: list,v 1.13 2000/10/20 11:56:58 pk Exp $
LIBS libhack.o -lz -lpcap -lbz2
LIBS libhack.o -lz
CRUNCHSPECIAL dd srcdir distrib/utils/x_dd
CRUNCHSPECIAL ftp srcdir distrib/utils/x_ftp
CRUNCHSPECIAL gzip srcdir distrib/utils/x_gzip
CRUNCHSPECIAL ifconfig srcdir distrib/utils/x_ifconfig
CRUNCHSPECIAL init srcdir distrib/utils/init_s
CRUNCHSPECIAL netstat srcdir distrib/utils/x_netstat
CRUNCHSPECIAL route srcdir distrib/utils/x_route
CRUNCHSPECIAL sh srcdir distrib/utils/x_sh
CRUNCHSPECIAL ping srcdir distrib/utils/x_ping
SRCDIRS bin gnu/usr.bin/binutils gnu/usr.bin sbin sys/arch/sparc/stand usr.bin/less usr.bin usr.sbin/pppd usr.sbin
SRCDIRS bin sbin usr.bin usr.sbin
# copy the crunched binary, link to it, and kill it
COPY ${OBJDIR}/ramdiskbin ramdiskbin
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/expr
LINK ramdiskbin bin/hostname
LINK ramdiskbin bin/kill
LINK ramdiskbin bin/ln
LINK ramdiskbin bin/ls
LINK ramdiskbin bin/mkdir
LINK ramdiskbin bin/mt
LINK ramdiskbin bin/mv
LINK ramdiskbin bin/pax usr/bin/tar usr/bin/cpio
LINK ramdiskbin bin/rm
LINK ramdiskbin bin/rcmd
LINK ramdiskbin bin/rcp
LINK ramdiskbin bin/sh
LINK ramdiskbin bin/sleep
LINK ramdiskbin bin/stty
LINK ramdiskbin bin/sync
LINK ramdiskbin bin/test bin/[
LINK ramdiskbin bin/cat
LINK ramdiskbin sbin/disklabel
LINK ramdiskbin sbin/fsck
LINK ramdiskbin sbin/fsck_ffs
LINK ramdiskbin sbin/ifconfig
LINK ramdiskbin sbin/init
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_nfs
LINK ramdiskbin sbin/newfs sbin/mount_mfs
LINK ramdiskbin sbin/ping
LINK ramdiskbin sbin/reboot sbin/halt
LINK ramdiskbin sbin/restore sbin/rrestore
LINK ramdiskbin sbin/route
LINK ramdiskbin sbin/umount
LINK ramdiskbin sbin/mount_ffs
LINK ramdiskbin sbin/mount
LINK ramdiskbin usr/bin/bzip2 usr/bin/bunzip2 usr/bin/bzcat
LINK ramdiskbin usr/bin/chflags
LINK ramdiskbin usr/bin/ftp
LINK ramdiskbin usr/bin/getopt
LINK ramdiskbin usr/bin/gzip usr/bin/gunzip usr/bin/zcat
LINK ramdiskbin usr/bin/less usr/bin/more
LINK ramdiskbin usr/bin/netstat
LINK ramdiskbin usr/bin/rsh
LINK ramdiskbin usr/bin/sed
LINK ramdiskbin usr/bin/sort
LINK ramdiskbin usr/mdec/installboot
LINK ramdiskbin usr/sbin/chown usr/bin/chgrp
LINK ramdiskbin usr/sbin/chroot
LINK ramdiskbin usr/sbin/pppd
LINK ramdiskbin usr/sbin/sysctl
# `internal' crunchgen links
ARGVLINK mount_ffs ffs
ARGVLINK mount_nfs nfs
ARGVLINK mount_cd9660 cd9660
ARGVLINK sh -sh
# no longer needed...
SPECIAL /bin/rm ramdiskbin
# copy the MAKEDEV script and make some devices
COPY ${TOPDIR}/../../etc/etc.sparc/MAKEDEV dev/MAKEDEV
SPECIAL cd dev; sh MAKEDEV floppy
SPECIAL /bin/rm dev/MAKEDEV
SPECIAL cd dev; sh ${TOPDIR}/../../etc/etc.sparc/MAKEDEV floppy
# we need the boot blocks /usr/mdec
COPY ${DESTDIR}/usr/mdec/binstall usr/mdec/binstall
COPY ${DESTDIR}/usr/mdec/boot usr/mdec/boot
LINK usr/mdec/boot usr/mdec/boot.net
COPY ${DESTDIR}/usr/mdec/bootxx usr/mdec/bootxx
# and the termcap file
COPY ${REALCURDIR}/termcap.src usr/share/misc/termcap
# various files that we need in /etc for the install
COPY ${TOPDIR}/../../etc/group etc/group
COPY ${TOPDIR}/../../etc/protocols etc/protocols
COPY ${TOPDIR}/../../etc/netconfig etc/netconfig
COPY ${TOPDIR}/../../etc/services etc/services
# we use libhack (/etc/passwd hackery)
SPECIAL sed -e 's/^\([^:]*:[^:]*:[^:]*:[^:]*:\):0:0:/\1/' ${TOPDIR}/../../etc/master.passwd > etc/passwd
# the disktab explanation file
COPY ${REALCURDIR}/disktab.preinstall etc/disktab.preinstall
# Minimize use of MFS
SYMLINK /tmp var/tmp
# various files that we need in /etc for the install
COPY ${DESTDIR}/etc/disktab etc/disktab.shadow
SYMLINK /tmp/disktab.shadow etc/disktab
SYMLINK /tmp/fstab.shadow etc/fstab
SYMLINK /tmp/resolv.conf.shadow etc/resolv.conf
SYMLINK /tmp/hosts etc/hosts
# and the installation tools
COPY ${REALCURDIR}/dot.profile .profile
COPY ${TOPDIR}/install.md install.md
COPY ${TOPDIR}/../miniroot/install.sh install
COPY ${TOPDIR}/../miniroot/upgrade.sh upgrade
SPECIAL sed "/^VERSION=/s/=.*/=${REV}/" < ${TOPDIR}/../miniroot/install.sub > install.sub
SPECIAL chmod 755 install upgrade

View File

@ -1,9 +1,14 @@
# $NetBSD: mtree.conf,v 1.3 1998/08/28 09:48:18 mrg Exp $
# $NetBSD: mtree.conf,v 1.4 2000/10/20 11:56:58 pk Exp $
/set type=dir uname=root gname=wheel mode=0755
# .
.
# ./instfs
instfs
# ./instfs
..
# ./bin
bin
# ./bin
@ -19,26 +24,6 @@ etc
# ./etc
..
# ./mnt
mnt
# ./mnt
..
# ./mnt2
mnt2
# ./mnt2
..
# ./mnt3
mnt3
# ./mnt3
..
# ./kern
kern
# ./kern
..
# ./sbin
sbin
# ./sbin
@ -62,11 +47,6 @@ bin
# ./usr/bin
..
# ./usr/mdec
mdec
# ./usr/mdec
..
# ./usr/sbin
sbin
# ./usr/sbin
@ -74,12 +54,6 @@ sbin
# ./usr/share
share
# ./usr/share/misc
misc
# ./usr/share/misc
..
# ./usr/share
..