DOKK / manpages / debian 12 / hdapsd / hdapsd.8.en
HDAPSD(8) hdapsd HDAPSD(8)

hdapsd - park the drive in case of an emergency

hdapsd [-f|-r|-c <cfgfile>|-d <device>|-s <sensitivity>|-a|-v|-b|-p|-t|-y|-H|-S|-L|-l|-V|-h]

Load configuration from <cfgfile>. Only available if hdapsd was compiled with libconfig support.
<device> is likely to be hda or sda. Can be given multiple times to protect multiple devices.
Force unloading heads, even if kernel thinks different (on pre ATA7 drives). This only works when adding devices by hand (-d).
Autodetect drives as rotational, even if kernel thinks they are not.
How sensitive hdapsd should be to movements. Defaults to 15, higher values mean less sensitive.
Adaptive threshold (automatic increase when the built-in keyboard/mouse are used).
Get verbose statistics.
Run the process in the background.
Create a pid file when running in background. If <pidfile> is not specified, it's set to /var/run/hdapsd.pid.
Don't actually park the drive.
Force use of sysfs interface to accelerometer.
Uses the hardware fall detection logic instead of the software one. Options --sensitivity and --adaptive have no effect in this mode.
Uses the software fall detection logic even if the hardware one is available.
Don't blink the LEDs when a shock is detected.
Log to syslog instead of stdout/stderr.
Display version information and exit.
Display help and exit.

You can send SIGUSR1 to deactivate hdapsd for 8 seconds.

2014-12-03 hdapsd 20141203