/[packages]/cauldron/udev/current/SOURCES/50-udev-mageia.rules
ViewVC logotype

Contents of /cauldron/udev/current/SOURCES/50-udev-mageia.rules

Parent Directory Parent Directory | Revision Log Revision Log


Revision 184056 - (show annotations) (download)
Sun Dec 18 22:37:20 2011 UTC (8 years, 9 months ago) by colin
File size: 1340 byte(s)
Rename mandriva-rules to mageia-rules
1 # do not edit this file, it will be overwritten on update
2
3 # permissions for SCSI CD devices
4 SUBSYSTEM=="scsi", KERNEL=="sg*", MODE="0660", GROUP="cdwriter"
5 SUBSYSTEM=="scsi", KERNEL=="s[grt][0-9]*", ATTR{type}=="5", MODE="0660", GROUP="cdrom"
6
7 # tape devices (inspired from Gentoo rules)
8 KERNEL=="st[0-9]*|nst[0-9]*|ht[0-9]*|nht[0-9]*|pt[0-9]*|npt[0-9]*", GROUP="tape"
9 SUBSYSTEMS=="scsi", KERNEL=="sg[0-9]*", ATTRS{type}=="[18]", GROUP="tape"
10
11 # IDE devices
12 SUBSYSTEMS=="ide", KERNEL=="hd[a-z]", ATTR{removable}=="1", ATTR{media}=="cdrom", GROUP="cdrom"
13 SUBSYSTEMS=="ide", KERNEL=="hd[a-z]", ATTR{removable}=="1", ATTR{media}=="floppy", GROUP="floppy"
14
15 # workaround for devices which do not report media changes (adapted from Debian)
16 SUBSYSTEMS=="ide", KERNEL=="hd[a-z]", ATTR{removable}=="1", \
17 ENV{ID_MODEL}=="IOMEGA_ZIP*", OPTIONS+="all_partitions", GROUP="floppy"
18
19 # video (supplement of 40-video.rules, currently overidden by pam_console)
20 KERNEL=="card[0-9]*", GROUP="video"
21 KERNEL=="3dfx*", GROUP="video"
22
23 # sound devices (sound=alsa, snd=oss)
24 SUBSYSTEM=="sound|snd", GROUP="audio"
25
26 # tty devices
27 KERNEL=="dcbri*", GROUP="tty"
28 # pilot/palm devices
29 KERNEL=="pilot", GROUP="uucp"
30
31 # ISDN devices
32 KERNEL=="ippp0", GROUP="tty"
33 # CAPI devices
34 KERNEL=="capi", NAME="capi20", SYMLINK+="isdn/capi20"
35 KERNEL=="capi*", NAME="capi/%n"

  ViewVC Help
Powered by ViewVC 1.1.28