1HDAPSD(8)                           hdapsd                           HDAPSD(8)
2
3
4

NAME

6       hdapsd - park the drive in case of an emergency
7

SYNOPSIS

9       hdapsd      [-f|-r|-c      <cfgfile>|-d      <device>|-s     <sensitiv‐
10       ity>|-a|-v|-b|-p|-t|-y|-H|-S|-L|-l|-V|-h]
11

OPTIONS

13       -c --cfgfile=<cfgfile>
14              Load configuration from <cfgfile>. Only available if hdapsd  was
15              compiled with libconfig support.
16
17       -d --device=<device>
18              <device> is likely to be hda or sda. Can be given multiple times
19              to protect multiple devices.
20
21       -f --force
22              Force unloading heads, even if kernel thinks different  (on  pre
23              ATA7 drives).  This only works when adding devices by hand (-d).
24
25       -r --force-rotational
26              Autodetect  drives as rotational, even if kernel thinks they are
27              not.
28
29       -s --sensitivity=<sensitivity>
30              How sensitive hdapsd should be to movements.   Defaults  to  15,
31              higher values mean less sensitive.
32
33       -a --adaptive
34              Adaptive  threshold  (automatic  increase when the built-in key‐
35              board/mouse are used).
36
37       -v --verbose
38              Get verbose statistics.
39
40       -b --background
41              Run the process in the background.
42
43       -p --pidfile[=<pidfile>]
44              Create a pid file when running in background.  If  <pidfile>  is
45              not specified, it's set to /var/run/hdapsd.pid.
46
47       -t --dry-run
48              Don't actually park the drive.
49
50       -y --poll-sysfs
51              Force use of sysfs interface to accelerometer.
52
53       -H --hardware-logic
54              Uses  the  hardware fall detection logic instead of the software
55              one. Options --sensitivity and --adaptive have no effect in this
56              mode.
57
58       -S --software-logic
59              Uses  the software fall detection logic even if the hardware one
60              is available.
61
62       -L --no-leds
63              Don't blink the LEDs when a shock is detected.
64
65       -l --syslog
66              Log to syslog instead of stdout/stderr.
67
68       -V --version
69              Display version information and exit.
70
71       -h --help
72              Display help and exit.
73
74
75       You can send SIGUSR1 to deactivate hdapsd for 8 seconds.
76
77
78
79hdapsd 20141203                   2014-12-03                         HDAPSD(8)
Impressum