summaryrefslogtreecommitdiffstats
path: root/rules.d
diff options
context:
space:
mode:
authorAlan Perry <alanp@snowmoose.com>2021-02-13 04:08:28 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-02-13 10:38:29 +0100
commit8db704b28b4fd4d13e376cf3495005010443937e (patch)
tree06cb7f9a55052c8563486af97be400fd9304eaa4 /rules.d
parentMerge pull request #18401 from anitazha/oomdxattr (diff)
downloadsystemd-8db704b28b4fd4d13e376cf3495005010443937e.tar.xz
systemd-8db704b28b4fd4d13e376cf3495005010443937e.zip
no blkid for mmcblk[0-9]boot[0-9]
Don't run blkid on mmcblk[0-9]boot[0-9] devices because they contain bootloaders or boot parameters, and not partitions or file systems.
Diffstat (limited to 'rules.d')
-rw-r--r--rules.d/60-persistent-storage.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.d/60-persistent-storage.rules b/rules.d/60-persistent-storage.rules
index 35b4f2c6dc..50b357f8df 100644
--- a/rules.d/60-persistent-storage.rules
+++ b/rules.d/60-persistent-storage.rules
@@ -110,7 +110,7 @@ KERNEL=="sr*", ENV{DISK_EJECT_REQUEST}!="?*", ENV{ID_CDROM_MEDIA_TRACK_COUNT_DAT
IMPORT{builtin}="blkid --noraid"
# probe filesystem metadata of disks
-KERNEL!="sr*", IMPORT{builtin}="blkid"
+KERNEL!="sr*|mmcblk[0-9]boot[0-9]", IMPORT{builtin}="blkid"
# by-label/by-uuid links (filesystem metadata)
ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID_ENC}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}"