mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
udevil: prevent noobs partitions from auto-mounting
This commit is contained in:
parent
0dee619c4b
commit
acdc299a9c
@ -7,7 +7,7 @@ SUBSYSTEM!="block", KERNEL!="sd*|sr*|mmc*", GOTO="exit"
|
||||
|
||||
# check for special partitions we dont want mount
|
||||
IMPORT{builtin}="blkid"
|
||||
ENV{ID_FS_LABEL}=="EFI|BOOT|Recovery|RECOVERY", GOTO="exit"
|
||||
ENV{ID_FS_LABEL}=="EFI|BOOT|Recovery|RECOVERY|SETTINGS|boot|root0|share0", GOTO="exit"
|
||||
|
||||
# /dev/sd* and /dev/mmc* ith partitions/disk and filesystems only and /dev/sr* disks only
|
||||
KERNEL=="sd*|mmc*", ENV{DEVTYPE}=="partition|disk", ENV{ID_FS_USAGE}=="filesystem", GOTO="harddisk"
|
||||
|
Loading…
x
Reference in New Issue
Block a user