I'm trying to set a custom udev to set the /dev/sd** mount point for all 6 HDDs on my system.
I've been trying to get it to work, but it just wont. I need to get this sorted because my drives seem to randomly change messing with my links and libraries. 5 of my drives are truecrypt encrypted and as such i can`t use UUID to mount to specific points.
This is what i`ve been trying to use. Im running Ubuntu 13.04 ans have saved the file in /lib/udev/rules.d/65-persistent-hdd.rules
# These are the rules to force all drives into specific /dev/sd** slots for truecrypt mounting
#
KERNEL=="sd*", SUBSYSTEMS==" block", ATTRS{serial}=="3PK0R7AD", SYMLINK+="sda%n"
KERNEL=="sd*", SUBSYSTEMS==" block", ATTRS{serial}=="S1UVJ1LZ401091", SYMLINK+="sdb%n"
KERNEL=="sd*", SUBSYSTEMS==" block", ATTRS{serial}=="S1VSJ1KS202775", SYMLINK+="sdc%n"
KERNEL=="sd*", SUBSYSTEMS==" block", ATTRS{serial}=="W1F08BLH", SYMLINK+="sdd%n"
KERNEL=="sd*", SUBSYSTEMS==" block", ATTRS{serial}=="S1Y6J90SA14564", SYMLINK+="sde%n"
KERNEL=="sd*", SUBSYSTEMS==" block", ATTRS{serial}=="S13PJDWS223047", SYMLINK+="sdf%n"
So as you see, im trying to force {serial}=="3PK0R7AD" to /dev/sda, {serial}=="S1UVJ1LZ401091"to /dev/sdb, etc, etc