projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1939a4f
)
99fs-lib/fs-lib.sh: handle nfs as nop
author
Harald Hoyer
<harald@redhat.com>
Mon, 5 Dec 2011 14:07:13 +0000
(15:07 +0100)
committer
Harald 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
patch
|
blob
|
history
diff --git
a/modules.d/99fs-lib/fs-lib.sh
b/modules.d/99fs-lib/fs-lib.sh
index
6f2664a
..
7bb6132
100755
(executable)
--- 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" &&