Package: hddtemp
Version: 0.3-beta15-45
Severity: normal

The default init script for hddtemp checks both sg? and sd?.  When sda
(which is the same disk as sg0 on my system) is sleeping, hddtemp
/dev/sda reports that the disk is sleeping; but hddtemp /dev/sg0 spins
up the disk.  So this default configuration causes all drives to spin
up whenever sensors-applet connects to the daemon.

Solutions I can think of: spun-down detection for generic drives (is
this even possible?); identify which non-generic devices /dev/sg?
correspond to; or do not check generic devices by default.

This took me a day to figure out; I've changed /etc/default/hddtemp
to say:

# Skip /dev/sg?.
DISKS="/dev/hd? /dev/sr? /dev/sd?"

And now my unused drive stays spun down.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-rc7 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages hddtemp depends on:
ii  cdebconf [debconf-2.0]        0.141      Debian Configuration Management Sy
ii  debconf [debconf-2.0]         1.5.26     Debian configuration management sy
ii  libc6                         2.9-13     GNU C Library: Shared libraries
ii  lsb-base                      3.2-22     Linux Standard Base 3.2 init scrip

hddtemp recommends no packages.

Versions of packages hddtemp suggests:
pn  ksensors                      <none>     (no description available)

-- debconf information:
* hddtemp/SUID_bit: false
* hddtemp/interface: 127.0.0.1
* hddtemp/syslog: 0
* hddtemp/daemon: true
* hddtemp/port: 7634



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to