From fc2bdcb64a43a1a44338e77db2375018c9d77bdd Mon Sep 17 00:00:00 2001 From: enricovianello Date: Fri, 1 Sep 2017 09:59:53 +0200 Subject: [PATCH] Fix for STOR-925 GPFS drops dev prefix in mtab causing StoRM backend sanity check to fail --- src/main/java/it/grid/storm/filesystem/MtabUtil.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 {