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

This commit is contained in:
Poul-Henning Kamp 2000-10-22 19:10:13 +00:00
parent 2fbba8b1b8
commit 175c38cf60
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67445

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