Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/macppc/floppies/ramdisk Change md size to 2MB.
details: https://anonhg.NetBSD.org/src/rev/4275b3734b9d
branches: trunk
changeset: 475883:4275b3734b9d
user: tsubai <tsubai%NetBSD.org@localhost>
date: Sun Aug 29 08:45:27 1999 +0000
description:
Change md size to 2MB.
Don't use libhack temporarily.
diffstat:
distrib/macppc/floppies/ramdisk/Makefile | 30 ++++++++++--------------
distrib/macppc/floppies/ramdisk/list | 5 ++-
distrib/macppc/floppies/ramdisk/ramdiskbin.conf | 8 ++----
3 files changed, 19 insertions(+), 24 deletions(-)
diffs (115 lines):
diff -r 1af8576e058a -r 4275b3734b9d distrib/macppc/floppies/ramdisk/Makefile
--- a/distrib/macppc/floppies/ramdisk/Makefile Sun Aug 29 05:56:26 1999 +0000
+++ b/distrib/macppc/floppies/ramdisk/Makefile Sun Aug 29 08:45:27 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 1999/07/08 16:36:15 tsubai Exp $
+# $NetBSD: Makefile,v 1.7 1999/08/29 08:45:27 tsubai Exp $
TOP= ${.CURDIR}/..
@@ -8,27 +8,23 @@
CBIN= ramdiskbin
MOUNT_POINT?= /mnt
-# DEV/RDEV file system device, CDEV/RDEV vnconfig device
VND?= vnd1
VND_DEV= /dev/${VND}a
VND_RDEV= /dev/r${VND}a
-VND_CDEV= /dev/${VND}c
-VND_CRDEV= /dev/r${VND}c
MDEC= ${DESTDIR}/usr/mdec
LISTS= list
CRUNCHCONF= ${CBIN}.conf
MTREE= mtree.conf
-SIZE= 1536k
-GEOM= 512/16/2/96
+SIZE= 2048k
DISKTYPE= floppyinstfs
all: ${CBIN}
dd if=/dev/zero of=${IMAGE} bs=${SIZE} count=1
- vnconfig -t ${DISKTYPE} -v -c ${VND_CDEV} ${IMAGE}
- disklabel -rw ${VND_CDEV} ${DISKTYPE}
- newfs -B be -m 0 -o space -i 6144 -c 96 ${VND_RDEV}
+ vnconfig -t ${DISKTYPE} -v -c ${VND} ${IMAGE}
+ disklabel -rw ${VND} ${DISKTYPE}
+ newfs -B be -m 0 -o space -i 6144 -c 128 ${VND_RDEV}
mount ${VND_DEV} ${MOUNT_POINT}
mtree -def ${.CURDIR}/${MTREE} -p ${MOUNT_POINT}/ -u
TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
@@ -37,25 +33,25 @@
@df -i ${MOUNT_POINT}
@echo ""
umount ${MOUNT_POINT}
- vnconfig -u ${VND_CDEV}
+ vnconfig -u ${VND}
unconfig:
-umount -f ${MOUNT_POINT}
- -vnconfig -u ${VND_CDEV}
- -/bin/rm -f ${IMAGE}
+ -vnconfig -u ${VND}
+ -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 libhack.o
+${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c #libhack.o
make -f ${CBIN}.mk all
-HACKSRC=${TOP}/../../utils/libhack
-.include "${HACKSRC}/Makefile.inc"
+#HACKSRC=${TOP}/../../utils/libhack
+#.include "${HACKSRC}/Makefile.inc"
clean cleandir distclean:
- /bin/rm -f *.core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache *.o *.cro *.c
+ rm -f ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache
+ rm -f *.core *.o *.cro *.c
.include <bsd.obj.mk>
.include <bsd.subdir.mk>
-
diff -r 1af8576e058a -r 4275b3734b9d distrib/macppc/floppies/ramdisk/list
--- a/distrib/macppc/floppies/ramdisk/list Sun Aug 29 05:56:26 1999 +0000
+++ b/distrib/macppc/floppies/ramdisk/list Sun Aug 29 08:45:27 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: list,v 1.5 1999/06/05 20:17:41 bouyer Exp $
+# $NetBSD: list,v 1.6 1999/08/29 08:45:27 tsubai Exp $
# copy the crunched binary, link to it, and kill it
COPY ${OBJDIR}/ramdiskbin ramdiskbin
@@ -77,9 +77,10 @@
# various files that we need in /etc for the install
#COPY ${DESTDIR}/etc/disktab etc/disktab
COPY ${CURDIR}/../../../../etc/group etc/group
-COPY ${CURDIR}/../../../../etc/master.passwd etc/passwd
+COPY ${CURDIR}/../../../../etc/master.passwd etc/master.passwd
COPY ${CURDIR}/../../../../etc/protocols etc/protocols
COPY ${CURDIR}/../../../../etc/services etc/services
+SPECIAL pwd_mkdb -p -d . etc/master.passwd
# the disktab explanation file
COPY ${CURDIR}/disktab.preinstall etc/disktab.preinstall
diff -r 1af8576e058a -r 4275b3734b9d distrib/macppc/floppies/ramdisk/ramdiskbin.conf
--- a/distrib/macppc/floppies/ramdisk/ramdiskbin.conf Sun Aug 29 05:56:26 1999 +0000
+++ b/distrib/macppc/floppies/ramdisk/ramdiskbin.conf Sun Aug 29 08:45:27 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ramdiskbin.conf,v 1.5 1999/07/08 16:36:15 tsubai Exp $
+# $NetBSD: ramdiskbin.conf,v 1.6 1999/08/29 08:45:27 tsubai Exp $
#
# ramdiskbin.conf - unified binary for the install ramdisk
@@ -34,7 +34,5 @@
ln reboot halt
ln restore rrestore
-srcdirs distrib/utils
-
-libs libhack.o
-libs -ledit -lutil -lcurses -ltermcap -lcrypt -ll -lm -lz -lkvm
+#libs libhack.o
+libs -ledit -lutil -lcurses -ltermcap -lcrypt -ll -lm -lz -lkvm -lipsec
Home |
Main Index |
Thread Index |
Old Index