From: intrigeri Date: Tue, 24 Jun 2008 15:13:51 +0000 (+0000) Subject: sys: update for 2.6 kernels: use /proc/kallsyms instead of /proc/ksyms (Closes: Trac#39) X-Git-Tag: backupninja-0.9.6~27 X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fbackupninja.git;a=commitdiff_plain;h=56617bfc5bd846f660ac015d7ee349e0134c7a43;hp=1330b16c992fbede7ca09ecc87eb6c01af1bc19f sys: update for 2.6 kernels: use /proc/kallsyms instead of /proc/ksyms (Closes: Trac#39) --- 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"