Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Christian Marangi and committed by
Jens Axboe
592e4dee ba40f4c5

+4 -1
+4 -1
Documentation/block/cmdline-partition.rst
··· 39 39 create a link to block device partition with the name "PARTNAME". 40 40 User space application can access partition by partition name. 41 41 42 + ro 43 + read-only. Flag the partition as read-only. 44 + 42 45 Example: 43 46 44 47 eMMC disk names are "mmcblk0" and "mmcblk0boot0". 45 48 46 49 bootargs:: 47 50 48 - 'blkdevparts=mmcblk0:1G(data0),1G(data1),-;mmcblk0boot0:1m(boot),-(kernel)' 51 + 'blkdevparts=mmcblk0:1G(data0),1G(data1),-;mmcblk0boot0:1m(boot)ro,-(kernel)' 49 52 50 53 dmesg:: 51 54