On DEVFS machines, the device name database is no use.

This commit is contained in:
phk 2000-10-22 19:10:13 +00:00
parent 157c59b4fa
commit 4c490e9074

8
etc/rc
View File

@ -376,9 +376,13 @@ esac
echo '.'
# Build devices database
# Build device name databases if we are not using DEVFS
#
dev_mkdb
if sysctl vfs.devfs.generation > /dev/null 2>&1 ; then
rm /var/run/dev.db
else
dev_mkdb
fi
# Enable dumpdev so that savecore can see it.
# /var/crash should be a directory or a symbolic link