This repository was archived by the owner on May 17, 2018. It is now read-only.
Improved wizard by adding ability to select disks from list. - #23
Open
szaydel wants to merge 1 commit into
Open
Conversation
|
Seems like you'd be better off using the |
Author
|
@konobi - Yeah, can do. Though I did not think this was much of an issue. SSD is a good point though. |
|
diskinfo also takes -Hp as options to remove the header and to make each field tab separated for parsing. |
Author
|
Maybe something like this will do, though for my own purposes I like the output that I am producing better because I get a serial number, which again for me is of value, as it may be for others. Maybe next step is to enhance |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Because it is at times difficult to tell which disks are which, as well as error prone to type in potentially really long disk IDs for devices on a SAS controller that presents a long c#t#d# I wanted to add a menu-like selection similar to what is already done for NICs. I found this to be easier, especially when I have several disks that I need to pick from.
A rudimentary menu gives some information about disks and selection is indexed. Top 10 disks are displayed, which could possibly be a problem with some systems.