summarylogtreecommitdiffstats
path: root/80-balena-engine.rules
blob: b3ab3fa113dcc970b6f67e1167c5721e579f2089 (plain)
1
2
3
# hide balena-engine's loopback devices from udisks, and thus from user desktops
SUBSYSTEM=="block", ENV{DM_NAME}=="balena-*", ENV{UDISKS_PRESENTATION_HIDE}="1", ENV{UDISKS_IGNORE}="1"
SUBSYSTEM=="block", DEVPATH=="/devices/virtual/block/loop*", ATTR{loop/backing_file}=="/var/lib/balena-engine/*", ENV{UDISKS_PRESENTATION_HIDE}="1", ENV{UDISKS_IGNORE}="1"