File: hdapsd.rules

package info (click to toggle)
hdapsd 1%3A20141203-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 592 kB
  • sloc: sh: 1,373; ansic: 1,183; makefile: 59
file content (4 lines) | stat: -rw-r--r-- 362 bytes parent folder | download | duplicates (3)
1
2
3
4
# we start protection for rotational disks.
# in unlikely event of wanting to protect flash bases disks, you can manually
# symlink hdapsd@.service to /etc/systemd/system/hdapsd@sdc.service , hdapsd@sdd.service etc.
SUBSYSTEM=="block", KERNEL=="sd[a-z]", ATTRS{removable}=="0", ATTRS{queue/rotational}=="1", TAG="systemd", ENV{SYSTEMD_WANTS}="hdapsd@%k.service"