diff --git a/udev/udev-qubes-block.rules b/udev/udev-qubes-block.rules index 9e989e2..19d0c1a 100644 --- a/udev/udev-qubes-block.rules +++ b/udev/udev-qubes-block.rules @@ -3,6 +3,10 @@ # Only block devices are interesting SUBSYSTEM!="block", GOTO="qubes_block_end" +# Hide qubes-internal drives from udisks, so file selection dialogs +ENV{MAJOR}=="7", ENV{UDISKS_IGNORE}="1" +KERNEL=="xvda|xvdb|xvdc*|xvdd", ENV{UDISKS_IGNORE}="1" + # Skip xen-blkfront devices ENV{MAJOR}=="202", GOTO="qubes_block_end"