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 Remove kernfs, add dmesg link.



details:   https://anonhg.NetBSD.org/src/rev/4d138a1b4f6a
branches:  trunk
changeset: 495208:4d138a1b4f6a
user:      tsubai <tsubai%NetBSD.org@localhost>
date:      Mon Jul 24 09:15:21 2000 +0000

description:
Remove kernfs, add dmesg link.
Compile with -Os -mmultiple.

diffstat:

 distrib/macppc/floppies/ramdisk/Makefile        |  8 ++++----
 distrib/macppc/floppies/ramdisk/dot.profile     |  5 +----
 distrib/macppc/floppies/ramdisk/list            |  4 ++--
 distrib/macppc/floppies/ramdisk/mtree.conf      |  7 +------
 distrib/macppc/floppies/ramdisk/ramdiskbin.conf |  4 ++--
 5 files changed, 10 insertions(+), 18 deletions(-)

diffs (120 lines):

diff -r ba36d0efe551 -r 4d138a1b4f6a distrib/macppc/floppies/ramdisk/Makefile
--- a/distrib/macppc/floppies/ramdisk/Makefile  Mon Jul 24 09:14:56 2000 +0000
+++ b/distrib/macppc/floppies/ramdisk/Makefile  Mon Jul 24 09:15:21 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.10 2000/05/02 16:06:50 sjg Exp $
+#      $NetBSD: Makefile,v 1.11 2000/07/24 09:15:21 tsubai Exp $
 
 TOP=           ${.CURDIR}/..
 
@@ -8,7 +8,7 @@
 CBIN=          ramdiskbin
 
 MOUNT_POINT?=  /mnt
-VND?=          vnd1
+VND?=          vnd0
 VND_DEV=       /dev/${VND}a
 VND_RDEV=      /dev/r${VND}a
 MDEC=          ${DESTDIR}/usr/mdec
@@ -19,6 +19,7 @@
 
 SIZE=          2048k
 DISKTYPE=      floppyinstfs
+DBG=           -Os -mmultiple
 
 all: ${CBIN} 
        dd if=/dev/zero of=${IMAGE} bs=${SIZE} count=1
@@ -45,7 +46,7 @@
        crunchgen -D ${TOP}/../../.. -L ${DESTDIR}/usr/lib ${.ALLSRC}
 
 ${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c #libhack.o
-       make -f ${CBIN}.mk all
+       make -f ${CBIN}.mk DBG="${DBG}" all
 
 #HACKSRC=${TOP}/../../utils/libhack
 #.include "${HACKSRC}/Makefile.inc"
@@ -55,4 +56,3 @@
        rm -f *.core *.o *.cro *.c
 
 .include <bsd.obj.mk>
-.include <bsd.subdir.mk>
diff -r ba36d0efe551 -r 4d138a1b4f6a distrib/macppc/floppies/ramdisk/dot.profile
--- a/distrib/macppc/floppies/ramdisk/dot.profile       Mon Jul 24 09:14:56 2000 +0000
+++ b/distrib/macppc/floppies/ramdisk/dot.profile       Mon Jul 24 09:15:21 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.9 2000/06/14 22:52:45 cgd Exp $
+# $NetBSD: dot.profile,v 1.10 2000/07/24 09:15:21 tsubai Exp $
 #
 # Copyright (c) 1995 Jason R. Thorpe
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -56,9 +56,6 @@
        # mount a /tmp on mfs, to avoid filling the md
        mount -t mfs swap /tmp
 
-       # mount the kern_fs so that we can examine the dmesg state
-       mount -t kernfs kern /kern
-
        # get the terminal type
        _forceloop=""
        while [ "X${_forceloop}" = X"" ]; do
diff -r ba36d0efe551 -r 4d138a1b4f6a distrib/macppc/floppies/ramdisk/list
--- a/distrib/macppc/floppies/ramdisk/list      Mon Jul 24 09:14:56 2000 +0000
+++ b/distrib/macppc/floppies/ramdisk/list      Mon Jul 24 09:15:21 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: list,v 1.8 2000/06/07 20:08:12 matt Exp $
+#      $NetBSD: list,v 1.9 2000/07/24 09:15:21 tsubai Exp $
 
 # copy the crunched binary, link to it, and kill it
 COPY   ${OBJDIR}/ramdiskbin            ramdiskbin
@@ -25,6 +25,7 @@
 LINK   ramdiskbin                      bin/test
 LINK   ramdiskbin                      bin/[
 LINK   ramdiskbin                      sbin/disklabel
+LINK   ramdiskbin                      sbin/dmesg
 LINK   ramdiskbin                      sbin/fsck
 LINK   ramdiskbin                      sbin/fsck_ffs
 LINK   ramdiskbin                      sbin/halt
@@ -34,7 +35,6 @@
 LINK   ramdiskbin                      sbin/mount
 LINK   ramdiskbin                      sbin/mount_cd9660
 LINK   ramdiskbin                      sbin/mount_ffs
-LINK   ramdiskbin                      sbin/mount_kernfs
 LINK   ramdiskbin                      sbin/mount_mfs
 LINK   ramdiskbin                      sbin/mount_msdos
 LINK   ramdiskbin                      sbin/mount_nfs
diff -r ba36d0efe551 -r 4d138a1b4f6a distrib/macppc/floppies/ramdisk/mtree.conf
--- a/distrib/macppc/floppies/ramdisk/mtree.conf        Mon Jul 24 09:14:56 2000 +0000
+++ b/distrib/macppc/floppies/ramdisk/mtree.conf        Mon Jul 24 09:15:21 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: mtree.conf,v 1.2 1999/06/05 20:17:41 bouyer Exp $
+#      $NetBSD: mtree.conf,v 1.3 2000/07/24 09:15:21 tsubai Exp $
 
 /set type=dir uname=root gname=wheel mode=0755
 # .
@@ -34,11 +34,6 @@
 # ./mnt2
 ..
 
-# ./kern
-kern
-# ./kern
-..
-
 # ./sbin
 sbin
 # ./sbin
diff -r ba36d0efe551 -r 4d138a1b4f6a distrib/macppc/floppies/ramdisk/ramdiskbin.conf
--- a/distrib/macppc/floppies/ramdisk/ramdiskbin.conf   Mon Jul 24 09:14:56 2000 +0000
+++ b/distrib/macppc/floppies/ramdisk/ramdiskbin.conf   Mon Jul 24 09:15:21 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: ramdiskbin.conf,v 1.11 2000/06/22 17:07:40 matt Exp $
+#      $NetBSD: ramdiskbin.conf,v 1.12 2000/07/24 09:15:21 tsubai Exp $
 #
 # ramdiskbin.conf - unified binary for the install ramdisk
 
@@ -38,4 +38,4 @@
 ln restore rrestore
 
 #libs libhack.o
-libs -ledit -lutil -lcurses -ltermcap -lcrypt -ll -lm -lz -lkvm
+libs -ledit -lutil -lcurses -ltermcap -lcrypt -ll -lm -lz



Home | Main Index | Thread Index | Old Index