Re: How to tell whether a struct file is held by a process?

From: Alan Stern
Date: Fri May 22 2009 - 14:19:38 EST


On Fri, 22 May 2009, Pantelis Koukousoulas wrote:

> Note though, I assume that there is / will be a way to reliably
> predict the port
> number (at least roughly) given a physical port location. E.g., if I plugged
> a device to my front left usb connector and it got port number X, it should
> be possible to predict what the port number will be if I reconnect the same
> device to the same connector. (This doesn't have to hold across reboots).

If you don't reboot between connects, the port numbers and hub
identifiers will not change.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/