On Monday 30 August 2010, Pau Peris wrote:
Hi, i would like to give persistent device names to the system hard
drives (just renaming its original device name to the one i want using
its serial number as identifier). I've created the following rules
which are not currently working. I'm trying
My udev rules use a combination of KERNEL, ATTRS(serial), and SYMLINK to
create named entries in /dev for my 2 USB hard drives.
With the following rules in /etc/udev/rules.d/10-local.rules:
KERNEL==sd*, ATTRS{serial}==FD...7264507, SYMLINK+=WD1
KERNEL==sd*, ATTRS{serial}==FD...7285643,
On Tue, 31 Aug 2010 21:33:01 +0200, Pau Peris wrote:
Hi, thanks a lot for the answers. The name of the rules file is
00_whatever.rules, as far as i know there's also an option which
prevents to modifye the setted rules.
PARAM:=value
The colon says don't let a subsequent rule change this.
Hi, after following your tips the code gets like the following one:
SUBSYSTEM==block, ATTR{serial}==VNVB05G2RKTRZH, NAME=hda
SUBSYSTEM==block, ATTR{serial}==9QK0T4WM, NAME=sda
SUBSYSTEM==block, ATTR{serial}==3QD0X58D, NAME=sdb
SUBSYSTEM==block, ATTR{serial}==9QK0RS9G, NAME=sdc
SUBSYSTEM==block,
Pau Peris writes:
Hi, after following your tips the code gets like the following one:
SUBSYSTEM==block, ATTR{serial}==VNVB05G2RKTRZH, NAME=hda
SUBSYSTEM==block, ATTR{serial}==9QK0T4WM, NAME=sda
SUBSYSTEM==block, ATTR{serial}==3QD0X58D, NAME=sdb
SUBSYSTEM==block, ATTR{serial}==9QK0RS9G,
Hi, thanks a lot for the answers. The name of the rules file is
00_whatever.rules, as far as i know there's also an option which
prevents to modifye the setted rules. Well, if no one knows how to do
i will try to find a different solution.
2010/8/31 Dale rdalek1...@gmail.com:
Alex Schuster
Hi, i would like to give persistent device names to the system hard
drives (just renaming its original device name to the one i want using
its serial number as identifier). I've created the following rules
which are not currently working. I'm trying to use device serial
numbers to properly set its
On Monday 30 August 2010 15:00:28 Pau Peris wrote:
Hi, i would like to give persistent device names to the system hard
drives (just renaming its original device name to the one i want using
its serial number as identifier). I've created the following rules
which are not currently working. I'm
Thx a lot!
2010/8/30 J. Roeleveld jo...@antarean.org:
On Monday 30 August 2010 15:00:28 Pau Peris wrote:
Hi, i would like to give persistent device names to the system hard
drives (just renaming its original device name to the one i want using
its serial number as identifier). I've created
9 matches
Mail list logo