Re: [PATCH] mmc: card: Don't show eMMC RPMB and BOOT areas in /proc/partitions
From: Harish Jenny K N
Date: Thu Mar 01 2018 - 00:35:23 EST
On Tuesday 27 February 2018 08:28 PM, Alex Lemberg wrote:
> Hi Andrew,
>
> While RPMB partition requires special IOCTL, the boot partition is only requires "switch partition", which is not unusual operation in eMMC.
> Why to prevent users access boot partition?
>
> Thanks,
> Alex
The main intention of the patch was to not have RPMB device in /proc/partitions. Boot partitions are also unlikely to have any partitioning, so it made sense to treat them the same way as RPMB and not list in /proc/partitions.
Now I see that RPMB is converted to a character device and this change may not be required for RPMB.
Correct me if I am wrong. Also any comments are welcome.
Thanks,
Harish Jenny K N