udev: hide internal drives from file-selection dialogs
This commit is contained in:
parent
341edffaa6
commit
be74125d40
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user