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 tryin
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.
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"
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 :
> Alex Schuster wrote:
>>
>> Pau Peris wr
Alex Schuster wrote:
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"
SUBSYS
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", AT
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="s
Thx a lot!
2010/8/30 J. Roeleveld :
> 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
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
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
10 matches
Mail list logo