[Bug 233682] 12.0-RC2 - /etc/rc.d/devd takes VERY long at boot

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Dec 9 23:38:48 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233682

vermaden at interia.pl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |Not A Bug
             Status|New                         |Closed

--- Comment #2 from vermaden at interia.pl ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list