X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=scripts%2Fver_linux;h=bb195a1c0f2d28e2ee57198917db2c8aea1609fe;hb=8e8ece46a861c84343256819eaec77e608ff9217;hp=47f14cbac39eb1aad1992777b20329a467e522b3;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/scripts/ver_linux b/scripts/ver_linux index 47f14cbac..bb195a1c0 100755 --- a/scripts/ver_linux +++ b/scripts/ver_linux @@ -37,8 +37,11 @@ tune2fs 2>&1 | grep "^tune2fs" | sed 's/,//' | awk \ fsck.jfs -V 2>&1 | grep version | sed 's/,//' | awk \ 'NR==1 {print "jfsutils ", $3}' -reiserfsck -V 2>&1 | grep reiserfsprogs | awk \ -'NR==1{print "reiserfsprogs ", $NF}' +reiserfsck -V 2>&1 | grep reiserfsck | awk \ +'NR==1{print "reiserfsprogs ", $2}' + +fsck.reiser4 -V 2>&1 | grep fsck.reiser4 | awk \ +'NR==1{print "reiser4progs ", $2}' xfs_db -V 2>&1 | grep version | awk \ 'NR==1{print "xfsprogs ", $3}' @@ -84,6 +87,8 @@ loadkeys -V 2>&1 | awk \ expr --v 2>&1 | awk 'NR==1{print "Sh-utils ", $NF}' +udevinfo -V | awk '{print "udev ", $3}' + if [ -e /proc/modules ]; then X=`cat /proc/modules | sed -e "s/ .*$//"` echo "Modules Loaded "$X