Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/2efe9af2d635
branches:  trunk
changeset: 754477:2efe9af2d635
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat May 01 12:59:26 2010 +0000

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

diffstat:

 distrib/hpcsh/miniroot/dot.profile |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (23 lines):

diff -r ad4874f4a887 -r 2efe9af2d635 distrib/hpcsh/miniroot/dot.profile
--- a/distrib/hpcsh/miniroot/dot.profile        Sat May 01 12:18:44 2010 +0000
+++ b/distrib/hpcsh/miniroot/dot.profile        Sat May 01 12:59:26 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.2 2003/07/26 17:06:44 salo Exp $
+# $NetBSD: dot.profile,v 1.3 2010/05/01 12:59:26 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.



Home | Main Index | Thread Index | Old Index