bashmount icon indicating copy to clipboard operation
bashmount copied to clipboard

Allow devices to be filtered by PARTUUID or WWN

Open lodi opened this issue 3 years ago • 0 comments

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().

lodi avatar Apr 24 '22 21:04 lodi