added RECOVERY to partitions not to be mounted

to prevent the RECOVERY partition being mounted at boot
This commit is contained in:
Michael Busby 2016-04-15 13:54:56 +01:00
parent d6ca59e967
commit 988084b249

View File

@ -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"