Module Name:    src
Committed By:   tsutsui
Date:           Fri May  6 18:33:00 UTC 2011

Modified Files:
        src/distrib/zaurus/ramdisk: dot.profile list

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


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/distrib/zaurus/ramdisk/dot.profile
cvs rdiff -u -r1.15 -r1.16 src/distrib/zaurus/ramdisk/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/zaurus/ramdisk/dot.profile
diff -u src/distrib/zaurus/ramdisk/dot.profile:1.2 src/distrib/zaurus/ramdisk/dot.profile:1.3
--- src/distrib/zaurus/ramdisk/dot.profile:1.2	Sun Mar 14 12:36:32 2010
+++ src/distrib/zaurus/ramdisk/dot.profile	Fri May  6 18:32:59 2011
@@ -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.

Index: src/distrib/zaurus/ramdisk/list
diff -u src/distrib/zaurus/ramdisk/list:1.15 src/distrib/zaurus/ramdisk/list:1.16
--- src/distrib/zaurus/ramdisk/list:1.15	Thu May  5 09:07:59 2011
+++ src/distrib/zaurus/ramdisk/list	Fri May  6 18:32:59 2011
@@ -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

Reply via email to