]> err.no Git - systemd/commitdiff
update SUSE rules
authorKay Sievers <kay.sievers@suse.de>
Tue, 10 Oct 2006 14:56:33 +0000 (16:56 +0200)
committerKay Sievers <kay.sievers@suse.de>
Tue, 10 Oct 2006 14:56:33 +0000 (16:56 +0200)
etc/udev/suse/60-persistent-storage.rules

index ed979e3ce614d56c3885c286a61655284f0a9966..dfc1ba1e23fe56f9fb881cdd5d89272e390de3a7 100644 (file)
@@ -26,6 +26,8 @@ KERNEL=="sd*[!0-9]|sr*|st*", ENV{ID_SERIAL}=="", IMPORT{program}="scsi_id -g -x
 KERNEL=="dasd*[!0-9]", IMPORT{program}="dasd_id --export $tempnode"
 KERNEL=="sd*[!0-9]|sr*|dasd*[!0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}"
 KERNEL=="sd*[0-9]|dasd*[0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}-part%n"
+KERNEL=="sd*[!0-9]|sr*|dasd*[!0-9]", ENV{ID_SERIAL}=="?*", ENV{ID_VENDOR}=="ATA", SYMLINK+="disk/by-id/ata-$env{ID_MODEL}_$env{ID_SERIAL_SHORT}"
+KERNEL=="sd*[0-9]|dasd*[0-9]", ENV{ID_SERIAL}=="?*", ENV{ID_VENDOR}=="ATA", SYMLINK+="disk/by-id/ata-$env{ID_MODEL}_$env{ID_SERIAL_SHORT}-part%n"
 KERNEL=="st*", ENV{ID_SERIAL}=="?*", SYMLINK+="tape/by-id/$env{ID_BUS}-$env{ID_SERIAL}"
 
 # by-path (shortest physical path)