Displaying 1 result from an estimated 1 matches for "1bc142_w2a56h8a".
2019 Feb 28
3
What files to edit when changing the sdX of hard drives?
Hi
I have read instructions for udev, I also found many example on how to do this.
I want to lock in the SDA/SDB/SDC for my drives and I came up with a rule like this
KERNEL=="sd?", SUBSYSTEM=="block", ENV{ID_SERIAL}=="ST500DM002-1BC142_W2A56H8A", NAME="sda", RUN+="/usr/bin/logger ID_SERIAL=$ENV{ID_SERIAL} set to /dev/sda ", GOTO="END_PERSISTENT_DISK"
However, it is not clear to me is in what files I need to add my rules.
Do I add a random file "99-my-rules.rules" in "/etc/udev/rules.d/&...