Source-Changes-HG archive

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

[src/trunk]: src/etc/rc.d Remove kvm_mkdb, it's not used anymore.



details:   https://anonhg.NetBSD.org/src/rev/c881d53866d0
branches:  trunk
changeset: 547024:c881d53866d0
user:      ragge <ragge%NetBSD.org@localhost>
date:      Sun May 11 18:17:30 2003 +0000

description:
Remove kvm_mkdb, it's not used anymore.

diffstat:

 etc/rc.d/sysdb |  16 ++--------------
 1 files changed, 2 insertions(+), 14 deletions(-)

diffs (42 lines):

diff -r ef27d95568f7 -r c881d53866d0 etc/rc.d/sysdb
--- a/etc/rc.d/sysdb    Sun May 11 18:09:49 2003 +0000
+++ b/etc/rc.d/sysdb    Sun May 11 18:17:30 2003 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: sysdb,v 1.12 2003/02/24 01:04:45 atatat Exp $
+# $NetBSD: sysdb,v 1.13 2003/05/11 18:17:30 ragge Exp $
 #
 
 # PROVIDE: sysdb
@@ -12,29 +12,17 @@
 name="sysdb"
 start_cmd="sysdb_start"
 stop_cmd=":"
-extra_commands="kvmdb devdb utmp"
-kvmdb_cmd="build_kvmdb"
+extra_commands="devdb utmp"
 devdb_cmd="build_devdb"
 utmp_cmd="build_utmp"
 
 sysdb_start()
 {
        echo "Building databases..."
-       $kvmdb_cmd
        $devdb_cmd
        $utmp_cmd
 }
 
-build_kvmdb()
-{
-       #       Build ps databases. If this kernel supports
-       #       machdep.booted_kernel, use that to build the KVM db so dmesg
-       #       will run work when we boot /netbsd.new, etc.
-       #
-       booted_kernel=`sysctl -n machdep.booted_kernel 2>/dev/null`
-       kvm_mkdb "${booted_kernel:-/netbsd}"
-}
-
 build_devdb()
 {
        if [ /var/run/dev.db -nt /dev ]; then



Home | Main Index | Thread Index | Old Index