* USB IDE Connector
@ 2005-02-25 5:00 Sumit Narayan
2005-02-25 22:36 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Sumit Narayan @ 2005-02-25 5:00 UTC (permalink / raw)
To: linux-kernel
Hi,
I have an external IDE connector through USB port. Where could I get
the exact point inside the kernel, from where I would get information
such as Block No., Request size, partition details for a particular
request, _just_ before being sent to the disk.
Like, for a normal IDE, I could gather these details from inside the
function __ide_do_rw_disk from "struct request". Is there anyway for
finding out the same for a USB mass storage device?
Thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: USB IDE Connector
2005-02-25 5:00 USB IDE Connector Sumit Narayan
@ 2005-02-25 22:36 ` Greg KH
2005-02-26 18:58 ` Sumit Narayan
0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2005-02-25 22:36 UTC (permalink / raw)
To: Sumit Narayan; +Cc: linux-kernel
On Fri, Feb 25, 2005 at 10:30:27AM +0530, Sumit Narayan wrote:
> Hi,
>
> I have an external IDE connector through USB port. Where could I get
> the exact point inside the kernel, from where I would get information
> such as Block No., Request size, partition details for a particular
> request, _just_ before being sent to the disk.
>
> Like, for a normal IDE, I could gather these details from inside the
> function __ide_do_rw_disk from "struct request". Is there anyway for
> finding out the same for a USB mass storage device?
Why would you want to know this information for a controller device that
acts like a scsi one, not an IDE one (that's what usb storage devices
do...)
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: USB IDE Connector
2005-02-25 22:36 ` Greg KH
@ 2005-02-26 18:58 ` Sumit Narayan
0 siblings, 0 replies; 3+ messages in thread
From: Sumit Narayan @ 2005-02-26 18:58 UTC (permalink / raw)
To: Greg KH; +Cc: linux-kernel
Well, basically I would like to test the file system. And since I
travel I lot, I carry laptop and this external disk with me. So, was
just wondering if I could somehow conduct a disk-level test.
Thanks.
On Fri, 25 Feb 2005 14:36:49 -0800, Greg KH <greg@kroah.com> wrote:
> On Fri, Feb 25, 2005 at 10:30:27AM +0530, Sumit Narayan wrote:
> > Hi,
> >
> > I have an external IDE connector through USB port. Where could I get
> > the exact point inside the kernel, from where I would get information
> > such as Block No., Request size, partition details for a particular
> > request, _just_ before being sent to the disk.
> >
> > Like, for a normal IDE, I could gather these details from inside the
> > function __ide_do_rw_disk from "struct request". Is there anyway for
> > finding out the same for a USB mass storage device?
>
> Why would you want to know this information for a controller device that
> acts like a scsi one, not an IDE one (that's what usb storage devices
> do...)
>
> thanks,
>
> greg k-h
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-02-26 19:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-25 5:00 USB IDE Connector Sumit Narayan
2005-02-25 22:36 ` Greg KH
2005-02-26 18:58 ` Sumit Narayan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox