ddi_* or usb_* functions to get the same info as prtconf
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > ddi_* or usb_* functions to get the same info as prtconf




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    ddi_* or usb_* functions to get the same info as prtconf  
ofilha


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-21-05 11:02 PM

I posted a similar post about this before.  I am trying to find out
which device file a usb flash memory drive is on with a c program.  I
am working on a solaris x86.  I know i can use iostat -Enm which lets
me know the mount points for the devices i have mounted.  I also can
use prtconf -D or -v to find out what the devices are, the vendors
names, etc...  I am wondering if there is a way to do this in a similar
manner as prtconf and iostat but using APIs for these devices, withouth
having to call the above commands and then parse them out via a popen
function.  I have been looking at usb_ functions as well as the ddi_
functions but i am not sure this is the way to go about.  What i need
is: to find out the devices, the vendors names and where the devices
are mounted so a user can select the proper drive.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:08 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register