1
1
Граф коммитов

4985 Коммитов

Автор SHA1 Сообщение Дата
chrfranke
b8f580be9e drivedb.h: Silicon Motion based SSDs: Mushkin Source-II (#1509).
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5235 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-09-14 13:07:23 +00:00
chrfranke
2dee0ced0b drivedb.h: Western Digital Ultrastar DC HC550 (#1460).
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5234 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-09-14 12:55:27 +00:00
chrfranke
781ee03cb1 drivedb.h:
- Toshiba MG08ACA... Enterprise Capacity HDD: 14TB.
- Toshiba N300/MN NAS HDD: Rename, add HDWG480, MN series (#1510, #1511).

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5233 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-09-14 12:02:38 +00:00
chrfranke
c6cab84611 drivedb.h:
- USB: LaCie d2 PROFESSIONAL (0x059f:0x10b8) (#1502).
- USB: JMicron JMS576 (0x152d:0x0576) (#1428).

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5232 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-09-14 11:23:08 +00:00
chrfranke
49ab1bc954 os_win32.cpp: Disable broken aacraid support until #1515 is fixed.
Print explanatory error message.  Add 'force' flag to try anyway.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5231 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-09-04 14:05:49 +00:00
chrfranke
9e42893efa os_win32.cpp: aacraid: Fix crash on transfer size > 880 bytes (#1515).
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5230 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-08-27 16:09:18 +00:00
chrfranke
060efef004 os_win32.cpp: Decode Windows 10 21H1 build number.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5229 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-08-21 17:41:29 +00:00
chrfranke
a7bde44588 configure.ac: Add '-Werror=return-type' if supported.
G++ >= 8.0 assumes that control never reaches the end of a
non-void function (GCC Bugzilla 96181).

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5228 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-08-21 17:25:45 +00:00
chrfranke
e0d56b2314 ataidentify.cpp, ataprint.cpp: ACS-5 enhancements.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5227 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-06-26 15:20:41 +00:00
chrfranke
ef538865d3 ataprint.cpp: Don't set bit 2 of exit status if ATA output registers
are missing but attributes are available (#1441, GH issues/98).

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5226 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-06-26 15:11:13 +00:00
chrfranke
f3e3497dd9 drivedb.h: Toshiba MG09ACA... Enterprise Capacity HDD.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5224 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-06-06 15:55:46 +00:00
chrfranke
6fd049e811 drivedb.h:
- Crucial/Micron Client SSDs: MTFDDAK256TDL-* (#1490).
- Innodisk 1IE3/3IE3/3ME3/3IE4/3ME4 SSDs: Rename, add 1IE3, 3IE4.
- SSSTC ER2 GD/CD Series SSDs: *A variant (#1484).

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5223 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-06-06 15:45:09 +00:00
chrfranke
38f412d904 drivedb.h: Samsung based SSDs: 870 EVO, 860 QVO (#1457),
883 DCT 1.92/3.84TB (#1452), CM871 MZ7LF192HCGS (#1475),
PM841 MZMTD128HAFV, PM851 MZNTE512HMJH (GH issues/87).

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5222 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-06-06 15:21:53 +00:00
chrfranke
1e7d6a9336 drivedb.h: Xmore Industrial SATA SSDs (based on patch from #1364).
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5221 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-06-06 11:30:28 +00:00
chrfranke
c8b0500486 configure.ac: Fix build for older MinGW-w64.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5220 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-06-04 17:34:46 +00:00
chrfranke
e662b7486a Rework 'get_timer_usec()', use a C++11 clock if possible.
dev_interface.cpp, dev_interface.h, os_win32.cpp: Move function ...
utility.cpp, utility.h: ... to here.
configure.ac: Remove related checks.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5219 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-06-04 16:39:50 +00:00
chrfranke
1151fb1b32 ataprint.cpp, nvmeprint.cpp: Add JSON values 'smart_support.*' to keep
consistency with scsiprint.cpp.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5218 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-06-04 15:46:36 +00:00
dpgilbert
14b3dfbdf5 scsiprint.cpp: continue JSON work
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5217 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-05-03 02:31:27 +00:00
chrfranke
226a3ba277 os_linux.cpp: Only require '-d cciss,N' if hpsa devices are in RAID mode.
Patch by Phillip Schichtel.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5216 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-04-14 13:29:40 +00:00
samm-git
582ce40918 os_openbsd.cpp: fix SAT autodetection for the sd* devices (#1467)
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5215 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-04-07 06:42:07 +00:00
chrfranke
92bc2eeddd os_openbsd.cpp: Apply conversion to seconds for timeouts in scsi_pass_through
(#1466).

Patch by Martin Ziemer.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5214 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-03-24 16:55:04 +00:00
chrfranke
c8e6494bfd os_openbsd.cpp: Use correct devicename for autodetection (#1465).
Patch by Martin Ziemer.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5213 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-03-24 16:52:01 +00:00
chrfranke
7df414c83a drivedb.h:
- Toshiba MG04ACA... Enterprise HDD: Rename, merge entries,
  add *NY variant (GH issues/90).
- Toshiba MG05ACA... Enterprise Capacity HDD (#1327).
- Toshiba MG08ACA... Enterprise Capacity HDD.
- Toshiba N300 NAS HDD (#1143, #1236, #1251, #1323).
- Toshiba P300 (CMR): Rename.
- Toshiba P300 (SMR) (#1430).
- Toshiba X300: HDWF180 (#1277), 10-16TB.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5211 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-03-08 18:07:28 +00:00
chrfranke
a1845805bd smartd_warning.sh.in: Fix handling of multiple email addresses
in conjunction with plugin scripts (#1454).
Pass modified SMARTD_ADDRESS also to all plugin scripts.
Provide original value as SMARTD_ADDRESS_ORIG.
Exit immediately if a script is missing.
smartd.conf.5.in: Document error handling and SMARTD_ADDRESS_ORIG.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5210 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-03-02 18:38:53 +00:00
samm-git
6ed6b1a031 os_darwin.cpp: implement APM set feature, based on hdparm macOS sources
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5209 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-02-14 18:02:51 +00:00
chrfranke
26fedfcc07 configure.ac: Include required library functions in check for
'-fstack-protector' (#1439).

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5208 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-02-09 22:20:58 +00:00
chrfranke
6cc32bf1fb Print drive database version in smartctl and smartd.
knowndrives.cpp, knowndrives.h: Parse VERSION string.
ataprint.cpp: Print version.  Remove '-P showall' help string.
smartd.cpp: Print version.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5207 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-02-09 20:25:13 +00:00
chrfranke
f2e3d7126e Makefile.am: 'check' target now also checks the built-in database.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5206 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-02-07 18:32:45 +00:00
chrfranke
dfb1849687 Update NEWS.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5205 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-02-07 18:22:57 +00:00
chrfranke
339639dfaf smartctl.cpp: Fix 'optopt' range check (cppcheck 2.3: invalidFunctionArg).
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5204 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-02-07 17:04:42 +00:00
chrfranke
fe6d1691a5 scsiprint.cpp: Silence cppcheck 2.3 'unreadVariable' warning.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5203 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-02-07 16:47:18 +00:00
chrfranke
b027ed8d9b scsiata.cpp: Remove unused function 'has_usbcypress_pass_through()'.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5202 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-02-07 16:34:57 +00:00
chrfranke
24838916b4 Improve reproducibility if SOURCE_DATE_EPOCH if set (GH pull/89).
configure.ac: Define SOURCE_DATE_EPOCH in CPPFLAGS.
utility.cpp: Print SOURCE_DATE_EPOCH value if specified.
Don't include configure arguments then.
cppcheck.sh: Silence related 'ConfigurationNotChecked' message.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5201 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-02-07 15:08:48 +00:00
chrfranke
5279a70c52 Always add timestamp to JSON output (#1436).
Move non-JSON timestamp output to common function.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5200 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-02-07 14:19:40 +00:00
chrfranke
5e10e321b2 Silence more cppcheck 2.3 warnings.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5199 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-02-01 21:34:40 +00:00
chrfranke
8c38911787 Add C++11 'override' specifier where applicable (cppcheck: missingOverride).
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5198 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-02-01 20:36:02 +00:00
chrfranke
0d573cc080 os_freebsd.cpp, os_linux.cpp: Replace deprecated bcopy() and bzero()
(cppcheck: bcopyCalled, bzeroCalled).

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5197 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-02-01 18:21:12 +00:00
chrfranke
d1e35fa3d0 cppcheck.sh: Mark cppcheck 1.86, 2.2 and 2.3 as tested.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5196 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-02-01 17:54:47 +00:00
chrfranke
88375f5722 cppcheck.sh: Remove suppress: bcopyCalled, bzeroCalled, missingOverride.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5195 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-02-01 17:51:28 +00:00
chrfranke
e494f04f3d cppcheck.sh: Add '-c' option.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5194 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-02-01 17:46:42 +00:00
chrfranke
f933f897c4 json.h: suppress cppcheck: noExplicitConstructor.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5193 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-02-01 17:34:37 +00:00
chrfranke
2535f754ee ataprint.cpp, ataprint.h, smartctl.cpp: Optionally exit immediately
if '-n POWERMODE' option is not supported (#1381).
smartctl.8.in: Document new STATUS2 Parameter for '-n POWERMODE'.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5192 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-02-01 17:26:52 +00:00
samm-git
0318e46d9f scsicmds.cpp: remove dead code detected by cppcheck
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5191 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-28 16:40:20 +00:00
samm-git
1ef86e883e os_freebsd.cpp: fix few style reports from cppcheck output
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5190 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-28 11:35:54 +00:00
samm-git
323aeba750 CirleCI: remove unused notify hook
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5189 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-28 07:02:14 +00:00
samm-git
6b76d393da CircleCI: attempt to fix macOS cross-build
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5188 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-27 23:06:11 +00:00
chrfranke
2ec42aa4c8 json.cpp, json.h: Add support for nested braced-init-lists.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5187 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-27 21:59:19 +00:00
chrfranke
1d9b3b0ef0 json.cpp, json.h: Use some C++11 features. Align output functions.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5186 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-27 18:35:45 +00:00
samm-git
cbfbd1b2c0 Doxyfile: fix paper type
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5185 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-24 21:17:35 +00:00
samm-git
b322ad02fc Update doxygen file to be compatible with a recent versions
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5184 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-01-24 21:12:53 +00:00