Custom Query (997 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (7 - 9 of 997)

1 2 3 4 5 6 7 8 9 10 11 12 13
Ticket Resolution Summary Owner Reporter
#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 "

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

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: http://sourceforge.net/mailarchive/forum.php?thread_name=4B40CF2C.8020405%40t-online.de&forum_name=smartmontools-support

Ubuntu bug report: https://bugs.launchpad.net/ubuntu/+source/smartmontools/+bug/497256

#178 fixed --scan missing(forget) an usb-drive in his output Christian Franke frankhartung
Description

hi,

another computer in my home office to find another bug in smartctl: smartctl 5.41 2011-06-09 r3365 [i686-w64-mingw32-xp-sp3] (sf-win32-5.41-1) and this machine is using windows xp as operating system.

the cmd: smartctl --scan

give this result: /dev/sda -d ata # /dev/sda, ATA device /dev/sdb -d ata # /dev/sdb, ATA device /dev/sdd -d sat # /dev/sdd [SAT], ATA device /dev/sde -d usbjmicron # /dev/sde [USB JMicron], ATA device

sda = first internal connected sata-drive sdb = 2nd internal connected sata-drive sdc ?! smartctl does not print it! sdd = usb connected western digital elements drive sde = usb connected drive by using jmicron-chip-adapter

the in the output of smartctl missing usb drive can accessed very well with command: smartctl -a /dev/sdc -d sat

..but if the cmds are automatic called by output from --scan this drive will be always missed!

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