SCSI devices or IDE devices are indirectly gives the /dev/hdx or /dev/sdx devices but certainly those devices are part of the stack. we don't write to them, all the calls come via the mounted file system. Same case with the net devices. I don't think its possible to find which processes are using the drivers. We can see who has open the device files but finding out which process is currently hooked inside the driver is complex thing to find out online. Can be done from the debugger. Regards, Parav Pandit --- Satish <satishr@xxxxxxxxx> wrote: > Hi all, > To my understanding, all the devices are > classified as either of the > following: > char (single char) , block (fixed size of chunk) > and network (variable > size of chunk)... > And all the SCSI devices are accessed via /dev > interface only (correct me > if i am wrong). > Only network devices are not accesible via /dev > and will come different > path of stack (TCP/IP or whatever). > Is this a correct understanding?? > > > On 8/1/06, Parav Pandit <paravpandit@xxxxxxxxx> > wrote: > > > > When drivers have char. or block devices than its > > fine. > > What about SCSI, network, USB drivers which are > not > > accessed via /dev interface and instead they are > > access directly by diff. process and come through > > different paths. > > > > Regards, > > Parav Pandit > > > > > > --- Anupam Kapoor <anupam.kapoor@xxxxxxxxx> wrote: > > > > > > If we can get the process id which are using > it, > > > than > > > > also it is fine. > > > what about using lsof... ? > > > > > > > > > -- > > > In the beginning was the lambda, and the lambda > was > > > with Emacs, and > > > Emacs was the lambda. > > > > > > -- > > > Kernelnewbies: Help each other learn about the > Linux > > > kernel. > > > Archive: > > > http://mail.nl.linux.org/kernelnewbies/ > > > FAQ: http://kernelnewbies.org/faq/ > > > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > > > -- > > Kernelnewbies: Help each other learn about the > Linux kernel. > > Archive: > http://mail.nl.linux.org/kernelnewbies/ > > FAQ: http://kernelnewbies.org/faq/ > > > > > > > -- > Satish. > > Listen to your heart.... > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/