Magellan Linux

Annotation of /tags/udev-163-r1/udev-cd-aliases-generator.rules.magellan

Parent Directory Parent Directory | Revision Log Revision Log


Revision 512 - (hide 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 niro 121 # /etc/udev/rules/75-cd-aliases-generatory.rules: device naming rules for udev
2 niro 512 # $Header: /root/magellan-cvs/src/udev/udev-cd-aliases-generator.rules.magellan,v 1.2 2008-03-22 18:06:06 niro Exp $
3 niro 121
4     # these rules generate rules for the /dev/{cdrom,dvd,...} symlinks
5    
6 niro 512 # 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 niro 121 ACTION=="add", SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{GENERATED}!="?*", PROGRAM="write_cd_rules", SYMLINK+="%c"