Changeset 90d6419


Ignore:
Timestamp:
Jan 15, 2007, 10:15:36 AM (15 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
ba879f8
Parents:
1b97e2d
Message:

Update to support Udev 104 and Device Mapper

Location:
udev
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • udev/40-modprobe.rules

    r1b97e2d r90d6419  
    2525SUBSYSTEM=="scsi_device",       ACTION=="add", RUN+="/sbin/modprobe sg"
    2626
     27# ide
     28KERNEL=="hd*",          SUBSYSTEMS=="ide", ATTRS{media}=="floppy", OPTIONS+="all_partitions"
     29SUBSYSTEM=="ide",       ACTION=="add", ATTR{media}=="tape", RUN+="/sbin/modprobe ide-scsi"
     30
    2731# floppy
    28 KERNEL=="nvram",                ACTION=="add", RUN+="load_floppy_module.sh"
     32KERNEL=="nvram",        ACTION=="add", RUN+="load_floppy_module.sh"
     33
     34# mmc
     35SUBSYSTEM=="mmc",       ACTION=="add", RUN+="/sbin/modprobe mmc_block"
     36
  • udev/50-udev.rules

    r1b97e2d r90d6419  
    2828
    2929# serial devices
    30 KERNEL=="tty[A-Z]*",            GROUP="uucp"
    31 KERNEL=="pppox*",               GROUP="uucp"
    32 KERNEL=="ircomm*",              GROUP="uucp"
    33 KERNEL=="modems/mwave*",        GROUP="uucp"
    34 KERNEL=="hvc*",                 GROUP="uucp"
    35 KERNEL=="hvsi*",                GROUP="uucp"
    36 KERNEL=="iseries/vtty*",        GROUP="uucp"
    37 KERNEL=="ttyUSB*",              ATTRS{product}=="[Pp]alm*Handheld*", SYMLINK+="pilot"
     30KERNEL=="tty[A-Z]*|pppox*|ircomm*|noz*",        GROUP="uucp"
     31KERNEL=="mwave",                                NAME="modems/%k", GROUP="uucp"
     32KERNEL=="hvc*|hvsi*",                           GROUP="uucp"
     33KERNEL=="iseries/vtty*",                        GROUP="uucp"
     34KERNEL=="ttyUSB*",                              ATTRS{product}=="[Pp]alm*Handheld*", SYMLINK+="pilot"
     35KERNEL=="ttyUSB*",                              ATTRS{product}=="[Hh]andspring*Treo*|[Hh]andspring*Visor*", SYMLINK+="pilot"
    3836
    3937# video/graphics
    4038SUBSYSTEM=="video4linux",       GROUP="video"
    4139SUBSYSTEM=="graphics"           GROUP="video"
    42 KERNEL=="vtx*",                 GROUP="video"
    43 KERNEL=="vbi*",                 GROUP="video"
     40KERNEL=="vtx*|vbi*",            GROUP="video"
    4441KERNEL=="winradio*",            GROUP="video"
    4542KERNEL=="vttuner*",             GROUP="video"
    46 KERNEL=="nvidia*",              GROUP="video"
     43KERNEL=="nvidia*|nvidiactl*",   GROUP="video"
    4744KERNEL=="video0",               SYMLINK+="video"
    4845KERNEL=="radio0",               SYMLINK+="radio"
     
    5451
    5552# input devices
    56 KERNEL=="mice",                 NAME="input/%k", MODE="0640"
    57 KERNEL=="mouse*",               NAME="input/%k", MODE="0640"
     53KERNEL=="mouse*|mice",          NAME="input/%k", MODE="0640"
    5854KERNEL=="event*",               NAME="input/%k", MODE="0640"
    5955KERNEL=="js*",                  NAME="input/%k", MODE="0644"
     
    9389
    9490# misc devices
    95 KERNEL=="mem",                  GROUP="kmem", MODE="640"
    96 KERNEL=="kmem",                 GROUP="kmem", MODE="640"
     91KERNEL=="mem|kmem",             GROUP="kmem", MODE="640"
    9792KERNEL=="port",                 GROUP="kmem", MODE="640"
    9893KERNEL=="nvram",                GROUP="kmem", MODE="600"
     
    132127ACTION=="add",                  SUBSYSTEM=="scsi" , ATTR{type}=="1", ATTR{timeout}="900"
    133128
    134 # device mapper
    135 KERNEL=="device-mapper",        SYMLINK+="mapper/control"
    136 
    137129# misc storage devices (non-block)
    138130KERNEL=="sg*",                  GROUP="disk", MODE="640"
     
    154146KERNEL=="evms/block_device*",   GROUP="disk"
    155147KERNEL=="rawctl*",              GROUP="disk"
    156 KERNEL=="osst*",                GROUP="tape"
    157 KERNEL=="nosst*",               GROUP="tape"
     148SUBSYSTEM=="block",             KERNEL=="raw[0-9]*", NAME="raw/%k", GROUP="disk"
     149KERNEL=="osst*|nosst*",         GROUP="tape"
    158150KERNEL=="iseries/vt*",          GROUP="disk"
    159151KERNEL=="iseries/nvt*",         GROUP="disk"
  • udev/60-persistent-disk.rules

    r1b97e2d r90d6419  
    2222
    2323# skip rules for inappropriate block devices
    24 KERNEL=="ram*|loop*|fd*|nbd*|dm-*", GOTO="persistent_storage_end"
     24KERNEL=="ram*|loop*|fd*|nbd*|gnbd*|dm-*|md*", GOTO="persistent_storage_end"
    2525
    2626# Set Permissions on CDOM
     
    2828
    2929# never access removable ide devices, the drivers are causing event loops on open()
    30 KERNEL=="hd*[!0-9]",    ATTRS{removable}=="1", DRIVERS=="ide-cs|ide-floppy", GOTO="persistent_storage_end"
     30KERNEL=="hd*[!0-9]",    ATTR{removable}=="1", DRIVERS=="ide-cs|ide-floppy", GOTO="persistent_storage_end"
    3131KERNEL=="hd*[0-9]",     ATTRS{removable}=="1", GOTO="persistent_storage_end"
    3232
Note: See TracChangeset for help on using the changeset viewer.