dimm0k |
10-18-2016 06:28 PM |
udev not creating links according to rules.d
Running the latest Slackware64 14.2 with kernel 4.4.24 and am having some trouble getting symlinks created when I plug in several of my external USB drives. below is what my 04-local.rules file reads and is placed in /etc/udev/rules.d. the strange part is the first two drives get recognized and connected with no problems as I can see symlinks for usbhda* and usbhdb* created in /dev/. the latter two drives don't get recognized in similar fashion so I have to manually mount them as root. 'dmesg' shows them being connected, but udev for some reason won't. any suggestions?
Code:
SUBSYSTEMS=="scsi", ATTRS{model}=="00JB-00REA0 ", ATTRS{vendor}=="WDC WD25",
KERNEL=="sd*", SYMLINK+="usbhda%n"
# Hitachi backup HD
SUBSYSTEMS=="scsi", ATTRS{model}=="HDS722020ALA330 ", ATTRS{vendor}=="Hitachi ",
KERNEL=="sd*", SYMLINK+="usbhdb%n"
# Seagate 2TB backup HD
SUBSYSTEMS=="scsi", ATTRS{model}=="BUP Slim BL ", ATTRS{vendor}=="Seagate ",
KERNEL=="sd*", SYMLINK+="usbhdc%n"
# Seagate 4TB backup HD
SUBSYSTEMS=="scsi", ATTRS{model}=="BUP RD ", ATTRS{vendor}=="Seagate ",
KERNEL=="sd*", SYMLINK+="usbhdd%n"
|