udevil: specifically target the ufs from automounting

This commit is contained in:
spycat88
2025-12-09 20:19:24 +00:00
parent 8a3c3783c0
commit 83e3422398

View File

@@ -119,7 +119,7 @@ allowed_media_dirs = /media, /var/media, /run/media/$USER
# 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/* !^/dev/sd.*
allowed_devices = /dev/* !*ufshc-scsi*
# allowed_internal_devices causes udevil to treat any listed block devices as