|
From: Albrecht G. <alb...@un...> - 2005-11-02 23:01:52
|
Hi,
with this oneliner (make sure it goes really all in one long line)
mapfsargs=$(for ksym in $(strings /lib/modules/$(uname -r)/fs/mapfs.ko |
awk '/from System.map/ {match($0,"^parm=([^:]+):",a); print a[1];}'); do
sym=${ksym#ksym_}; addr=$(awk '/ '$sym'$/ {print
$1}' /boot/System.map-$(uname -r)); echo " $ksym=0x$addr "; done)
is it possible to load mapfs with correct address parameters
automatically:
modprobe mapfs $mapfsargs
best regards
Albrecht
|