Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd85c41
)
Simple script to generate lkcd module symbols and commands for pasting
author
adilger
<adilger>
Wed, 8 Jan 2003 18:23:25 +0000
(18:23 +0000)
committer
adilger
<adilger>
Wed, 8 Jan 2003 18:23:25 +0000
(18:23 +0000)
into lkcd (no "source" command it appears).
lustre/tests/lkcdmap
[new file with mode: 0755]
patch
|
blob
diff --git a/lustre/tests/lkcdmap
b/lustre/tests/lkcdmap
new file mode 100755
(executable)
index 0000000..
f8a1fd5
--- /dev/null
+++ b/
lustre/tests/lkcdmap
@@ -0,0
+1,11
@@
+#!/bin/sh
+TMP=${TMP:-/tmp}
+cat /tmp/ogdb-`hostname` | while read JUNK M JUNK; do
+ MOD="../$M"
+ MAP=`echo $MOD | sed -e 's/\.o$/.map/'`
+ MODNAME=`basename $MOD | sed -e 's/\.o$//'`
+
+ nm $MOD > $MAP
+ echo namelist -a $PWD/$MOD
+ echo symtab -a $PWD/$MAP $MODNAME
+done