Module Name:    src
Committed By:   tsutsui
Date:           Sat May  1 12:14:12 UTC 2010

Modified Files:
        src/distrib/hpcarm/miniroot: dot.profile list
        src/distrib/hpcmips/miniroot: dot.profile list

Log Message:
Remove mount_kernfs(8) and use dmesg(8) directly.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/distrib/hpcarm/miniroot/dot.profile
cvs rdiff -u -r1.8 -r1.9 src/distrib/hpcarm/miniroot/list
cvs rdiff -u -r1.6 -r1.7 src/distrib/hpcmips/miniroot/dot.profile
cvs rdiff -u -r1.16 -r1.17 src/distrib/hpcmips/miniroot/list

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/hpcarm/miniroot/dot.profile
diff -u src/distrib/hpcarm/miniroot/dot.profile:1.1 src/distrib/hpcarm/miniroot/dot.profile:1.2
--- src/distrib/hpcarm/miniroot/dot.profile:1.1	Fri Dec 30 11:47:19 2005
+++ src/distrib/hpcarm/miniroot/dot.profile	Sat May  1 12:14:11 2010
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.1 2005/12/30 11:47:19 rjs Exp $
+# $NetBSD: dot.profile,v 1.2 2010/05/01 12:14:11 tsutsui Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -60,13 +60,9 @@
 	# mount the ramdisk read write
 	mount -u $ROOTDEV /
 
-	# mount the kern_fs so that we can examine the dmesg state
-	mount -t kernfs /kern /kern
-
 	# pull in the functions that people will use from the shell prompt.
 	# . /.commonutils
 	# . /.instutils
-	dmesg() cat /kern/msgbuf
 	grep() sed -n "/$1/p"
 
 	# run the installation or upgrade script.

Index: src/distrib/hpcarm/miniroot/list
diff -u src/distrib/hpcarm/miniroot/list:1.8 src/distrib/hpcarm/miniroot/list:1.9
--- src/distrib/hpcarm/miniroot/list:1.8	Sat May  1 12:08:58 2010
+++ src/distrib/hpcarm/miniroot/list	Sat May  1 12:14:11 2010
@@ -1,4 +1,4 @@
-#	$NetBSD: list,v 1.8 2010/05/01 12:08:58 tsutsui Exp $
+#	$NetBSD: list,v 1.9 2010/05/01 12:14:11 tsutsui Exp $
 
 # extras in bin
 PROG	bin/csh
@@ -8,9 +8,9 @@
 
 # extras in sbin
 PROG	sbin/disklabel
+PROG	sbin/dmesg
 PROG	sbin/fdisk
 PROG	sbin/fsck_msdos
-PROG	sbin/mount_kernfs
 PROG	sbin/mount_msdos
 PROG	sbin/newfs_msdos
 

Index: src/distrib/hpcmips/miniroot/dot.profile
diff -u src/distrib/hpcmips/miniroot/dot.profile:1.6 src/distrib/hpcmips/miniroot/dot.profile:1.7
--- src/distrib/hpcmips/miniroot/dot.profile:1.6	Sat Jul 26 17:06:43 2003
+++ src/distrib/hpcmips/miniroot/dot.profile	Sat May  1 12:14:12 2010
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.6 2003/07/26 17:06:43 salo Exp $
+# $NetBSD: dot.profile,v 1.7 2010/05/01 12:14:12 tsutsui Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -60,13 +60,9 @@
 	# mount the ramdisk read write
 	mount -u $ROOTDEV /
 
-	# mount the kern_fs so that we can examine the dmesg state
-	mount -t kernfs /kern /kern
-
 	# pull in the functions that people will use from the shell prompt.
 	# . /.commonutils
 	# . /.instutils
-	dmesg() cat /kern/msgbuf
 	grep() sed -n "/$1/p"
 
 	# run the installation or upgrade script.

Index: src/distrib/hpcmips/miniroot/list
diff -u src/distrib/hpcmips/miniroot/list:1.16 src/distrib/hpcmips/miniroot/list:1.17
--- src/distrib/hpcmips/miniroot/list:1.16	Sat May  1 12:08:58 2010
+++ src/distrib/hpcmips/miniroot/list	Sat May  1 12:14:12 2010
@@ -1,4 +1,4 @@
-#	$NetBSD: list,v 1.16 2010/05/01 12:08:58 tsutsui Exp $
+#	$NetBSD: list,v 1.17 2010/05/01 12:14:12 tsutsui Exp $
 
 # extras in bin
 PROG	bin/csh
@@ -8,9 +8,9 @@
 
 # extras in sbin
 PROG	sbin/disklabel
+PROG	sbin/dmesg
 PROG	sbin/fdisk
 PROG	sbin/fsck_msdos
-PROG	sbin/mount_kernfs
 PROG	sbin/mount_msdos
 PROG	sbin/newfs_msdos
 

Reply via email to