Thanks for the PPA package! Works for me as expected:
$ sudo /usr/lib/devicekit-disks/devkit-disks-helper-ata-smart-collect /dev/sdb 1
Disk /dev/sdb is asleep and nowakeup option was passed
$ sudo /usr/lib/devicekit-disks/devkit-disks-helper-ata-smart-collect /dev/sdb 0
[disk spins up and encoded SMART data is printed]
$ sudo /usr/lib/devicekit-disks/devkit-disks-helper-ata-smart-collect /dev/sdb 1
[encoded SMART data is printed]
[wait for 31 s here, the spin-down timeout of my disk is 30 s]
$ sudo /usr/lib/devicekit-disks/devkit-disks-helper-ata-smart-collect /dev/sdb 1
Disk /dev/sdb is asleep and nowakeup option was passed
Martin,
Thanks for the PPA package! Works for me as expected:
$ sudo /usr/lib/ devicekit- disks/devkit- disks-helper- ata-smart- collect /dev/sdb 1 devicekit- disks/devkit- disks-helper- ata-smart- collect /dev/sdb 0 devicekit- disks/devkit- disks-helper- ata-smart- collect /dev/sdb 1 devicekit- disks/devkit- disks-helper- ata-smart- collect /dev/sdb 1
Disk /dev/sdb is asleep and nowakeup option was passed
$ sudo /usr/lib/
[disk spins up and encoded SMART data is printed]
$ sudo /usr/lib/
[encoded SMART data is printed]
[wait for 31 s here, the spin-down timeout of my disk is 30 s]
$ sudo /usr/lib/
Disk /dev/sdb is asleep and nowakeup option was passed