From 9a45b315255600eb40f883da1317debb427c7767 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 14 Nov 2025 09:13:39 -0500 Subject: [PATCH] install: Expand on root_mount_spec option Came up in chat. Signed-off-by: Colin Walters --- crates/lib/src/install.rs | 6 +++--- docs/src/man/bootc-install-to-filesystem.8.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/lib/src/install.rs b/crates/lib/src/install.rs index dec2e0fc3..42b2be986 100644 --- a/crates/lib/src/install.rs +++ b/crates/lib/src/install.rs @@ -312,9 +312,9 @@ pub(crate) struct InstallTargetFilesystemOpts { /// To override this, use `--root-mount-spec`. pub(crate) root_path: Utf8PathBuf, - /// 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. + /// 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`. #[clap(long)] pub(crate) root_mount_spec: Option, diff --git a/docs/src/man/bootc-install-to-filesystem.8.md b/docs/src/man/bootc-install-to-filesystem.8.md index a18aaa7b5..de8d0af9e 100644 --- a/docs/src/man/bootc-install-to-filesystem.8.md +++ b/docs/src/man/bootc-install-to-filesystem.8.md @@ -27,7 +27,7 @@ is currently expected to be empty by default. **--root-mount-spec**=*ROOT_MOUNT_SPEC* - Source device specification for the root filesystem. For example, UUID=2e9f4241-229b-4202-8429-62d2302382e1 + 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` **--boot-mount-spec**=*BOOT_MOUNT_SPEC*