Forked from anonymous/80-udisks2-ignore-zfs.rules
Last active
April 27, 2017 18:53
-
-
Save Trucido/5bea07ed3888fcf481c00ecd998c1226 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## /etc/udev/rules.d/80-udisks2-ignore-zfs.rules | |
# Ignore ZFS vdev filesystem type "zfs_member" with partition ID "Solaris /usr & Apple ZFS" | |
ENV{ID_PART_ENTRY_SCHEME}=="gpt", ENV{ID_FS_TYPE}=="zfs_member", ENV{ID_PART_ENTRY_TYPE}=="6a898cc3-1dd2-11b2-99a6-080020736631", ENV{UDISKS_IGNORE}="1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
forked from anonymous since I forgot to sign in. This rule was tested to instruct udisks2 to ignore zfs disks in file managers, since the sidebar becomes spammed with many duplicate entries and can't be mounted by udisks anyways.
May or may not fix the device mapper issue relating to zvols being removed or renamed without running dmsetup remove /dev/mapper/zvol/ - that may need separate rules.