Re: [gentoo-user] help with Persistent hard disk device names with udev

2010-10-09 Thread Matthias Schwarzott
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

Re: [gentoo-user] help with Persistent hard disk device names with udev

2010-09-01 Thread Neil Bothwick
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.

Re: [gentoo-user] help with Persistent hard disk device names with udev

2010-09-01 Thread David Relson
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"

Re: [gentoo-user] help with Persistent hard disk device names with udev

2010-08-31 Thread Pau Peris
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

Re: [gentoo-user] help with Persistent hard disk device names with udev

2010-08-31 Thread Dale
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

Re: [gentoo-user] help with Persistent hard disk device names with udev

2010-08-31 Thread Alex Schuster
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

Re: [gentoo-user] help with Persistent hard disk device names with udev

2010-08-31 Thread Pau Peris
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

Re: [gentoo-user] help with Persistent hard disk device names with udev

2010-08-30 Thread Pau Peris
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

Re: [gentoo-user] help with Persistent hard disk device names with udev

2010-08-30 Thread 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 rules > which are not currently working. I

[gentoo-user] help with Persistent hard disk device names with udev

2010-08-30 Thread Pau Peris
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