Page MenuHomeFreeBSD

sesutil: Fix status checking
ClosedPublic

Authored by trasz on Jul 19 2021, 4:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 12, 1:17 AM
Unknown Object (File)
Tue, Mar 12, 1:17 AM
Unknown Object (File)
Fri, Mar 8, 4:19 AM
Unknown Object (File)
Fri, Mar 8, 4:08 AM
Unknown Object (File)
Feb 10 2024, 1:36 AM
Unknown Object (File)
Dec 22 2023, 11:06 PM
Unknown Object (File)
Dec 12 2023, 11:18 AM
Unknown Object (File)
Oct 18 2023, 2:18 AM
Subscribers

Details

Summary

Previously we would display "OK, Swapped" for swapped disks, instead
of the usual disk size.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

trasz requested review of this revision.Jul 19 2021, 4:28 PM
allanjude added a subscriber: allanjude.

Reviewed By: allanjude

this changes the output from:

ses0: <SMC SC846P 0c1f>; ID: 500304801820593f
Desc     Dev     Model                     Ident                Size/Status
Slot05   da5     HGST HUS726060AL4210      NCH4652Z             6T
Slot06   da6     HGST HUS726060AL4210      K1GT8JTD             6T
Slot07   da7     HGST HUS726060AL4210      NCH45KAZ             OK,  Swapped

to:

ses0: <SMC SC846P 0c1f>; ID: 500304801820593f
Desc     Dev     Model                     Ident                Size/Status
Slot05   da5     HGST HUS726060AL4210      NCH4652Z             6T
Slot06   da6     HGST HUS726060AL4210      K1GT8JTD             6T
Slot07   da7     HGST HUS726060AL4210      NCH45KAZ             6T,  Swapped

which is much more useful.

This revision is now accepted and ready to land.Jul 19 2021, 4:40 PM
This revision was automatically updated to reflect the committed changes.