Use dmesg(8) directly rather than via kernfs.
This commit is contained in:
parent
f9e105a948
commit
17e5a1e5a3
@ -1,4 +1,4 @@
|
||||
# $NetBSD: dot.profile,v 1.4 2003/07/26 17:06:42 salo Exp $
|
||||
# $NetBSD: dot.profile,v 1.5 2006/03/21 03:38:22 tsutsui Exp $
|
||||
#
|
||||
# Copyright (c) 1997 Perry E. Metzger
|
||||
# Copyright (c) 1994 Christopher G. Demetriou
|
||||
@ -74,13 +74,9 @@ 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
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: list,v 1.14 2006/03/21 03:35:49 tsutsui Exp $
|
||||
# $NetBSD: list,v 1.15 2006/03/21 03:38:22 tsutsui Exp $
|
||||
|
||||
SRCDIRS bin sbin usr.bin usr.sbin
|
||||
|
||||
@ -17,6 +17,7 @@ PROG bin/sh
|
||||
PROG bin/stty
|
||||
|
||||
PROG sbin/disklabel
|
||||
PROG sbin/dmesg
|
||||
PROG sbin/fsck
|
||||
PROG sbin/fsck_ffs
|
||||
PROG sbin/ifconfig
|
||||
@ -25,7 +26,6 @@ PROG sbin/mknod
|
||||
PROG sbin/mount
|
||||
PROG sbin/mount_cd9660
|
||||
PROG sbin/mount_ffs
|
||||
PROG sbin/mount_kernfs
|
||||
PROG sbin/mount_nfs
|
||||
PROG sbin/newfs sbin/mount_mfs
|
||||
PROG sbin/ping
|
||||
|
Loading…
Reference in New Issue
Block a user