diff options
author | Jeffy Chen <jeffy.chen@rock-chips.com> | 2017-02-20 21:26:58 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-02-24 05:42:55 -0800 |
commit | b1b5cf7ee83a7f70c23f015a53a34948bf23dd11 (patch) | |
tree | 4bfacf65a601a0ecdebddab6468dcf51170608a0 /futility/file_type_rwsig.c | |
parent | 83bd850f3fd45648bb811f6080efac396c8a2062 (diff) | |
download | vboot-b1b5cf7ee83a7f70c23f015a53a34948bf23dd11.tar.gz |
cgpt: find: filter out more devices before touching them
A partition's name would always start with the disk name. And in
/proc/partitions, the partitions are always listed right after the
disk.
Let's filter out devices which are not followed by partitions when
go through the /proc/partitions.
BUG=chrome-os-partner:62955
TEST=run "cgpt find -t kernel" on kevin, no more this warning:
blk_update_request: I/O error, dev mmcblk0rpmb
Change-Id: If200a2476d26b1beaf644838d47ea2e60552855e
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Reviewed-on: https://chromium-review.googlesource.com/444492
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'futility/file_type_rwsig.c')
0 files changed, 0 insertions, 0 deletions