Restarting devd

Warren Block wblock at
Sat Oct 17 23:05:08 UTC 2009

Immediately after boot, devd restart fails:

# /etc/rc.d/devd restart
Stopping devd.
Starting devd.
devd: devd already running, pid: 398
/etc/rc.d/devd: WARNING: failed to start devd

And it's right, devd is not running.  Remove the stale pidfile 
/var/run/, and '/etc/rc.d/devd start' goes fine.

In fact, after that initial pidfile is removed, restarts are no longer a 

# /etc/rc.d/devd restart
Stopping devd.
Starting devd.

So why is it a problem with the first run of devd, but not afterwards? 
Something with /etc/rc.d/devd, or maybe something more general with 

FreeBSD lightning 8.0-RC1 FreeBSD 8.0-RC1 #6: Wed Oct 14 18:44:38 MDT 
2009     root at lightning:/usr/obj/usr/src/sys/LIGHTNING  i386

-Warren Block * Rapid City, South Dakota USA

More information about the freebsd-current mailing list