From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Pilcher Date: Thu, 28 Apr 2005 22:08:02 +0000 Subject: Finding sysfs mount point Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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?id5hix _______________________________________________ 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