From: Martin von Gagern <Martin.vGagern@gmx.net>
To: linux-hotplug@vger.kernel.org
Subject: ID_PATH generated by path_id.c doesn't differentiate ide devices
Date: Sat, 15 Aug 2009 14:10:03 +0000 [thread overview]
Message-ID: <4A86C1BB.6020002@gmx.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 1448 bytes --]
Hi!
As of udev 143, the former path_id shell script has been replaced by a
version written in C. The new version doesn't have any special handling
for ide devices, as the old one does. As a consequence, a device
formerly known as "ID_PATH=pci-0000:00:1f.1-ide-0:1" now is only called
"ID_PATH=pci-0000:00:1f.1", causing persistent naming rules to become
obsolete. Furthermore, multiple devices attached to the same controller
can't be distinguished by their ID_PATH at all.
Was this change intentional? Was there some discussion about it, and if
so, can you point me at an archived version of it? I found none.
Is the omission of the ide port going stay, or will ide handling be
reimplemented eventually?
Is there some "official" suggestion as to what parameter to use for
persistent device naming rules, instead of the ID_PATH? Would you
suggest KERNEL as the closest replacement to ID_PATH, or rather ID_MODEL
or similar, in order to name devices rather than the ports they connect to?
I first reported this issue for Gentoo as http://bugs.gentoo.org/281558
I'm not sure how much of the Gentoo persistent device naming scheme
comes from the udev sources, but at least the path_id change I could
identify in the current udev git sources as well.
The commit introducing the switch to the C implementation:
http://git.kernel.org/?p=linux/hotplug/udev.git;a=commit;h=185ea6a76d3f
Greetings,
Martin von Gagern
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]
next reply other threads:[~2009-08-15 14:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-15 14:10 Martin von Gagern [this message]
2009-08-15 17:27 ` ID_PATH generated by path_id.c doesn't differentiate ide devices Bryan Kadzban
2009-08-15 17:47 ` Martin von Gagern
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A86C1BB.6020002@gmx.net \
--to=martin.vgagern@gmx.net \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).