File: 63_removable.patch

package info (click to toggle)
smartmontools 7.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,080 kB
  • sloc: cpp: 53,631; ansic: 9,924; sh: 6,493; makefile: 1,017
file content (24 lines) | stat: -rw-r--r-- 948 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Giuseppe Iuculano <iuculano@debian.org>
Date: Thu, 27 Sep 2018 19:03:07 +0800
Subject: _removable

Added the removable option by default. This indicates to smartd that it should continue if the device does not appear to be present when smartd is started.

Closes: #406130
---
 smartd.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/smartd.conf
+++ b/smartd.conf
@@ -14,9 +14,9 @@
 # ATA and SCSI devices.  DEVICESCAN may be followed by any of the
 # Directives listed below, which will be applied to all devices that
 # are found.  Most users should comment out DEVICESCAN and explicitly
 # list the devices that they wish to monitor.
-DEVICESCAN -n standby -m root -M exec /usr/share/smartmontools/smartd-runner
+DEVICESCAN -d removable -n standby -m root -M exec /usr/share/smartmontools/smartd-runner
 
 # Alternative setting to ignore temperature and power-on hours reports
 # in syslog.
 #DEVICESCAN -I 194 -I 231 -I 9