From 56617bfc5bd846f660ac015d7ee349e0134c7a43 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Tue, 24 Jun 2008 15:13:51 +0000 Subject: sys: update for 2.6 kernels: use /proc/kallsyms instead of /proc/ksyms (Closes: Trac#39) --- ChangeLog | 3 +++ handlers/sys.in | 5 +---- 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" -- cgit v1.2.3