mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
udevil: allow to mount partitions called 'System, Storage, Flash'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
0b396ec081
commit
b9a36475c6
@ -7,7 +7,7 @@ SUBSYSTEM!="block", KERNEL!="sd*|sr*", GOTO="exit"
|
|||||||
|
|
||||||
# check for special partitions we dont want mount
|
# check for special partitions we dont want mount
|
||||||
IMPORT{builtin}="blkid"
|
IMPORT{builtin}="blkid"
|
||||||
ENV{ID_FS_LABEL}=="EFI|BOOT|Recovery|System|SYSTEM|Storage|STORAGE|Flash|FLASH", GOTO="exit"
|
ENV{ID_FS_LABEL}=="EFI|BOOT|Recovery", GOTO="exit"
|
||||||
|
|
||||||
# /dev/sd* with partitions/disk and filesystems only and /dev/sr* disks only
|
# /dev/sd* with partitions/disk and filesystems only and /dev/sr* disks only
|
||||||
KERNEL=="sd*", ENV{DEVTYPE}=="partition|disk", ENV{ID_FS_USAGE}=="filesystem", GOTO="harddisk"
|
KERNEL=="sd*", ENV{DEVTYPE}=="partition|disk", ENV{ID_FS_USAGE}=="filesystem", GOTO="harddisk"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user