Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib Remove mount_kernfs(8) and use dmesg(8) directly.



details:   https://anonhg.NetBSD.org/src/rev/6785fc1f5ea6
branches:  trunk
changeset: 754474:6785fc1f5ea6
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat May 01 12:14:11 2010 +0000

description:
Remove mount_kernfs(8) and use dmesg(8) directly.

diffstat:

 distrib/hpcarm/miniroot/dot.profile  |  6 +-----
 distrib/hpcarm/miniroot/list         |  4 ++--
 distrib/hpcmips/miniroot/dot.profile |  6 +-----
 distrib/hpcmips/miniroot/list        |  4 ++--
 4 files changed, 6 insertions(+), 14 deletions(-)

diffs (86 lines):

diff -r 8fba0a008690 -r 6785fc1f5ea6 distrib/hpcarm/miniroot/dot.profile
--- a/distrib/hpcarm/miniroot/dot.profile       Sat May 01 12:11:53 2010 +0000
+++ b/distrib/hpcarm/miniroot/dot.profile       Sat May 01 12:14:11 2010 +0000
@@ -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.
diff -r 8fba0a008690 -r 6785fc1f5ea6 distrib/hpcarm/miniroot/list
--- a/distrib/hpcarm/miniroot/list      Sat May 01 12:11:53 2010 +0000
+++ b/distrib/hpcarm/miniroot/list      Sat May 01 12:14:11 2010 +0000
@@ -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
 
diff -r 8fba0a008690 -r 6785fc1f5ea6 distrib/hpcmips/miniroot/dot.profile
--- a/distrib/hpcmips/miniroot/dot.profile      Sat May 01 12:11:53 2010 +0000
+++ b/distrib/hpcmips/miniroot/dot.profile      Sat May 01 12:14:11 2010 +0000
@@ -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.
diff -r 8fba0a008690 -r 6785fc1f5ea6 distrib/hpcmips/miniroot/list
--- a/distrib/hpcmips/miniroot/list     Sat May 01 12:11:53 2010 +0000
+++ b/distrib/hpcmips/miniroot/list     Sat May 01 12:14:11 2010 +0000
@@ -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
 



Home | Main Index | Thread Index | Old Index