linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] 2.4.23-pre3-bk fix ver_linux script to work with recent reiserfsprogs.
@ 2003-09-11 13:40 Steven Cole
  0 siblings, 0 replies; only message in thread
From: Steven Cole @ 2003-09-11 13:40 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: linux-kernel

Recent reiserfsprogs report the version number in a different format
than before, causing the present ver_linux script to not report the
version number.

This patch allows scripts/ver_linux to work with these newer versions,
while maintaining backward compatibility with the older versions.  This
was tested with reiserfsprogs 3.x.0j, 3.6.8, 3.6.10, and 3.6.11.

Steven

--- 2.4-bk-current/scripts/ver_linux.original	Wed Sep 10 14:52:06 2003
+++ 2.4-bk-current/scripts/ver_linux	Wed Sep 10 15:34:34 2003
@@ -39,6 +39,9 @@
 reiserfsck -V 2>&1 | grep reiserfsprogs | awk \
 'NR==1{print "reiserfsprogs         ", $NF}'
 
+reiserfsck -V 2>&1 | grep namesys | awk \
+'NR==1{print "reiserfsprogs         ", $2}'
+
 cardmgr -V 2>&1| grep version | awk \
 'NR==1{print "pcmcia-cs             ", $3}'
 





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-09-11 13:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-11 13:40 [PATCH] 2.4.23-pre3-bk fix ver_linux script to work with recent reiserfsprogs Steven Cole

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).