lkml.org 
[lkml]   [2003]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[: [PATCH] module-init-tools update]
	Resend, as I didn't see this one show up on l-k.

Here's a small patch for Documentation/Changes and scripts/ver_linux
to use depmod instead of rmmod as per Rusty's suggestion.

rmmod will exec the old version of the modutils depending on the
command-line, whereas depmod will give its own version instead.

Please apply.

-- DN
Daniel

--- Documentation/Changes.old Thu Jan 9 10:51:36 2003
+++ Documentation/Changes Thu Jan 9 11:27:54 2003
@@ -52,7 +52,7 @@
o Gnu make 3.78 # make --version
o binutils 2.9.5.0.25 # ld -v
o util-linux 2.10o # fdformat --version
-o module-init-tools 0.9 # rmmod -V
+o module-init-tools 0.9 # depmod -V
o e2fsprogs 1.29 # tune2fs
o jfsutils 1.0.14 # fsck.jfs -V
o reiserfsprogs 3.6.3 # reiserfsck -V 2>&1|grep reiserfsprogs
--- scripts/ver_linux.old Thu Jan 9 10:52:10 2003
+++ scripts/ver_linux Thu Jan 9 11:27:57 2003
@@ -28,7 +28,7 @@

mount --version | awk -F\- '{print "mount ", $NF}'

-rmmod -V 2>&1 | awk 'NR==1 {print "module-init-tools ",$NF}'
+depmod -V 2>&1 | awk 'NR==1 {print "module-init-tools ",$NF}'

tune2fs 2>&1 | grep "^tune2fs" | sed 's/,//' | awk \
'NR==1 {print "e2fsprogs ", $2}'
-
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/
\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.030 / U:1.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site