源码阅读[systemd/udev][udisks2]: Ignore Partition
/etc/udev/rules.d/80-udisks2.rules
# hide boot
ENV{ID_FS_UUID}=="daa4a784-6715-40dc-b91c-1088c8e76809", ENV{UDISKS_IGNORE}="1"
# hide efi
ENV{ID_FS_UUID}=="29E2-B6DD", ENV{UDISKS_IGNORE}="1"
# hide recovery
ENV{ID_FS_UUID}=="050387a8-f6bf-4200-ad10-167ef20beb79", ENV{UDISKS_IGNORE}="1"
https://github.com/storaged-project/udisks/blob/master/data/80-udisks2.rules
udisks2/src/udiskslinuxblock.c
if (g_udev_device_has_property (device->udev_device, "UDISKS_IGNORE"))
hint_ignore = g_udev_device_get_property_as_boolean (device->udev_device, "UDISKS_IGNORE");
else if (g_udev_device_has_property (device->udev_device, "STORAGED_IGNORE"))
hint_ignore = g_udev_device_get_property_as_boolean (device->udev_device, "STORAGED_IGNORE");