Allow LVM devices in udevil

* Part of the #38 fix
This commit is contained in:
2Shirt 2018-05-21 20:38:05 -06:00
parent 24df753a40
commit 629d29ec99

View file

@ -119,7 +119,7 @@ allowed_media_dirs = /media
# allowed_devices = /dev/*
# WARNING: ALLOWING USERS TO MOUNT DEVICES OUTSIDE OF /dev CAN CAUSE SERIOUS
# SECURITY PROBLEMS. DO NOT ALLOW DEVICES IN /dev/shm
allowed_devices = /dev/*
allowed_devices = /dev/*, /dev/mapper/*
# allowed_internal_devices causes udevil to treat any listed block devices as
@ -133,7 +133,7 @@ allowed_devices = /dev/*
# Some removable esata drives look like internal drives to udevil. To avoid
# this problem, they can be treated as removable with this setting.
# WARNING: SETTING A SYSTEM DEVICE HERE CAN CAUSE SERIOUS SECURITY PROBLEMS.
allowed_internal_devices = /dev/*
allowed_internal_devices = /dev/*, /dev/mapper/*
# allowed_internal_uuids and allowed_internal_uuids_FSTYPE work similarly to