mirror of
https://github.com/genuinetools/reg.git
synced 2024-08-21 06:10:23 -04:00
4 lines
343 B
Text
4 lines
343 B
Text
# hide docker's loopback devices from udisks, and thus from user desktops
|
|
SUBSYSTEM=="block", ENV{DM_NAME}=="docker-*", ENV{UDISKS_PRESENTATION_HIDE}="1", ENV{UDISKS_IGNORE}="1"
|
|
SUBSYSTEM=="block", DEVPATH=="/devices/virtual/block/loop*", ATTR{loop/backing_file}=="/var/lib/docker/*", ENV{UDISKS_PRESENTATION_HIDE}="1", ENV{UDISKS_IGNORE}="1"
|