Whamcloud - gitweb
b=14471
authorgrev <grev>
Wed, 15 Oct 2008 16:06:38 +0000 (16:06 +0000)
committergrev <grev>
Wed, 15 Oct 2008 16:06:38 +0000 (16:06 +0000)
i=Adilger
replace lustre proc by lctl [set|get]_param

lustre/tests/lfscktest.sh

index b10190a..d7691f6 100755 (executable)
@@ -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/).*//" ;;