Package: laptop-mode-tools
Version: 1.10-1
Followup-For: Bug #328432
Fixing this bug is as simple as:
$> cat laptop_mode.diff
--- /usr/sbin/laptop_mode 2005-08-24 23:54:56.000000000 -0400
+++ laptop_mode 2005-10-15 07:41:36.462163552 -0400
@@ -257,7 +257,7 @@
echo
echo Readahead states:
cat /etc/mtab | while read DEV MP FST OPTS DUMP
PASS ; do
- if [ -e $DEV ] ; then
+ if [ -b $DEV ] ; then
echo " $DEV: $((`blockdev --getra $DEV` / 2)) kB"
fi
done
Yet I wonder why it hasn't been fixed yet.
In my case, I hit this bug because i'm using encrypted hard drive from
an image mounted by libpam-mount. In fstab/mtab I have a line like:
/foo/foo.img /pth/to/mount ...,noauto ...
Which libpam-mount understands well.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.3-desktop-1
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ISO-8859-1) (ignored:
LC_ALL set to en_US)
Versions of packages laptop-mode-tools depends on:
ii powermgmt-base 1.22 Common utils and configs for power
Versions of packages laptop-mode-tools recommends:
ii acpid 1.0.4-3 Utilities for using ACPI power man
ii hdparm 6.1-7 tune hard disk parameters for high
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]