Page MenuHomeFreeBSD

sesutil: Fix status checking
ClosedPublic

Authored by trasz on Jul 19 2021, 4:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Feb 14, 2:56 AM
Unknown Object (File)
Wed, Feb 12, 10:40 PM
Unknown Object (File)
Tue, Jan 28, 7:29 AM
Unknown Object (File)
Sat, Jan 25, 7:28 PM
Unknown Object (File)
Dec 28 2024, 11:05 AM
Unknown Object (File)
Dec 11 2024, 12:03 AM
Unknown Object (File)
Nov 15 2024, 6:09 AM
Unknown Object (File)
Oct 20 2024, 9:15 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.