Hi dear community,
I am using GTK 3+ for my embedded device . I want to store some files from my internal memory to the USB device. The USB must be select-able from the UI. I have came across gtk file chooser widget for folder selection. But this opens as a popup which enables the user t explore device folders. I dont want the user to see the folders. Is there an special widgets that shows only the list of USB connected or can this be done in any other way?
I tried to hard code pendrive as /media/sda1 but when I remove and insert pendrive again, it gets mounted as /media/sdb1 and next time as /media/sdc1 and so. So hard coding pendrive location is not at all possible.
Help or suggestions will be appreciated.
Thank you very much for your time