Custom Query (1458 matches)
Results (274 - 276 of 1458)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#659 | fixed | "update-smart-drivedb" uses old sourceforge HTTP link | ||
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 " |
|||
#970 | fixed | DATOptic U3eSata JMicron JMS539 bcd 28.01 needs -d sat | ||
Description |
same as #338 but for a different device with bcd 28.01 lsusb and patch attached. Tested. |
|||
#237 | worksforme | 0x0472:0x2053 Silicon Power 1TB external USB drive need -d sat by default | ||
Description |
The drive is not recognized by default, but by adding -d sat, it works. sudo smartctl -i /dev/sdj smartctl 5.43 2012-06-05 r3561 [x86_64-linux-3.4-trunk-amd64] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net /dev/sdj: Unsupported USB bridge [0x174c:0x55aa (0x100)] Smartctl: please specify device type with the -d option. Use smartctl -h to get a usage summary adamm@mira:~$ lsusb -d 174c: Bus 001 Device 020: ID 174c:55aa ASMedia Technology Inc. $ sudo smartctl -d sat -i /dev/sdj smartctl 5.43 2012-06-05 r3561 [x86_64-linux-3.4-trunk-amd64] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Device Model: ST1000LM024 HN-M101MBB Serial Number: S2S6J9CC803467 LU WWN Device Id: 5 0004cf 2081b8c0a Firmware Version: 2AR10001 User Capacity: 1,000,204,886,016 bytes [1.00 TB] Sector Sizes: 512 bytes logical, 4096 bytes physical Device is: Not in smartctl database [for details use: -P showall] ATA Version is: 8 ATA Standard is: ATA-8-ACS revision 6 Local Time is: Wed Aug 29 14:08:52 2012 CDT SMART support is: Available - device has SMART capability. SMART support is: Enabled |
Note:
See TracQuery
for help on using queries.