Summary: | 12.0-RC2 - /etc/rc.d/devd takes VERY long at boot | ||
---|---|---|---|
Product: | Base System | Reporter: | Slawomir Wojciech Wojtczak <vermaden> |
Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Closed Not A Bug | ||
Severity: | Affects Only Me | Keywords: | regression |
Priority: | --- | ||
Version: | 12.0-RELEASE | ||
Hardware: | Any | ||
OS: | Any |
Description
Slawomir Wojciech Wojtczak
2018-12-01 11:24:31 UTC
For the record, same with RC3. This was my fault. Its not a bug. Its because now my 'automount' - https://github.com/vermaden/automount - does check ugen(4) devices for MTP services and that took too long at boot. I disabled it at boot (first 45 seconds) and now devd(8) starts fast. Used code for the record: | BOOTTIME=$( sysctl -n kern.boottime | awk '{print $4}' | tr -d ',' ) | CURRTIME=$( date +%s ) | DIFFTIME=$(( ${CURRTIME} - ${BOOTTIME} )) | if [ ${DIFFTIME} -lt 45 ] | then | exit 0 | fi Regards and sorry for 'fake' bug. |