linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* udev & kernel names
@ 2005-04-26 23:15 Nishanth Aravamudan
  2005-04-27 16:05 ` Greg KH
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: Nishanth Aravamudan @ 2005-04-26 23:15 UTC (permalink / raw)
  To: linux-hotplug

Greg, udev Developers,

One of the most valuable features of new udev-based system is persistent
device naming. This is especially useful for large systems, which may
involve upwards of 4000 disks. Rather than determining which disk is
sdzz, the administrator can name it tray15_disk7 and thus easily access
the drive. We all know this much, though.

Another interesting idea would be to somehow inform the kernel of these
new names (sysfs?). The gist being that currently, even though udev has
created a new dev node for the device, the kernel is unaware of this
``name'' when reporting errors. I think it could be very useful for our
friendly sysadmin to see ``tray15_disk7 has failed'' rather than ``sdzz
has failed.'' Or perhaps they want to offline an entire tray; it would
be simpler in scripts to refer to ``tray15_*'' than the appropriate
kernel device nodes.

My questions are:

Is this feasible?
Would a new file per-device in sysfs be the appropriate place for this?
Is there a better way to go about getting these useful log messages?

If I need to clarify the problem/proposed solution further, please let
me know.

Please make sure to keep me CC'ed on replies, as I am not subscribed to
the hotplug list.

Thanks,
Nish


-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id\x105hix
_______________________________________________
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] 13+ messages in thread

end of thread, other threads:[~2005-04-28 23:15 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-26 23:15 udev & kernel names Nishanth Aravamudan
2005-04-27 16:05 ` Greg KH
2005-04-27 16:43 ` Daniel Stekloff
2005-04-27 16:53 ` Nishanth Aravamudan
2005-04-27 16:57 ` Greg KH
2005-04-27 17:24 ` Daniel Stekloff
2005-04-27 23:01 ` Martin Schwenke
2005-04-28  4:37 ` Greg KH
2005-04-28 11:05 ` ocomber
2005-04-28 11:21 ` Michael Buesch
2005-04-28 14:22 ` ocomber
2005-04-28 14:43 ` Kay Sievers
2005-04-28 23:15 ` Martin Schwenke

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