Date: Sun, 09 Dec 2018 23:38:45 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 233682] 12.0-RC2 - /etc/rc.d/devd takes VERY long at boot Message-ID: <bug-233682-227-jbeaE9sMy8@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-233682-227@https.bugs.freebsd.org/bugzilla/> References: <bug-233682-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233682 vermaden@interia.pl changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Not A Bug Status|New |Closed --- Comment #2 from vermaden@interia.pl --- This was my fault. Its not a bug. Its because now my 'automount' - https://github.com/vermaden/automount - do= es 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=3D$( sysctl -n kern.boottime | awk '{print $4}' | tr -d ',' ) | CURRTIME=3D$( date +%s ) | DIFFTIME=3D$(( ${CURRTIME} - ${BOOTTIME} )) | if [ ${DIFFTIME} -lt 45 ] | then | exit 0 | fi Regards and sorry for 'fake' bug. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233682-227-jbeaE9sMy8>