File smartmontools-removable.patch of Package smartmontools

--- smartd.conf
+++ smartd.conf
@@ -20,18 +20,21 @@
 # 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
+# Adding -d removable prevents error messages after disconnecting of
+# monitored removable discs.
+#DEVICESCAN -d removable
+DEVICESCAN -d removable
 
 # Alternative setting to ignore temperature and power-on hours reports
 # in syslog.
-#DEVICESCAN -I 194 -I 231 -I 9
+#DEVICESCAN -d removable -I 194 -I 231 -I 9
 
 # Alternative setting to report more useful raw temperature in syslog.
-#DEVICESCAN -R 194 -R 231 -I 9
+#DEVICESCAN -d removable -R 194 -R 231 -I 9
 
 # Alternative setting to report raw temperature changes >= 5 Celsius
 # and min/max temperatures.
-#DEVICESCAN -I 194 -I 231 -I 9 -W 5
+#DEVICESCAN -d removable -I 194 -I 231 -I 9 -W 5
 
 # First (primary) ATA/IDE hard disk.  Monitor all attributes, enable
 # automatic online data collection, automatic Attribute autosave, and
openSUSE Build Service is sponsored by