Detecting MSD on Mac/Linux
807603Feb 25 2008 — edited Feb 25 2008Guys,
Cudnt find any decent doc on this topic... Dunno if this is the rite place to post this even.
But still, how can we programatically get the path of a given Mass storage device(USB device) once it is connected to a LINUX or a MAC machine... In Windows, i understand we can use a JWinUtil.dll file for this purpose and then use the function getVolumeLabel()... But is there a similar way for Linux and Mac??? will the directory structure(wen a USB device is connected) remain the same, in all versions of Linux or is there any particular API in Java to deal with such a situation in Linux and Mac??? Also, can the USB be identified and accessed by their Volume Names???