linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* udevinfo query
@ 2004-01-27  3:05 Jon Smirl
  2004-01-27  7:12 ` Kay Sievers
  0 siblings, 1 reply; 2+ messages in thread
From: Jon Smirl @ 2004-01-27  3:05 UTC (permalink / raw)
  To: linux-hotplug

It would be nice to be able to query for the full path to the node. This would
make it easier to script things.  Instead of "udevinfo -r" and "udevinfo -p
/class/dri/card0 -q name", I could just do something like "udevinfo -p
/class/dri/card0 -q fullname" and get back /udev/dri/card0

I tried "udevinfo -p /class/dri/card0 -q name" without udev running. It gives
the error "device not found in database". udevinfo -r returns "/udev/".
Shouldn't these messages be changed to indicate that udev is not mounted and
running?


==Jon Smirl
jonsmirl@yahoo.com

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
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] 2+ messages in thread

end of thread, other threads:[~2004-01-27  7:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-27  3:05 udevinfo query Jon Smirl
2004-01-27  7:12 ` Kay Sievers

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