Source-Changes-HG archive

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

[src/trunk]: src/distrib/i386/floppies Add the dmesg() program to all the i38...



details:   https://anonhg.NetBSD.org/src/rev/789573270a6b
branches:  trunk
changeset: 584160:789573270a6b
user:      dsl <dsl%NetBSD.org@localhost>
date:      Sat Sep 10 14:50:08 2005 +0000

description:
Add the dmesg() program to all the i386 ramdisk images and remove the
shell function implemented dmesg using 'cat /kern/msgbuf'.
This means we don't need kernfs.

diffstat:

 distrib/i386/floppies/common/dot.profile      |  9 +--------
 distrib/i386/floppies/ramdisk-rescuetiny/list |  3 ++-
 distrib/i386/floppies/ramdisk-small/list      |  3 ++-
 distrib/i386/floppies/ramdisk-tiny/list       |  3 ++-
 4 files changed, 7 insertions(+), 11 deletions(-)

diffs (74 lines):

diff -r 26cce5fb6219 -r 789573270a6b distrib/i386/floppies/common/dot.profile
--- a/distrib/i386/floppies/common/dot.profile  Sat Sep 10 14:47:15 2005 +0000
+++ b/distrib/i386/floppies/common/dot.profile  Sat Sep 10 14:50:08 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: dot.profile,v 1.4 2003/12/07 20:03:18 dsl Exp $
+#      $NetBSD: dot.profile,v 1.5 2005/09/10 14:50:08 dsl Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -66,13 +66,6 @@
        # 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"
 
        if [ -x /sysinst ]; then
diff -r 26cce5fb6219 -r 789573270a6b distrib/i386/floppies/ramdisk-rescuetiny/list
--- a/distrib/i386/floppies/ramdisk-rescuetiny/list     Sat Sep 10 14:47:15 2005 +0000
+++ b/distrib/i386/floppies/ramdisk-rescuetiny/list     Sat Sep 10 14:50:08 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: list,v 1.15 2004/04/18 19:50:34 dsl Exp $
+#      $NetBSD: list,v 1.16 2005/09/10 14:50:08 dsl Exp $
 
 PROG   bin/cat
 PROG   bin/chmod
@@ -20,6 +20,7 @@
 PROG   bin/sync
 
 PROG   sbin/disklabel
+PROG   sbin/dmesg
 PROG   sbin/fdisk
 PROG   sbin/fsck
 PROG   sbin/fsck_ffs
diff -r 26cce5fb6219 -r 789573270a6b distrib/i386/floppies/ramdisk-small/list
--- a/distrib/i386/floppies/ramdisk-small/list  Sat Sep 10 14:47:15 2005 +0000
+++ b/distrib/i386/floppies/ramdisk-small/list  Sat Sep 10 14:50:08 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: list,v 1.15 2003/12/27 20:57:21 jmc Exp $
+#      $NetBSD: list,v 1.16 2005/09/10 14:50:08 dsl Exp $
 
 PROG   bin/cat
 PROG   bin/chio
@@ -21,6 +21,7 @@
 PROG   bin/sync
 
 PROG   sbin/disklabel
+PROG   sbin/dmesg
 PROG   sbin/fdisk
 PROG   sbin/fsck
 PROG   sbin/fsck_ffs
diff -r 26cce5fb6219 -r 789573270a6b distrib/i386/floppies/ramdisk-tiny/list
--- a/distrib/i386/floppies/ramdisk-tiny/list   Sat Sep 10 14:47:15 2005 +0000
+++ b/distrib/i386/floppies/ramdisk-tiny/list   Sat Sep 10 14:50:08 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: list,v 1.16 2004/10/06 21:28:12 dsl Exp $
+#      $NetBSD: list,v 1.17 2005/09/10 14:50:08 dsl Exp $
 
 PROG   bin/cat
 PROG   bin/chmod
@@ -14,6 +14,7 @@
 PROG   bin/stty
 
 PROG   sbin/disklabel
+PROG   sbin/dmesg
 PROG   sbin/fsck
 PROG   sbin/fsck_ffs
 PROG   sbin/ifconfig



Home | Main Index | Thread Index | Old Index