udev: hide internal drives from file-selection dialogs

This commit is contained in:
Marek Marczykowski-Górecki 2014-02-04 04:38:57 +01:00
parent 341edffaa6
commit be74125d40

View File

@ -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"