From: Harald Hoyer Date: Mon, 5 Dec 2011 14:07:13 +0000 (+0100) Subject: 99fs-lib/fs-lib.sh: handle nfs as nop X-Git-Tag: 014~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f74775ba1c17b8675ba502d3ac78181c68101161;p=thirdparty%2Fdracut.git 99fs-lib/fs-lib.sh: handle nfs as nop handle fstype=nfs for fsck and let it be a nop --- diff --git a/modules.d/99fs-lib/fs-lib.sh b/modules.d/99fs-lib/fs-lib.sh index 6f2664aa1..7bb613293 100755 --- a/modules.d/99fs-lib/fs-lib.sh +++ b/modules.d/99fs-lib/fs-lib.sh @@ -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" &&