diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2024-10-03 01:11:42 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-10-22 17:14:56 +0300 |
commit | 592e4deeab50aa71a0b20820f2376c900e920211 (patch) | |
tree | 350cec13fbb65384727814e4c2a09061c3ff0b3a /Documentation/block | |
parent | ba40f4c590f4c91119f3802ed501499709f583a9 (diff) | |
download | linux-592e4deeab50aa71a0b20820f2376c900e920211.tar.xz |
docs: block: Document support for read-only partition in cmdline part
Document support for read-only partition in cmdline partition for block
devices by appending "ro" after the (partition name).
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Link: https://lore.kernel.org/r/20241002221306.4403-3-ansuelsmth@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation/block')
-rw-r--r-- | Documentation/block/cmdline-partition.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/block/cmdline-partition.rst b/Documentation/block/cmdline-partition.rst index 530bedff548a..526ba201dddc 100644 --- a/Documentation/block/cmdline-partition.rst +++ b/Documentation/block/cmdline-partition.rst @@ -39,13 +39,16 @@ blkdevparts=<blkdev-def>[;<blkdev-def>] create a link to block device partition with the name "PARTNAME". User space application can access partition by partition name. +ro + read-only. Flag the partition as read-only. + Example: eMMC disk names are "mmcblk0" and "mmcblk0boot0". bootargs:: - 'blkdevparts=mmcblk0:1G(data0),1G(data1),-;mmcblk0boot0:1m(boot),-(kernel)' + 'blkdevparts=mmcblk0:1G(data0),1G(data1),-;mmcblk0boot0:1m(boot)ro,-(kernel)' dmesg:: |