chiark / gitweb /
rules: Fix by-path of mmc RPMB partitions and don't blkid them
authorMartin Pitt <martin.pitt@ubuntu.com>
Wed, 11 Feb 2015 14:26:52 +0000 (15:26 +0100)
committerMartin Pitt <martin.pitt@ubuntu.com>
Fri, 13 Feb 2015 07:39:07 +0000 (08:39 +0100)
commitb87b01cf83947f467f3c46d9831cd67955fc46b9
tree4d746ed265a58ce4652af2520b38d348e2108e55
parent0a6f50c0afdfc434b492493bd9efab20cbee8623
rules: Fix by-path of mmc RPMB partitions and don't blkid them

Linux 3.10+ exposes RPMB (Replay Protected Memory Block) partitions of MMC
devices [1] ; trying to read them with blkid or other unspecific means will
cause kernel buffer I/O errors and timeouts. So don't run blkid on these.

Also ensure that /dev/disk/by-path creates proper symlinks and exposes the
-rpmb partition separately, instead of letting the "normal" partition symlink
point to the rpbm device (this is a race condition).

[1] http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=090d25fe224c0

https://launchpad.net/bugs/1333140
rules/60-persistent-storage.rules