99fs-lib/fs-lib.sh: handle nfs as nop
authorHarald Hoyer <harald@redhat.com>
Mon, 5 Dec 2011 14:07:13 +0000 (15:07 +0100)
committerHarald Hoyer <harald@redhat.com>
Thu, 15 Dec 2011 07:54:49 +0000 (08:54 +0100)
handle fstype=nfs for fsck and let it be a nop

modules.d/99fs-lib/fs-lib.sh

index 6f2664a..7bb6132 100755 (executable)
@@ -62,6 +62,11 @@ fsck_able() {
             _drv="_drv=none fsck_drv_btrfs" &&
             return 0
             ;;
+        nfs*)
+            # nfs can be a nop, returning success
+            _drv="_drv=none :" &&
+            return 0
+            ;;
         *)
             type fsck >/dev/null 2>&1 &&
             _drv="_drv=fsck fsck_drv_std" &&