[C++][Linux] get free/total space of all usb devices

Viewed 34

I can't seem to find the right library to get a list of all usb drives with their total and currently occupied capacity.

Can you please point me into the right direction? I checked out udev and lib usb, also statfs. Perhaps I'm missing something there.

0 Answers
Related