diff --git a/misc/qubes_block.rules b/misc/qubes_block.rules index 14503eef..ea8c28db 100644 --- a/misc/qubes_block.rules +++ b/misc/qubes_block.rules @@ -9,6 +9,7 @@ ENV{MAJOR}=="202", GOTO="qubes_block_end" # Skip device-mapper devices ENV{MAJOR}=="253", GOTO="qubes_block_end" +IMPORT{db}="QUBES_EXPOSED" ACTION=="add", IMPORT{program}="/usr/lib/qubes/block_add_change" ACTION=="change", IMPORT{program}="/usr/lib/qubes/block_add_change" ACTION=="remove", RUN+="/usr/lib/qubes/block_remove"