Skip to content

Commit ff40784

Browse files
committed
install: Clarify /boot (optional) and root mount spec
- /boot has been optional for a while - Clarify the root uuid Signed-off-by: Colin Walters <[email protected]>
1 parent 40c1790 commit ff40784

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/src/install.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,13 +217,15 @@ pub(crate) struct InstallTargetFilesystemOpts {
217217
pub(crate) root_path: Utf8PathBuf,
218218

219219
/// Source device specification for the root filesystem. For example, UUID=2e9f4241-229b-4202-8429-62d2302382e1
220+
///
221+
/// If not provided, the UUID of the target filesystem will be used.
220222
#[clap(long)]
221223
pub(crate) root_mount_spec: Option<String>,
222224

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

0 commit comments

Comments
 (0)