Source-Changes-HG archive

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

[src/trunk]: src/distrib/zaurus/ramdisk Use /sbin/dmesg directly rather than ...



details:   https://anonhg.NetBSD.org/src/rev/6add2af4b766
branches:  trunk
changeset: 764824:6add2af4b766
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri May 06 18:32:59 2011 +0000

description:
Use /sbin/dmesg directly rather than kernfs and /kern/msgbuf as other ports.

diffstat:

 distrib/zaurus/ramdisk/dot.profile |  6 +-----
 distrib/zaurus/ramdisk/list        |  4 ++--
 2 files changed, 3 insertions(+), 7 deletions(-)

diffs (48 lines):

diff -r e5e1881c31b6 -r 6add2af4b766 distrib/zaurus/ramdisk/dot.profile
--- a/distrib/zaurus/ramdisk/dot.profile        Fri May 06 17:22:09 2011 +0000
+++ b/distrib/zaurus/ramdisk/dot.profile        Fri May 06 18:32:59 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.2 2010/03/14 12:36:32 nonaka Exp $
+# $NetBSD: dot.profile,v 1.3 2011/05/06 18:32:59 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 e5e1881c31b6 -r 6add2af4b766 distrib/zaurus/ramdisk/list
--- a/distrib/zaurus/ramdisk/list       Fri May 06 17:22:09 2011 +0000
+++ b/distrib/zaurus/ramdisk/list       Fri May 06 18:32:59 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: list,v 1.15 2011/05/05 09:07:59 nonaka Exp $
+#      $NetBSD: list,v 1.16 2011/05/06 18:32:59 tsutsui Exp $
 
 # usr.bin/less has to be first, otherwise the ramdisk.mk generation fails
 SRCDIRS usr.bin/less bin sbin usr.bin usr.sbin gnu/usr.bin
@@ -24,6 +24,7 @@
 
 PROG   sbin/chown      bin/chgrp
 PROG   sbin/disklabel
+PROG   sbin/dmesg
 PROG   sbin/fdisk
 PROG   sbin/fsck
 PROG   sbin/fsck_ffs
@@ -32,7 +33,6 @@
 PROG   sbin/mknod
 PROG   sbin/mount
 PROG   sbin/mount_ffs
-PROG   sbin/mount_kernfs
 PROG   sbin/mount_msdos
 PROG   sbin/mount_nfs
 PROG   sbin/newfs      sbin/mount_mfs



Home | Main Index | Thread Index | Old Index