NetBSD PLug Event Daemon

WTF ?

It's an event notifier for USB devices only actually. It can attach some commands (like mount) when you plug or unplug a device.

Getting

Just click here. (version 0.1)

Installing

% make
# cp rc.d/pluged /usr/pkg/etc/rc.d/
# chmod +x /usr/pkg/etc/rc.d/pluged
# cat rc.conf >> /etc/rc.conf
# cp pluged /usr/pkg/sbin
# cp pluged.conf /usr/pkg/etc/

Running

# vim /usr/pkg/etc/pluged.conf
# /usr/pkg/etc/rc.d/pluged start

Tip(s)

You can alternatively use the -d (debug) switch to get a verbose output, maybe it will help you tracking problems in your pluged.conf file.
If you want to send me feedbacks, patches or whatever read the first lines of pluged.c