Remove mount_kernfs(8) and use dmesg(8) directly.

This commit is contained in:
tsutsui 2010-05-01 12:14:11 +00:00
parent 90512ff195
commit ab5207040e
4 changed files with 6 additions and 14 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.1 2005/12/30 11:47:19 rjs Exp $
# $NetBSD: dot.profile,v 1.2 2010/05/01 12:14:11 tsutsui Exp $
#
# Copyright (c) 1997 Perry E. Metzger
# Copyright (c) 1994 Christopher G. Demetriou
@ -60,13 +60,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"
# run the installation or upgrade script.

View File

@ -1,4 +1,4 @@
# $NetBSD: list,v 1.8 2010/05/01 12:08:58 tsutsui Exp $
# $NetBSD: list,v 1.9 2010/05/01 12:14:11 tsutsui Exp $
# extras in bin
PROG bin/csh
@ -8,9 +8,9 @@ PROG bin/rcmd
# extras in sbin
PROG sbin/disklabel
PROG sbin/dmesg
PROG sbin/fdisk
PROG sbin/fsck_msdos
PROG sbin/mount_kernfs
PROG sbin/mount_msdos
PROG sbin/newfs_msdos

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.profile,v 1.6 2003/07/26 17:06:43 salo Exp $
# $NetBSD: dot.profile,v 1.7 2010/05/01 12:14:12 tsutsui Exp $
#
# Copyright (c) 1997 Perry E. Metzger
# Copyright (c) 1994 Christopher G. Demetriou
@ -60,13 +60,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"
# run the installation or upgrade script.

View File

@ -1,4 +1,4 @@
# $NetBSD: list,v 1.16 2010/05/01 12:08:58 tsutsui Exp $
# $NetBSD: list,v 1.17 2010/05/01 12:14:12 tsutsui Exp $
# extras in bin
PROG bin/csh
@ -8,9 +8,9 @@ PROG bin/rcmd
# extras in sbin
PROG sbin/disklabel
PROG sbin/dmesg
PROG sbin/fdisk
PROG sbin/fsck_msdos
PROG sbin/mount_kernfs
PROG sbin/mount_msdos
PROG sbin/newfs_msdos