Custom Query (1239 matches)


Show under each result:

Results (7 - 9 of 1239)

1 2 3 4 5 6 7 8 9 10 11 12 13
Ticket Resolution Summary Owner Reporter
#735 invalid "smartctl -o on sdX" disables spindown jimbob

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:

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

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 "$" "$SRC"' ;;
+      curl)  DOWNLOAD="curl -L ${q:+-s }"'-f -o "$" "$SRC"' ;;
       lynx)  DOWNLOAD='lynx -source "$SRC" >"$"' ;;
       wget)  DOWNLOAD="wget $q"'-O "$" "$SRC"' ;;
       fetch) DOWNLOAD='fetch -o "$" "$SRC"' ;; # FreeBSD

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

@@ -40,7 +40,7 @@

 # Download URL for sourceforge code browser

 # Parse options
 q="-q "

#37 fixed 'smartctl -n standby' wakes up drive somebody Christian Franke

If 'smartctl -n standby' is used on Linux, smartctl properly detects the standby mode and exits, but the drive spins up then.

If 'hdparm -C' is used instead, the drive does not spin up.

Related thread:

Ubuntu bug report:

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