Date: Sat, 10 Dec 2005 16:01:03 +0100 (CET) From: Wojciech Puchar <wojtek@tensor.3miasto.net> To: freebsd-questions@freebsd.org Subject: devd.conf question Message-ID: <20051210160006.V33827@chylonia.3miasto.net>
next in thread | raw e-mail | index | archive | help
i have such :
# $FreeBSD: src/etc/devd.conf,v 1.26.2.1 2005/09/03 22:49:22 sam Exp $
#
# Refer to devd.conf(5) and devd(8) man pages for the details on how to
# run and configure devd.
#
# NB: All regular expressions have an implicit ^$ around them.
# NB: device-name is shorthand for 'match device-name'
options {
# Each directory directive adds a directory the list of directories
# that we scan for files. Files are read-in in the order that they
# are returned from readdir(3). The rule-sets are combined to
# create a DFA that's used to match events to actions.
directory "/etc/devd";
directory "/usr/local/etc/devd";
pid-file "/var/run/devd.pid";
# Setup some shorthand for regex that we use later in the file.
#XXX Yes, these are gross -- imp
set scsi-controller-regex
"(aac|adv|adw|aha|ahb|ahc|ahd|aic|amd|amr|asr|bt|ciss|ct|dpt|\
esp|ida|iir|ips|isp|mlx|mly|mpt|ncr|ncv|nsp|stg|sym|trm|wds)\
[0-9]+";
};
attach 0 {
device-name "da[0-9]+";
action "/usr/sbin/chown root:umass $device-name;chmod 660 $device-name";
};
after inserting USB DataTraveller this action isn't performed and i
still needs to be root to access it.
what's wrong?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051210160006.V33827>
