Make this build again.

This commit is contained in:
mycroft 1999-11-09 15:48:02 +00:00
parent 85cbf55d16
commit 53770426fe
3 changed files with 43 additions and 7 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 1999/07/04 16:07:00 abs Exp $
# $NetBSD: Makefile,v 1.4 1999/11/09 15:48:02 mycroft Exp $
TOP= ${.CURDIR}/..
MINIROOT= ${TOP}/../miniroot
@ -35,19 +35,19 @@ VND_RDEV= /dev/r${VND}a
VND_CDEV= /dev/${VND}${RAW_PART}
VND_CRDEV= /dev/r${VND}${RAW_PART}
IMAGE?= syramdisk-${REV}.fs
CSIZE?= 2880
CSIZE?= 3312
MDEC= ${DESTDIR}/usr/mdec
LISTS= list
CRUNCHCONF= ${CBIN}.conf
MTREE= mtree.conf
DISKTYPE?= floppy3
DISKTYPE?= floppyinstfs
all: ${CBIN} ${AUXDEPENDS} ${MTREE} ${LISTS} dot.profile
dd if=/dev/zero of=${IMAGE} count=${CSIZE}
vnconfig -t ${DISKTYPE} -v -c ${VND_CDEV} ${IMAGE}
disklabel -rw ${VND_CDEV} ${DISKTYPE}
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 80 ${VND_RDEV} ${DISKTYPE}
mount ${VND_DEV} ${MOUNT_POINT}
mtree -def ${.CURDIR}/${MTREE} -p ${MOUNT_POINT}/ -u

View File

@ -0,0 +1,36 @@
# $NetBSD: disktab,v 1.1 1999/11/09 15:48:02 mycroft 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#64:\
:pa#3312:oa#0:ba#4096:fa#512:ta=4.2BSD:\
:pc#3312:oc#0:

View File

@ -1,4 +1,4 @@
# $NetBSD: list.m4,v 1.2 1999/06/05 20:17:43 bouyer Exp $
# $NetBSD: list.m4,v 1.3 1999/11/09 15:48:02 mycroft Exp $
# copy the crunched binary, link to it, and kill it
COPY ${OBJDIR}/ramdiskbin ramdiskbin
@ -115,4 +115,4 @@ COPY dist/xserver_obsolete dist/xserver_obsolete
COPY ${OBJDIR}/dot.profile .profile
#the lists of obsolete files used by sysinst
SPECIAL sh ${CURDIR}/../../../../distrib/sets/makeobsolete -b -s ${CURDIR}/../../../distrib/sets -t ./dist
SPECIAL sh ${CURDIR}/../../sets/makeobsolete -b -s ${CURDIR}/../../sets -t ./dist