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

From: Steven Cole (elenstev@mesatop.com)
Date: Wed Sep 04 2002 - 11:16:26 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 07 2002 - 22:00:22 EST