add BOOT to partitions we don't mount

This commit is contained in:
Christian Hewitt 2013-10-05 13:09:46 +04:00
parent ee530fa488
commit cc780c7e38

View File

@ -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|Recovery|System|SYSTEM|Storage|STORAGE|Flash|FLASH", GOTO="exit" ENV{ID_FS_LABEL}=="EFI|BOOT|Recovery|System|SYSTEM|Storage|STORAGE|Flash|FLASH", 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"