Skip to content

Commit 794a221

Browse files
committed
Update README for the readonly feature of VBLK
1 parent a564ac8 commit 794a221

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ If `ENABLE_ARCH_TEST=1` was previously set, run `make distclean` before proceedi
7575
$ make ENABLE_SYSTEM=1 system
7676
```
7777

78-
Build using run using specified images:
78+
Build and run using specified images (`readonly` option makes the virtual block device read-only):
7979
```shell
8080
$ make ENABLE_SYSTEM=1
81-
$ build/rv32emu -k <kernel_img_path> -i <rootfs_img_path> [-x vblk:<virtio_blk_img_path>]
81+
$ build/rv32emu -k <kernel_img_path> -i <rootfs_img_path> [-x vblk:<virtio_blk_img_path>[,readonly]]
8282
```
8383
8484
Build with a larger INITRD_SIZE (e.g., 64 MiB) to run SDL-oriented application because the default 8 MiB is insufficient for SDL-oriented application artifacts:

0 commit comments

Comments
 (0)