code: public static List<File> listAll(String ... fstypes) {
  		
  		List<File> drives = null; 
  		switch(Platform.getCurrent()) {
  		case WINDOWS_32:
  		case WINDOWS_64:
  			drives = listWindowsFileSystems();
  			break;
  		case LINUX_32:
  		case LINUX_64:
  		case UNIX_32:
  		case UNIX_64:
  			try {
  				drives = listUnixFileSystems(fstypes);
  			} catch (IOException e) {
  				logger.error("error launching external mount command", e);
  			}
  			break;
  		default:
  			// TODO: what shall we do with MacOS-X? Is it a UNIX flavour in this respect?
  			logger.error("unsupported platform: '{}'", Platform.getCurrent());
  			break;
  		}
  		
  		return drives;
  	}
docs: Retrieves a list of all mounted file systems (or drives on Windows) in
  a platform-independent fashion.
  
  @param
  the types of file systems to retrieve; only applicable on UNIX machines.
  @return
  the list of mounted file systems.