# This creates symlinks directly in /dev with the same names as those in # /dev/disk/by-id, but only for ZFS partitions. This is necessary for GRUB to # locate the partitions using the output of `zpool status`. KERNEL=="sd*[0-9]", IMPORT{parent}=="ID_*", ENV{ID_PART_ENTRY_SCHEME}=="gpt", ENV{ID_PART_ENTRY_TYPE}=="6a898cc3-1dd2-11b2-99a6-080020736631", SYMLINK+="$env{ID_BUS}-$env{ID_SERIAL}-part%n"