How to find the device address inside kernel

Greg KH greg at kroah.com
Fri Aug 15 11:30:45 EDT 2014


On Fri, Aug 15, 2014 at 05:54:19PM +0530, Ulka Vaze wrote:
> Hi,
> I want to find the device address of scsi generic /dev/sg2 inside kernel.
> Is there any way to find that ?
> Any pointers are appreciated.

What exactly do you mean by "device address"?  And from where are you
trying to find this, and what do you want to do with it once you find
it?

thanks,

greg k-h



More information about the Kernelnewbies mailing list