mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 06:42:45 +00:00
On DEVFS machines, the device name database is no use.
This commit is contained in:
parent
2fbba8b1b8
commit
175c38cf60
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67445
8
etc/rc
8
etc/rc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user