Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --hide-sn parameter #90

Merged
merged 1 commit into from
Apr 29, 2023
Merged

Add --hide-sn parameter #90

merged 1 commit into from
Apr 29, 2023

Conversation

Napsty
Copy link
Owner

@Napsty Napsty commented Apr 29, 2023

This PR adds a new parameter --hide-sn to hide the serial number of the drive(s).

root@nas:~/check_smart# ./check_smart.pl -d /dev/sdf -i auto --hide-sn
OK: Drive  WDC WD20SPZX-22CRAT0 S/N <HIDDEN>: no SMART errors detected. |Raw_Read_Error_Rate=0 Spin_Up_Time=1850 Start_Stop_Count=8 Reallocated_Sector_Ct=0 Seek_Error_Rate=0 Power_On_Hours=38056 Spin_Retry_Count=0 Calibration_Retry_Count=0 Power_Cycle_Count=6 Power-Off_Retract_Count=4 Load_Cycle_Count=1239994 Temperature_Celsius=29 Reallocated_Event_Count=0 Current_Pending_Sector=0 Offline_Uncorrectable=0 UDMA_CRC_Error_Count=0 Multi_Zone_Error_Rate=0

@Napsty Napsty self-assigned this Apr 29, 2023
@Napsty Napsty merged commit a40b073 into master Apr 29, 2023
@Napsty Napsty deleted the hide-sn branch April 29, 2023 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant