From 1340ae0f9fe3bd21cd2e68f8db8b7d932f30a9d6 Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Wed, 9 Jun 2004 11:33:52 +0000 Subject: [PATCH] Fix uses of xfs_check with an external log, needs -l now. --- common.rc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/common.rc b/common.rc index 69e2b2e7..30b719cb 100644 --- a/common.rc +++ b/common.rc @@ -571,7 +571,7 @@ _check_filesystem() fi fi - /usr/sbin/xfs_logprint -t $device $extra_log_options 2>&1 \ + /usr/sbin/xfs_logprint -t $extra_log_options $device 2>&1 \ | tee $tmp.fs_check | grep -q "" if [ $? -ne 0 ] then @@ -585,7 +585,8 @@ _check_filesystem() ok=0 fi - /usr/sbin/xfs_check $testoption $device 2>&1 | _fix_malloc >$tmp.fs_check + /usr/sbin/xfs_check $testoption $extra_log_options $device 2>&1 | \ + _fix_malloc >$tmp.fs_check if [ -s $tmp.fs_check ] then echo "_check_fs: filesystem on $device is inconsistent (c) (see $seq.full)" @@ -600,7 +601,7 @@ _check_filesystem() # repair doesn't scale massively at this stage, optionally skip it for now [ "$USE_BIG_LOOPFS" = yes ] || \ - /sbin/xfs_repair -n $device $extra_log_options >$tmp.fs_check 2>&1 + /sbin/xfs_repair -n $extra_log_options $device >$tmp.fs_check 2>&1 if [ $? -ne 0 ] then echo "_check_fs: filesystem on $device is inconsistent (r) (see $seq.full)" -- 2.47.3