Skip to content

Commit 63d09b6

Browse files
committed
install: Expand on root_mount_spec option
Came up in chat. Signed-off-by: Colin Walters <walters@verbum.org>
1 parent 71dc8e5 commit 63d09b6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

crates/lib/src/install.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -312,9 +312,9 @@ pub(crate) struct InstallTargetFilesystemOpts {
312312
/// To override this, use `--root-mount-spec`.
313313
pub(crate) root_path: Utf8PathBuf,
314314

315-
/// Source device specification for the root filesystem. For example, UUID=2e9f4241-229b-4202-8429-62d2302382e1
316-
///
317-
/// If not provided, the UUID of the target filesystem will be used.
315+
/// Source device specification for the root filesystem. For example, `UUID=2e9f4241-229b-4202-8429-62d2302382e1`.
316+
/// If not provided, the UUID of the target filesystem will be used. This option is provided
317+
/// as some use cases might prefer to mount by a label instead via e.g. `LABEL=rootfs`.
318318
#[clap(long)]
319319
pub(crate) root_mount_spec: Option<String>,
320320

docs/src/man/bootc-install-to-filesystem.8.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ is currently expected to be empty by default.
2727

2828
**--root-mount-spec**=*ROOT_MOUNT_SPEC*
2929

30-
Source device specification for the root filesystem. For example, UUID=2e9f4241-229b-4202-8429-62d2302382e1
30+
Source device specification for the root filesystem. For example, `UUID=2e9f4241-229b-4202-8429-62d2302382e1`. If not provided, the UUID of the target filesystem will be used. This option is provided as some use cases might prefer to mount by a label instead via e.g. `LABEL=rootfs`
3131

3232
**--boot-mount-spec**=*BOOT_MOUNT_SPEC*
3333

0 commit comments

Comments
 (0)