On Wednesday 10 June 2015 18:39:11 Michael Soulier wrote: > On 2015-06-09 4:22 PM, deloptes wrote: > > ls -a /dev/disk/by-id/ or uuid is an option if you want predictable name, > > no? > > I suppose, but I'd like to know why working through udev isn't working.
Not every subsystem works.
You use
SUBSYSTEM=="scsi", ATTRS{model}=="JD FireFly ", SYMLINK+="Lexar%n"
I never had any luck with the scsi subsystem.
I have been using the following rules depending, mostly, on my mood at the moment. A good karma may help too :-)
ACTION="">
ACTION="" microSD",SYMLINK+="gps"
ACTION="" to ATA/ATAPI Bridge",SYMLINK+="usbext"
ACTION="">
Notice the use of SUBSYSTEM and SUBSYSTEMS. It was important to use the correct one.
Don't forget to reload the rules. I remember I had to run udevadm control --reload-rules but it isn't in the man page any more so things may have changed since then.
Frederic
|