Hi SoftSprocket,
Thank you very much for you reply. Now I can list the pendrives and memory card properly. But when I insert a pendrive first time, It is mounting as /dev/sda1 and after some read and write into the directory /dev/sda1, then when removed and mount again, the pendrive is mounted as /dev/sdb1. As the directory changes, I am not able code the directory in my C Code. How to mount the pendrive always under /dev/sda1?
Thank you very much for your time.
Regards,
Nishanth
|