Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Extend LinuxBlockDevice to use information from lsblk and add method to return all block devices on the system#760

Open
fsuba wants to merge 2 commits intopytest-dev:mainfrom
fsuba:main
Open

Extend LinuxBlockDevice to use information from lsblk and add method to return all block devices on the system#760
fsuba wants to merge 2 commits intopytest-dev:mainfrom
fsuba:main

Conversation

Copy link

fsuba commented Apr 9, 2024

The purpose of this PR is to give us more information about the block devices on a system. lsblk is part of the util-linux package, the same package as blockdev. With the information from lsblk, we can easily return all the block devices found on a system.

martinhoyer reacted with rocket emoji
martinhoyer approved these changes Jun 12, 2024
Copy link
Contributor

martinhoyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is pretty cool. lsblk -J option is available even on older versions fwiw.
It would be nice to have some feedback from the maintainers here :) Does it fit-in to testinfra codebase as is, or is there something that needs to be changed?

philpep added the enhancement This issue/PR relates to a feature request. label Mar 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer

martinhoyer martinhoyer approved these changes

Reviewers whose approvals may not affect merge requirements

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

enhancement This issue/PR relates to a feature request.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants