mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Merge pull request #163 from MikeBuzz/patch-2
added RECOVERY to partitions not to be mounted Thanks :D
This commit is contained in:
commit
088599762c
@ -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", GOTO="exit"
|
||||
ENV{ID_FS_LABEL}=="EFI|BOOT|Recovery|RECOVERY", 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