From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: default udev rules
Date: Mon, 11 Aug 2008 22:26:42 +0000 [thread overview]
Message-ID: <20080811222642.GA9810@kroah.com> (raw)
In-Reply-To: <1218277281.31266.32.camel@lgn.site>
On Mon, Aug 11, 2008 at 01:37:02PM -0400, David Zeuthen wrote:
> On Mon, 2008-08-11 at 16:42 +0100, Scott James Remnant wrote:
> > But surely that means cases where we need NAME= rules are now better
> > fixed by fixing the kernel to give it the right name in the first place?
>
> The kernel name is most of the time useless - it's simply just a damn
> cookie. FWIW, my view is that any application depending on the kernel
> name is always almost broken (except for singleton devices
> like /dev/mapper/control etc.) except for when the user hasn't
> configured what device to use (e.g. use the first webcam, the first
> optical drive etc. etc.).
>
> So this is why udev ships code (not user configurable settings!) in udev
> rules for persistent naming. Unfortunately we don't have persistent
> names for everything (and for some things it of course won't make
> sense). Send patches.
>
> Also, I would like to propose that whenever someone adds a subsystem to
> the kernel they also need, for the subsystem to be merged, to send a
> patch to udev for persistent naming (in cases where it makes sense).
> Such a patch would some of the time need to include a user space tool
> for investigating the device (for the cases where persistent naming make
> sense) if device not in sysfs is needed (sometimes it doesn't make sense
> for the kernel to collect all data in sysfs)
>
> I would really like to see the kernel adopt such a requirement for new
> subsystems. Greg?
No objection from me at all. Care to write up a small documentation bit
for this that we can place in Documentation/ABI/README?
thanks,
greg k-h
next prev parent reply other threads:[~2008-08-11 22:26 UTC|newest]
Thread overview: 62+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-09 10:21 default udev rules Kay Sievers
2008-08-09 15:23 ` Marco d'Itri
2008-08-09 18:55 ` Greg KH
2008-08-09 19:30 ` Marco d'Itri
2008-08-09 19:44 ` Greg KH
2008-08-09 20:03 ` Kay Sievers
2008-08-10 18:07 ` Scott James Remnant
2008-08-10 19:18 ` Marco d'Itri
2008-08-10 19:25 ` Greg KH
2008-08-10 19:47 ` Kay Sievers
2008-08-10 20:35 ` Kay Sievers
2008-08-11 8:45 ` Kay Sievers
2008-08-11 8:58 ` Marco d'Itri
2008-08-11 9:01 ` Marco d'Itri
2008-08-11 13:03 ` Scott James Remnant
2008-08-11 14:54 ` Kay Sievers
2008-08-11 15:18 ` David Zeuthen
2008-08-11 15:20 ` Scott James Remnant
2008-08-11 15:21 ` Scott James Remnant
2008-08-11 15:27 ` Kay Sievers
2008-08-11 15:28 ` Kay Sievers
2008-08-11 15:35 ` Scott James Remnant
2008-08-11 15:36 ` Scott James Remnant
2008-08-11 15:42 ` Scott James Remnant
2008-08-11 15:50 ` Kay Sievers
2008-08-11 16:00 ` Scott James Remnant
2008-08-11 16:06 ` piterpk
2008-08-11 16:14 ` Marco d'Itri
2008-08-11 16:19 ` Kay Sievers
2008-08-11 16:26 ` Marco d'Itri
2008-08-11 16:34 ` Kay Sievers
2008-08-11 16:37 ` Greg KH
2008-08-11 16:41 ` Kay Sievers
2008-08-11 16:45 ` Marco d'Itri
2008-08-11 16:48 ` Marco d'Itri
2008-08-11 16:48 ` Kay Sievers
2008-08-11 16:53 ` Scott James Remnant
2008-08-11 16:54 ` Marco d'Itri
2008-08-11 16:58 ` Greg KH
2008-08-11 17:00 ` Kay Sievers
2008-08-11 17:01 ` Kay Sievers
2008-08-11 17:06 ` Scott James Remnant
2008-08-11 17:08 ` Scott James Remnant
2008-08-11 17:10 ` Scott James Remnant
2008-08-11 17:24 ` Kay Sievers
2008-08-11 17:37 ` David Zeuthen
2008-08-11 17:40 ` Scott James Remnant
2008-08-11 18:00 ` Scott James Remnant
2008-08-11 18:01 ` Kay Sievers
2008-08-11 18:06 ` Scott James Remnant
2008-08-11 22:26 ` Greg KH [this message]
2008-08-11 22:28 ` Greg KH
2008-08-11 22:29 ` Greg KH
2008-08-11 23:40 ` Scott James Remnant
2008-08-11 23:41 ` Scott James Remnant
2008-08-12 0:00 ` Greg KH
2008-08-12 20:32 ` Kay Sievers
2008-08-13 1:53 ` H. Peter Anvin
2008-08-13 1:55 ` H. Peter Anvin
2008-11-18 17:39 ` Harald Hoyer
2008-11-18 17:52 ` Kay Sievers
2008-11-19 2:09 ` Piter PUNK
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=20080811222642.GA9810@kroah.com \
--to=greg@kroah.com \
--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).