public List<FileSystemInfo> getFileSystems() {
List<String> mountPoints = new ArrayList<String>();
try {
FileSystemMap map = sigar.getFileSystemMap();
mountPoints.addAll(map.keySet());
} catch (Exception e) {
log.warn("Cannot obtain native file system information", e); // ignore native error otherwise
}
List<FileSystemInfo> infos = new ArrayList<FileSystemInfo>();