From mboxrd@z Thu Jan 1 00:00:00 1970 From: greg@kroah.com (Greg KH) Date: Fri, 15 Aug 2014 23:30:45 +0800 Subject: How to find the device address inside kernel In-Reply-To: References: Message-ID: <20140815153045.GB6780@kroah.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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