Hi, On Tue, 17.03.2009 at 00:16:20 -0700, Philip Guenther <guent...@gmail.com> wrote: > On Mon, Mar 16, 2009 at 4:46 AM, Toni Mueller <openbsd-m...@oeko.net> wrote: > > ... B hotplugd[7128]: waitpid: Error 10 > > I didn't yet find out what that means. > > Hmm, 10 == ECHILD.
ok. > After you see that, do the attach or detach scripts show in the output > of "ps xauww"? If so, what does it show for them? I see no traces of these scripts in the 'ps' output, and also nothing in the way of command line mangling of hotplugd, like eg. sendmail does. The scripts themselves run fine, though: /etc/hotplug/attach: #!/bin/sh DEVCLASS=$1 DEVNAME=$2 case $DEVCLASS in 2) # disk devices disklabel=`/sbin/disklabel $DEVNAME 2>&1 | \ sed -n '/^label: /s/^label: //p'` logger -p kern.info "Disk ${DEVNAME} attached: $disklabel" ;; esac /etc/hotplug/detach: #!/bin/sh DEVCLASS=$1 DEVNAME=$2 case $DEVCLASS in 2) # disk devices logger -p kern.info "Disk ${DEVNAME} detached" ;; esac Kind regards, --Toni++