diff --git a/src/main/java/it/grid/storm/filesystem/MtabUtil.java b/src/main/java/it/grid/storm/filesystem/MtabUtil.java index 43f1a5f8..afc8725e 100644 --- a/src/main/java/it/grid/storm/filesystem/MtabUtil.java +++ b/src/main/java/it/grid/storm/filesystem/MtabUtil.java @@ -93,10 +93,7 @@ public static final int getMtabFscOrderPositionIndex() { protected static boolean skipLineForMountPoints(String line) { - if (line.startsWith("#") || !line.startsWith("/dev/")) { - return true; - } - return false; + return line.startsWith("#") || line.isEmpty(); } public static Map getFSMountPoints() throws Exception {