[systemd-devel] [PATCH] rules: Fix by-path of mmc RPMB partitions and don't blkid them

Lennart Poettering lennart at poettering.net
Thu Feb 12 09:50:58 PST 2015


On Thu, 12.02.15 18:11, Martin Pitt (martin.pitt at ubuntu.com) wrote:

> 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

Looks simple enough. Though I wonder if [0-9] is the right match,
shouldn't it also cover multiple numbers there?

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list