cplusplus.com
C++ : Forum : UNIX/Linux Programming : How to enumerate USB Mass Storage device
 
cplusplus.com
Information
Documentation
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs


post How to enumerate USB Mass Storage devices?

aghashahi (4)
Hi all,
I want to write a program in C that can enumerate all USB massand their mount point storage on my system. i want to give ability to copy one file to desired USB mass storage or read a file from it. I have posted another question about how can recieve USB arrival in this forum.
I think that this will possible with navigating into /proc/partitions and /proc/mounts is there any other way?
(I am working on Fedorad core 8 (kernel 2.6))
thanks a lot
Topic archived. No new replies allowed.