Ignore:
Timestamp:
May 22, 2007, 3:58:39 PM (17 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:
95756c0
Parents:
5a98ed2
Message:

Libata Updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • udev/60-persistent-disk.rules

    r5a98ed2 r2b92d03  
    5454KERNEL=="sd*[!0-9]|sr*|st*",    ENV{ID_SERIAL}=="", IMPORT{program}="scsi_id -g -x -a -s %p -d $tempnode"
    5555KERNEL=="sd*[!0-9]|sr*",        ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}"
    56 KERNEL=="sd*[0-9]",             ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}-part%n"
    57 KERNEL=="sd*[!0-9]|sr*",        ENV{ID_SERIAL}=="?*", ENV{ID_VENDOR}=="ATA", SYMLINK+="disk/by-id/ata-$env{ID_MODEL}_$env{ID_SERIAL_SHORT}"
    58 KERNEL=="sd*[0-9]",             ENV{ID_SERIAL}=="?*", ENV{ID_VENDOR}=="ATA", SYMLINK+="disk/by-id/ata-$env{ID_MODEL}_$env{ID_SERIAL_SHORT}-part%n"
     56
     57# libata compat (links like hd*)
     58KERNEL=="sd*[!0-9]|sr*",        ENV{ID_VENDOR}=="ATA", PROGRAM="ata_id $tempnode", ENV{ID_ATA_COMPAT}="$result"
     59KERNEL=="sd*[!0-9]|sr*",        ENV{ID_ATA_COMPAT}=="?*", SYMLINK+="disk/by-id/ata-$env{ID_ATA_COMPAT}"
     60KERNEL=="sd*[0-9]",             ENV{ID_ATA_COMPAT}=="?*", SYMLINK+="disk/by-id/ata-$env{ID_ATA_COMPAT}-part%n"
    5961
    6062KERNEL=="mmcblk[0-9]",          ATTR{name}=="?*", ATTR{serial}=="?*", ENV{ID_NAME}="$attr{name}", ENV{ID_SERIAL}="$attr{serial}", SYMLINK+="disk/by-id/mmc-$env{ID_NAME}_$env{ID_SERIAL}"
Note: See TracChangeset for help on using the changeset viewer.