From 8f09c94857143fdde4bc56ec44ab2c958b995abf Mon Sep 17 00:00:00 2001 From: Alex Zenla Date: Sat, 26 Sep 2026 20:23:08 -0700 Subject: [PATCH] docs(autoconfigure): correct the comment on Linux scan locations The comment said symlinked scan locations are skipped, but nothing checks for symlinks, and that the empty string is the root of the filesystem, while the root location is "\\". --- crates/boot/src/autoconfigure/linux.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/boot/src/autoconfigure/linux.rs b/crates/boot/src/autoconfigure/linux.rs index b8b9860..3b5c7f0 100644 --- a/crates/boot/src/autoconfigure/linux.rs +++ b/crates/boot/src/autoconfigure/linux.rs @@ -23,8 +23,8 @@ use uefi::proto::device_path::text::{AllowShortcuts, DisplayOnly}; const LINUX_CHAINLOAD_ACTION_PREFIX: &str = "linux-chainload-"; /// The locations to scan for kernel pairs. -/// We will check for symlinks and if this directory is a symlink, we will skip it. -/// The empty string represents the root of the filesystem. +/// A location that doesn't exist or can't be read is skipped. +/// The "\\" location represents the root of the filesystem. const SCAN_LOCATIONS: &[&str] = &["\\boot", "\\"]; /// This is really silly, but if what we are booting is the Canonical stubble stub,