ataprint.cpp: add suggestion when 'Read Device Identity failed: xxx' error generated to look at --device-type=TYPE variants
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5336 4ea69e1a-61f1-4043-bf83-b5c94c648137
Этот коммит содержится в:
родитель
b54804a3a5
Коммит
3cfb484d70
@ -1,5 +1,12 @@
|
||||
$Id$
|
||||
|
||||
2022-02-26 Douglas Gilbert <dgilbert@interlog.com>
|
||||
|
||||
ataprint.cpp: add suggestion when 'Read Device Identity
|
||||
failed: xxx' error generated to look at
|
||||
--device-type=TYPE variants. May help with USB-C connected
|
||||
NVMe enclosures (e.g. with M-2 modules inside)
|
||||
|
||||
2022-02-26 Christian Franke <franke@computer.org>
|
||||
|
||||
configure.ac: Print 'deprecated' warning for '--with-signal-func'.
|
||||
|
@ -3480,6 +3480,8 @@ int ataPrintMain (ata_device * device, const ata_print_options & options)
|
||||
if (retid < 0) {
|
||||
pout("Read Device Identity failed: %s\n\n",
|
||||
(device->get_errno() ? device->get_errmsg() : "Unknown error"));
|
||||
pout("If this is a USB connected device, look at the various "
|
||||
"--device=TYPE variants\n");
|
||||
failuretest(MANDATORY_CMD, returnval|=FAILID);
|
||||
}
|
||||
else if (!nonempty(&drive, sizeof(drive))) {
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user