linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Finding sysfs mount point
@ 2005-04-28 22:08 Ian Pilcher
  2005-04-29  4:48 ` Greg KH
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ian Pilcher @ 2005-04-28 22:08 UTC (permalink / raw)
  To: linux-hotplug

I'm trying to write a script (invoked via a PROGRAM key) to find the
interface number of a USB serial port.  (See my post in the "udev: rules
using multiple sysfs directories" thread for the reason why.)

To do this I need to look as sysfs.  What's the best way to figure out
where it's mounted?

Also, is it safe to rely on the contents of DEVPATH to find a symbolic
link to the device?

Thanks!

-- 
====================================
Ian Pilcher                                        i.pilcher@comcast.net
====================================



-------------------------------------------------------
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] 4+ messages in thread

end of thread, other threads:[~2005-05-04 17:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-28 22:08 Finding sysfs mount point Ian Pilcher
2005-04-29  4:48 ` Greg KH
2005-04-29  7:09 ` Christian Bornträger
2005-05-04 17:51 ` Nico -telmich- Schottelius

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