From: grev Date: Wed, 15 Oct 2008 16:06:38 +0000 (+0000) Subject: b=14471 X-Git-Tag: v1_7_120~1^144 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=938631c8571e5c170714491e0f0a8b3a4bdd6d06;p=fs%2Flustre-release.git b=14471 i=Adilger replace lustre proc by lctl [set|get]_param --- diff --git a/lustre/tests/lfscktest.sh b/lustre/tests/lfscktest.sh index b10190a..d7691f6 100755 --- a/lustre/tests/lfscktest.sh +++ b/lustre/tests/lfscktest.sh @@ -45,7 +45,7 @@ if [ "$WAS_MOUNTED" ]; then fi get_mnt_devs() { - DEVS=`cat /proc/fs/lustre/$1/*/mntdev` + DEVS=`lctl get_param -n $1.*.mntdev` for DEV in $DEVS; do case $DEV in *loop*) losetup $DEV | sed -e "s/.*(//" -e "s/).*//" ;;