I've been trying to use devd for a number of things, but have not gotten
far.

One issue is when I attach an ATAPI disk:
attach 100 {
        device-name "acd0";
        action "/bin/chmod 666 /dev/$device-name";
}

I have similar statements for my second hard drive (ad2s2).

By using the -D option I see the device attach, but the chmod returns
an error indicating that /dev/acd0 does not exist. I get similar results
for other devices.

Is there a delay between the attach event and the creation of the /dev
entry? Am I missing something here? Maybe I should use devfs for this.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]                       Phone: +1 510 486-8634
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to