diff --git a/automount_devd_DEBUG.conf b/automount_devd_DEBUG.conf new file mode 100644 index 0000000..c8b7e9d --- /dev/null +++ b/automount_devd_DEBUG.conf @@ -0,0 +1,13 @@ +notify 200 { + match "system" "DEVFS"; + match "type" "CREATE"; + match "cdev" "(da|mmcsd)[0-9]+"; + action "/usr/local/sbin/automount.sh $cdev attach >> /root/DEBUG.$cdev.attach 2>&1"; +}; + +notify 200 { + match "system" "DEVFS"; + match "type" "DESTROY"; + match "cdev" "(da|mmcsd)[0-9]+"; + action "/usr/local/sbin/automount.sh $cdev detach >> /root/DEBUG.$cdev.detach 2>&1"; +};