Public bug reported:

Binary package hint: hdparm

Ubuntu 7.10, hdparm 7.5-1ubuntu1.  hdparm(1) doesn't point out that the
options aren't interpreted in the order they're given but instead in a
fixed order.  This causes problems when /etc/hdparm.conf contains

    /dev/disk/by-id/ata-ST320423A_3EJ0GMSY {
        # 5 second units * 60 == 5 minutes.
        spindown_time = 60
        standby
    }

because

    hdparm -S60 -y /dev/disk/by-id/ata-ST320423A_3EJ0GMSY

is run but the `standby now' is done first, then wiped-out by setting
the `idle time' to five minutes.

    /dev/disk/by-id/ata-ST320423A_3EJ0GMSY:
     issuing standby command
     setting standby to 60 (5 minutes)

which results in the drive state (-C) still being `active/idle'.

Either hdparm needs to be altered to process options in the command-line
order, or hdparm(8) needs to be very clear that the order is fixed, what
the order is, and that multiple invocations of hdparm may be required as
a workaround.

** Affects: hdparm (Ubuntu)
     Importance: Undecided
         Status: New

-- 
hdparm Ignores Order of Command-Line Flags.
https://bugs.launchpad.net/bugs/221854
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to