aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2008-06-24 15:13:51 +0000
committerintrigeri <intrigeri@boum.org>2008-06-24 15:13:51 +0000
commit56617bfc5bd846f660ac015d7ee349e0134c7a43 (patch)
treecf1547cc09dd1d5e36fbe334aa5c73263f5c9c74
parent1330b16c992fbede7ca09ecc87eb6c01af1bc19f (diff)
downloadbackupninja-56617bfc5bd846f660ac015d7ee349e0134c7a43.tar.gz
backupninja-56617bfc5bd846f660ac015d7ee349e0134c7a43.tar.bz2
sys: update for 2.6 kernels: use /proc/kallsyms instead of /proc/ksyms (Closes: Trac#39)
-rw-r--r--ChangeLog3
-rwxr-xr-xhandlers/sys.in5
2 files changed, 4 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index ddce633..c32acb8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -30,6 +30,9 @@ version 0.9.6 -- unreleased
. make deleted maildirs record the date they were deleted
. add destid_file configuration option to enable you to specify an alternate
ssh public key authentication file (defaulting to /root/.ssh/id_rsa)
+ sys:
+ . update for 2.6 kernels: use /proc/kallsyms instead of /proc/ksyms
+ (Closes: Trac#39)
version 0.9.5 -- December 2, 2007
backupninja changes
diff --git a/handlers/sys.in b/handlers/sys.in
index b6c7fbc..7b9fbb3 100755
--- a/handlers/sys.in
+++ b/handlers/sys.in
@@ -275,9 +275,6 @@ for x in $(/sbin/lsmod | /bin/cut -f1 -d" " 2>/dev/null | /bin/grep -v Module 2
catifexec "/sbin/modinfo $x"
done
-STATUS="Currently getting ksysms information:"
-catifexec "/sbin/ksyms"
-
STATUS="Gathering information about your filesystems:"
catiffile "/proc/filesystems"
@@ -288,7 +285,7 @@ STATUS="Gathering information about your partitions:"
catiffile "/proc/partitions"
STATUS="Gathering information about your ksyms:"
-catiffile "/proc/ksyms"
+catiffile "/proc/kallsyms"
STATUS="Gathering information about slabinfo:"
catiffile "/proc/slabinfo"