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

NAS-130620 / 25.04 / improve list_disks() #91

Merged
merged 6 commits into from
Aug 17, 2024
Merged

NAS-130620 / 25.04 / improve list_disks() #91

merged 6 commits into from
Aug 17, 2024

Conversation

yocalebo
Copy link
Contributor

Quite a few improvements here:

  1. remove log-sec option, it's not used
  2. remove sgdisk -p subprocess for each disk (lsblk already provides this info)
  3. sort the disks based on disk.name attribute so that nvme* comes before sd* drives.

@yocalebo yocalebo requested a review from a team August 14, 2024 18:10
@yocalebo yocalebo changed the title Improv1 improve list_disks() Aug 14, 2024
@bugclerk bugclerk changed the title improve list_disks() NAS-130620 / 25.04 / improve list_disks() Aug 14, 2024
@bugclerk
Copy link

@truenas truenas deleted a comment from bugclerk Aug 14, 2024
@yocalebo yocalebo merged commit b10f9d7 into master Aug 17, 2024
2 checks passed
@yocalebo yocalebo deleted the improv1 branch August 17, 2024 12:19
@bugclerk
Copy link

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Aug 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants