linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* udev and the kernel's idea of a device
@ 2004-04-06 19:22 Bill Nottingham
  2004-04-06 19:59 ` Greg KH
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Bill Nottingham @ 2004-04-06 19:22 UTC (permalink / raw)
  To: linux-hotplug

udev does not actually change the intrinsic name inside the kernel,
wherever such a thing might be kept. [*]

So, say you have a disk error, of some sort. It gets logged in the
logs, and a few days later you go to figure out what happened.

It can be logged in various ways:

- it can print out the 'kernel' device name.

   From a user perspective who's using udev, this isn't useful -
   you need a reverse mapping.

- it can print out the, say, host-channel-id-lun

   Again, here you need a reverse mapping.
 
- it can print out the major/minor

   Of course, the major/minor are dynamic. So, not only do you need
   a reverse mapping, you need a mapping that has a timeframe associated
   with each mapping for when it was valid.

Am I missing something here? Are there better ways to handle this?

Bill

[*] aside from network devices


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-04-08 21:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-06 19:22 udev and the kernel's idea of a device Bill Nottingham
2004-04-06 19:59 ` Greg KH
2004-04-06 20:10 ` Bill Nottingham
2004-04-06 20:30 ` Greg KH
2004-04-06 20:49 ` Bill Nottingham
2004-04-06 21:06 ` Greg KH
2004-04-06 21:14 ` Bill Nottingham
2004-04-06 21:43 ` Daniel Stekloff
2004-04-08 21:03 ` Greg KH

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).