Skip to content

Commit

Permalink
install: Clarify /boot (optional) and root mount spec
Browse files Browse the repository at this point in the history
- /boot has been optional for a while
- Clarify the root uuid

Signed-off-by: Colin Walters <[email protected]>
  • Loading branch information
cgwalters committed Jun 24, 2024
1 parent 40c1790 commit ff40784
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/src/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,13 +217,15 @@ pub(crate) struct InstallTargetFilesystemOpts {
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.
#[clap(long)]
pub(crate) root_mount_spec: Option<String>,

/// Mount specification for the /boot filesystem.
///
/// At the current time, a separate /boot is required. This restriction will be lifted in
/// future versions. If not specified, the filesystem UUID will be used.
/// This is optional. If `/boot` is detected as a mounted partition, then
/// its UUID will be used.
#[clap(long)]
pub(crate) boot_mount_spec: Option<String>,

Expand Down

0 comments on commit ff40784

Please sign in to comment.