X Tutup
Skip to content

Commit 8db704b

Browse files
tipo158keszybz
authored andcommitted
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.
1 parent b3c57df commit 8db704b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules.d/60-persistent-storage.rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ KERNEL=="sr*", ENV{DISK_EJECT_REQUEST}!="?*", ENV{ID_CDROM_MEDIA_TRACK_COUNT_DAT
110110
IMPORT{builtin}="blkid --noraid"
111111

112112
# probe filesystem metadata of disks
113-
KERNEL!="sr*", IMPORT{builtin}="blkid"
113+
KERNEL!="sr*|mmcblk[0-9]boot[0-9]", IMPORT{builtin}="blkid"
114114

115115
# by-label/by-uuid links (filesystem metadata)
116116
ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID_ENC}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}"

0 commit comments

Comments
 (0)
X Tutup