Commit graph

4 commits

Author SHA1 Message Date
Kay Sievers 3870186374 rules: add nvram 2008-08-11 10:34:18 +02:00
Kay Sievers f755fd5657 rules: run vol_id on opticals only if media is found
Opening an optical drive device node without O_NONBLOCK autocloses the
tray, we run vol_id on every media change by kernel emitted "change"
events, which can make it hard to change the media when the tray closes
immediatey again.:) We check for cdrom_id to indicate an existing track,
if no media is found, we will not open the device with vol_id.

Thanks to Christian Krause and DavidZ for debugging and testing.
2008-08-02 10:26:48 +02:00
Kay Sievers f63dc3b74f rules: mode 0660 for group "disk" 2008-07-30 13:20:31 +02:00
Kay Sievers 282988c4f8 move default rules from /etc/udev/rules.d/ to /lib/udev/rules.d/
None of these rules is supposed to be changed by users, so move
them out of /etc. Custom rules, and automatically generated rules
stay in /etc. All rules are still processed in lexical order,
regardless which directory they live in.
2008-07-18 15:56:03 +02:00