Change default bootfloppy to 1.44M, and add a 1.2M "small" bootfloppy.
This commit is contained in:
parent
fde9e5e6c3
commit
da801e20c2
|
@ -1,5 +1,5 @@
|
|||
# $NetBSD: Makefile,v 1.6 1997/06/14 18:56:00 perry Exp $
|
||||
# $NetBSD: Makefile,v 1.7 1997/11/05 03:39:51 perry Exp $
|
||||
|
||||
SUBDIR= ramdisk bootfloppy
|
||||
SUBDIR= ramdisk bootfloppy bootfloppy-small
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.inc,v 1.7 1997/08/07 18:09:49 hannken Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.8 1997/11/05 03:39:55 perry Exp $
|
||||
|
||||
# TOP is assumed to be defined by Makefile including this one.
|
||||
|
||||
|
@ -19,7 +19,8 @@ RAMDISK !=cd $(.CURDIR)/../ramdisk/; \
|
|||
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/ramdisk-${REV}.fs\n" | \
|
||||
${MAKE} -s -f-
|
||||
|
||||
DISKTYPE= floppy5
|
||||
DISKTYPE?= floppy3
|
||||
DISKSIZE?= 2880
|
||||
|
||||
# Some reasonable values for the -i parameter to newfs are:
|
||||
#
|
||||
|
@ -31,7 +32,7 @@ INO_BYTES?= 204800
|
|||
CLEANFILES+= netbsd.ram.gz
|
||||
|
||||
all: netbsd.ram.gz
|
||||
dd if=/dev/zero of=${IMAGE} bs=100k count=12
|
||||
dd if=/dev/zero of=${IMAGE} count=${DISKSIZE}
|
||||
vnconfig -t ${DISKTYPE} -v -c ${VND_CDEV} ${IMAGE}
|
||||
disklabel -rw ${VND_CDEV} ${DISKTYPE}
|
||||
newfs -m 0 -o space -i ${INO_BYTES} -c 80 ${VND_RDEV} ${DISKTYPE}
|
||||
|
|
Loading…
Reference in New Issue