Re: Differend udev names with different kernels

From: Tino Keitel
Date: Thu Sep 25 2008 - 17:24:27 EST


On Thu, Sep 25, 2008 at 23:13:19 +0200, Stefan Richter wrote:

[...]

>> Initially, my intention was to find a unique name for the hard disk,
>> that stays even if the disk is changed from Firewire to USB. However,
>> this doesn't seem to be possible with a default udev.

[...]

> An alternative though would be filesystem labels or filesystem UUIDs, if
> unique and persistent identifiers at the filesystem level rather than at
> the block device level are sufficient for your needs.

Not really. My initial problem was that a volume sometimes came up very
late, so that the lvm2 initscript didn't activate that volume group. So
I wanted to wait for this specific disk during boot. Meanwhile, I
created an udev rule that uses the vendor and device name, which also
has the advantage of being the same when the disk is connected via
Firewire and USB (or, should be the same at least, I didn't test USB
yet).

Regards,
Tino
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/