dom0/qvm-block: hide devices mounted in dom0 (#579)
This commit is contained in:
parent
39b15033aa
commit
1f8251eefb
@ -53,6 +53,9 @@ start()
|
|||||||
MEMINFO_DELAY_USEC=100000
|
MEMINFO_DELAY_USEC=100000
|
||||||
/usr/lib/qubes/meminfo-writer $MEM_CHANGE_THRESHOLD_KB $MEMINFO_DELAY_USEC &
|
/usr/lib/qubes/meminfo-writer $MEM_CHANGE_THRESHOLD_KB $MEMINFO_DELAY_USEC &
|
||||||
|
|
||||||
|
# Reply block events to hide mounted devices from qubes-block list (at first udev run, only / is mounted)
|
||||||
|
udevadm trigger --subsystem-match=block --action=add
|
||||||
|
|
||||||
touch /var/lock/subsys/qubes_core
|
touch /var/lock/subsys/qubes_core
|
||||||
success
|
success
|
||||||
echo
|
echo
|
||||||
|
Loading…
Reference in New Issue
Block a user