diff options
author | phk <phk@FreeBSD.org> | 2000-10-22 19:10:13 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-10-22 19:10:13 +0000 |
commit | 8ce58b4dcf45081102669fa7baea097e4fa5d77e (patch) | |
tree | 2d15e5e9f54242b2e78b8bb1e3b32b152e939d84 /etc/rc | |
parent | fba698949b56b642423c350ac9c0e39f6a35d9b9 (diff) | |
download | FreeBSD-src-8ce58b4dcf45081102669fa7baea097e4fa5d77e.zip FreeBSD-src-8ce58b4dcf45081102669fa7baea097e4fa5d77e.tar.gz |
On DEVFS machines, the device name database is no use.
Diffstat (limited to 'etc/rc')
-rw-r--r-- | etc/rc | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 |