2002-09-04 16:15:07

by Steven Cole

[permalink] [raw]
Subject: [PATCH] 2.4.20-pre5-ac2 update ver_linux yet again (jfsutils version reporting)

This patch adds jfsutils to the list of support software checked by the
ver_linux script. As with older versions of e2fsprogs, this requires
comma snippage. This check is done in the same order as the list in
Documentation/Changes and was tested with jfsutils 1.0.21.

Steven


--- linux-2.4.20-pre5-ac2/scripts/ver_linux.ac2 Wed Sep 4 09:48:19 2002
+++ linux-2.4.20-pre5-ac2/scripts/ver_linux Wed Sep 4 10:09:52 2002
@@ -33,6 +33,9 @@
tune2fs 2>&1 | grep "^tune2fs" | sed 's/,//' | awk \
'NR==1 {print "e2fsprogs ", $2}'

+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}'