Custom Query (1383 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (7 - 9 of 1383)

1 2 3 4 5 6 7 8 9 10 11 12 13
Ticket Resolution Summary Owner Reporter
#144 fixed "smartctl -l xerror -l xselftest" does not report errors in exit status Christian Franke Christian Franke
Description

The command "smartctl -l error -l selftest" sets bit 6 or 7 of exit status if the logs contain records of errors. This does not work if "smartctl -l xerror -l xselftest" is used instead.

#735 invalid "smartctl -o on sdX" disables spindown jimbob
Description

Having turned smartctl -o on (and then off again) my WD passport 2TB usb drive no longer spins down when idle.

Something similar is noted here: http://www.thinkwiki.org/wiki/Problem_with_hard_drive_clicking#Samsung_MP0804H_80GB

However, in my case it is not desired behaviour. It now runs rather hot.

Can anything be done?

#659 fixed "update-smart-drivedb" uses old sourceforge HTTP link Christian Franke ackackack
Description

When curl is used in the drivedb update script it does not follow the redirect as given by sourceforge for http to https

Curl can be told to follow redirects with the -L option

Here is a simple patch that seems to solve this issue:

@@ -77,7 +77,7 @@
 for t in $os_dltools; do
   if which $t >/dev/null 2>/dev/null; then
     case $t in
-      curl)  DOWNLOAD="curl ${q:+-s }"'-f -o "$DEST.new" "$SRC"' ;;
+      curl)  DOWNLOAD="curl -L ${q:+-s }"'-f -o "$DEST.new" "$SRC"' ;;
       lynx)  DOWNLOAD='lynx -source "$SRC" >"$DEST.new"' ;;
       wget)  DOWNLOAD="wget $q"'-O "$DEST.new" "$SRC"' ;;
       fetch) DOWNLOAD='fetch -o "$DEST.new" "$SRC"' ;; # FreeBSD

As an alternative the URL for the updates could be modified to look to https instead of http:

@@ -40,7 +40,7 @@
 SMARTCTL="$sbindir/smartctl"

 # Download URL for sourceforge code browser
-SRCEXPR='http://sourceforge.net/p/smartmontools/code/HEAD/tree/$location/smartmontools/drivedb.h?format=raw'
+SRCEXPR='https://sourceforge.net/p/smartmontools/code/HEAD/tree/$location/smartmontools/drivedb.h?format=raw'

 # Parse options
 q="-q "

1 2 3 4 5 6 7 8 9 10 11 12 13
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.