We are using dracut --mount to pass fstab lines for mounting filesystems
other than rootfs. But we did not provide passno for filesystem checking.
Add passno '2' for all the --mount targets.
Tested in F19 guest.
Signed-off-by: Dave Young <dyoung(a)redhat.com>
---
mkdumprd | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- kexec-tools.orig/mkdumprd
+++ kexec-tools/mkdumprd
@@ -104,7 +104,7 @@ to_mount() {
_o=$(findmnt -k -f -n -r -o OPTIONS $_dev)
_o=${_o/#ro/rw} #mount fs target as rw in 2nd kernel
_o="${_o},nofail" #with nofail set, systemd won't block for mount
failure
- _mntopts="$_t $_o"
+ _mntopts="$_t $_o 0 2"
#for non-nfs _dev converting to use udev persistent name
if [ -b "$_s" ]; then
_pdev="$(get_persistent_dev $_s)"
Show replies by date