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

Allow devices to be filtered by PARTUUID or WWN #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lodi
Copy link

@lodi lodi commented Apr 24, 2022

Hello, thanks for this great tool. I ran into an issue today where I couldn't filter certain zfs partitions from the bashmount device list; for some reason some zfs vdevs are filtered by FSTYPE="zfs_member" but others aren't. Also lsblk was returning blanks for most of the other built-in fields, and I didn't want to use NAME=sda3 because those names shift around if I add/remove drives. However, lsblk was consistently giving good data for PARTUUID and WWN so I added those to the filter in list_devices().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant