Magellan Linux

Contents of /tags/udev-171-r1/udev-cd-aliases-generator.rules.magellan

Parent Directory Parent Directory | Revision Log Revision Log


Revision 512 - (show annotations) (download)
Sat Mar 22 18:06:28 2008 UTC (16 years, 1 month ago) by niro
Original Path: trunk/udev/udev-cd-aliases-generator.rules.magellan
File size: 588 byte(s)
-updated to upstream 119 rules

1 # /etc/udev/rules/75-cd-aliases-generatory.rules: device naming rules for udev
2 # $Header: /root/magellan-cvs/src/udev/udev-cd-aliases-generator.rules.magellan,v 1.2 2008-03-22 18:06:06 niro Exp $
3
4 # these rules generate rules for the /dev/{cdrom,dvd,...} symlinks
5
6 # the path of removable devices changes frequently
7 ACTION=="add", SUBSYSTEM=="block", SUBSYSTEMS=="usb|ieee1394", ENV{ID_CDROM}=="?*", ENV{GENERATED}!="?*", PROGRAM="write_cd_rules by-id", SYMLINK+="%c"
8
9 ACTION=="add", SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{GENERATED}!="?*", PROGRAM="write_cd_rules", SYMLINK+="%c"