How can we distinguish System roots and external storage devices?
hello,
How can we detect the system drives and virtual drives? How can we distinguish between them? Using File.listRoots() method, we can get all the roots, but out of them how can we know which one is connected externally or through USB? Is there any other way? Please If you have knowledge about this, guide me.
Regards
Nikhil

