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-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=e6fa2abf4d4d79dbaf98e6d4ba51fd802478af57;p=matthijs%2Fupstream%2Fbackupninja.git sys: update for 2.6 kernels: use /proc/kallsyms instead of /proc/ksyms (Closes: Trac#39) git-svn-id: http://code.autistici.org/svn/backupninja/trunk@572 758a04ac-41e6-0310-8a23-8373a73cc35d --- 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"