Should openSeaChest be a single binary? #106
Replies: 2 comments 2 replies
-
|
Sometimes I do have some little problems like:
But for a single binary, why do we need the first argument for subtool? Could we directly have parameters for each feature as we just have for seperate tools? Otherwise, it may still confusing to choose between |
Beta Was this translation helpful? Give feedback.
-
|
Please consider using only lowercase letters in the binary name ( Regarding the poll, I don’t have enough practical experience with the openSeaChest tools to be able to vote. If all the tools share a significant number of options and operate in a similar way, then I’d say “yes”. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Today we have the tools broken out as separate binaries:
openSeaChest_BasicsopenSeaChest_SMARTopenSeaChest_EraseopenSeaChest_FormatopenSeaChest_ZBDopenSeaChest_FirmwareopenSeaChest_InfoopenSeaChest_ConfigureopenSeaChest_GenericTestsopenSeaChest_LogsopenSeaChest_NVMeThis can be changed to a single binary while maintaining all the current openSeaChest features.
There would be one tool:
openSeaChestthat takes a sub-tool name like this:openSeaChest smart -d <handle> --smartAttributes hybridopenSeaChest info -d <handle> -iopenSeaChest scan -F <scanflags>openSeaChest erase -d <handle> --performQuickestEraseopenSeaChest configure -d all --writeCache disableopenSeaChest format -d <handle> --nvmFormat current --nvmFmtSecErase useropenSeaChest nvme ...openSeaChest zbd ...openSeaCHest logs -d all --farmBasically, instead of a separate binary for each tool, the first argument to openSeaChest will select which subtool to use for an option you want to run. All the options present in the tools today would continue to be supported under the sub-tool name, similar to today's use.
This change would be significant which is why we would like some feedback before we pursue this further. There is not currently a timeline on this change or even a requirement to make this change, but it would be great to have some community feedback on this idea.
Possible pros:
Possible cons:
Please feel free to add comments to elaborate on other pros/cons or opinions on this. I will try to edit the pros/cons list above as these are added. This is purely an idea and question on what is preferred by users. Even if this poll shows favor towards a single binary, there is no guarantee it will be implemented.
I'm trying to weigh user feedback as I consider how to reorganize the utility code. The idea I currently have should work for single or multiple binaries without a problem.
13 votes ·
Beta Was this translation helpful? Give feedback.
All reactions