@@ -28,6 +28,9 @@ Running mmc-utils
If <number> is passed (0 or 1), only protect that particular eMMC boot partition, otherwise protect both. It will be write-protected until the next boot.
-p Protect partition permanently instead. NOTE! -p is a one-time programmable (unreversible) change.
+ ``writeprotect user get <device>``
+ Print the user areas write protect configuration for <device>.
+
``writeprotect user set <type> <start block> <blocks> <device>``
Set user area write protection.
@@ -27,6 +27,9 @@ If \fInumber\fR is passed (0 or 1), only protect that specified eMMC boot partit
.br
It will be write-protected until the next boot.
.TP
+.B writeprotect user get <device>
+Print the user areas write protect configuration for <device>.
+.TP
.BI writeprotect " " user " " set " " \fItype\fR " " \fIstart\-block\fR " " \fIblocks\fR " " \fIdevice\fR
Set the write protect configuration for the specified region of the user area for the device.
.br
This commit adds missing documentation for the "writeprotect user get" command to both the man page (mmc.1) and the documentation page (docs/HOWTO.rst). The "writeprotect user get" command prints the user areas write protect configuration for the specified device. Signed-off-by: Avri Altman <avri.altman@wdc.com> --- docs/HOWTO.rst | 3 +++ mmc.1 | 3 +++ 2 files changed, 6 insertions(+)