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.
This commit is contained in:
dsl 2005-09-10 14:50:08 +00:00
parent 77b0988bd6
commit 2a363c8fef
4 changed files with 7 additions and 11 deletions

View File

@ -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 @@ if [ "X${DONEPROFILE}" = "X" ]; then
# 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

View File

@ -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/stty
PROG bin/sync
PROG sbin/disklabel
PROG sbin/dmesg
PROG sbin/fdisk
PROG sbin/fsck
PROG sbin/fsck_ffs

View File

@ -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/stty
PROG bin/sync
PROG sbin/disklabel
PROG sbin/dmesg
PROG sbin/fdisk
PROG sbin/fsck
PROG sbin/fsck_ffs

View File

@ -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/sh
PROG bin/stty
PROG sbin/disklabel
PROG sbin/dmesg
PROG sbin/fsck
PROG sbin/fsck_ffs
PROG sbin/ifconfig