2003-01-02 23:41:39

by carbonated beverage

[permalink] [raw]
Subject: [PATCH] modutils update

Hi all,

Update of Documentation/Changes and scripts/ver_linux to use
depmod instead of rmmod as per Rusty's suggestions.

Would have sent this out sooner, but 'net access died...

-- DN
Daniel

diff -ur ../linux-2.5/Documentation/Changes linux-2.5/Documentation/Changes
--- ../linux-2.5/Documentation/Changes Thu Jan 2 15:43:50 2003
+++ linux-2.5/Documentation/Changes Thu Jan 2 15:46:37 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
diff -ur ../linux-2.5/scripts/ver_linux linux-2.5/scripts/ver_linux
--- ../linux-2.5/scripts/ver_linux Thu Jan 2 15:44:23 2003
+++ linux-2.5/scripts/ver_linux Thu Jan 2 15:46:42 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}'