bashmount
bashmount copied to clipboard
Allow devices to be filtered by PARTUUID or WWN
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().