Merge remote-tracking branch 'qubesos/pr/31'

* qubesos/pr/31:
  udev-block-add-change: ignore unconnected Network Block Device
pull/33/head mm_ab2fa766
Marek Marczykowski-Górecki 6 years ago
commit ab2fa766b9
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

@ -119,6 +119,12 @@ if [ "$MAJOR" -eq 7 -a ! -d /sys/$DEVPATH/loop ]; then
exit 0
fi
# or unconnected Network Block Device
if [ "$MAJOR" -eq 43 -a ! -e /sys/$DEVPATH/pid ]; then
xs_remove
exit 0
fi
# ... and loop devices from excluded directories
if [[ "$NAME" = 'loop'* ]]; then
backing_file=$(cat /sys/block/${NAME}/loop/backing_file)

Loading…
Cancel
Save