-
- Downloads
Minor change in philosophy: if a SMART command fails or the device
appears incapable of a SMART command that the user has asked for, complain by printing an error message, but go ahead and try anyway. Since unimplemented SMART commands should just return an error but not cause disk problems, this should't cause any difficulty. Added two new flags: q and Q. q is quiet mode - only print: For the -l option, errors recorded in the SMART error log; For the -L option, errors recorded in the device self-test log; For the -c SMART "disk failing" status or device attributes (pre-failure or usage) which failed either now or in the past; For the -v option device attributes (pre-failure or usage) which failed either now or in the past. Q is Very Quiet mode: Print no ouput. The only way to learn about what was found is to use the exit status of smartctl. smartctl now returns sensible values (bitmask). See smartctl.h for the values, and the man page for documentation. git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@88 4ea69e1a-61f1-4043-bf83-b5c94c648137
Showing
- sm5/CHANGELOG 20 additions, 4 deletionssm5/CHANGELOG
- sm5/README 3 additions, 1 deletionsm5/README
- sm5/atacmds.c 21 additions, 21 deletionssm5/atacmds.c
- sm5/atacmds.cpp 21 additions, 21 deletionssm5/atacmds.cpp
- sm5/atacmds.h 8 additions, 1 deletionsm5/atacmds.h
- sm5/ataprint.c 242 additions, 228 deletionssm5/ataprint.c
- sm5/ataprint.cpp 242 additions, 228 deletionssm5/ataprint.cpp
- sm5/ataprint.h 3 additions, 2 deletionssm5/ataprint.h
- sm5/extern.h 3 additions, 1 deletionsm5/extern.h
- sm5/smartctl.8 50 additions, 12 deletionssm5/smartctl.8
- sm5/smartctl.c 152 additions, 40 deletionssm5/smartctl.c
- sm5/smartctl.cpp 152 additions, 40 deletionssm5/smartctl.cpp
- sm5/smartctl.h 11 additions, 5 deletionssm5/smartctl.h
- sm5/smartd.c 17 additions, 1 deletionsm5/smartd.c
- sm5/smartd.cpp 17 additions, 1 deletionsm5/smartd.cpp
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment