From 24a855f1fc8d97ad3ca6be3eaabdc1c8285e86e8 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 7 Mar 2024 14:09:54 +0000 Subject: [block] Allow SAN boot device to be identified by filesystem label Add a "--label" option that can be used to specify a filesystem label, to be matched against the FAT volume label. Signed-off-by: Michael Brown --- src/include/ipxe/sanboot.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/include/ipxe') diff --git a/src/include/ipxe/sanboot.h b/src/include/ipxe/sanboot.h index 91c848b05..e44367cdb 100644 --- a/src/include/ipxe/sanboot.h +++ b/src/include/ipxe/sanboot.h @@ -112,6 +112,8 @@ struct san_boot_config { const char *filename; /** Required extra filename (or NULL to ignore) */ const char *extra; + /** Filesystem label (or NULL to ignore volume label) */ + const char *label; /** UUID (or NULL to ignore UUID) */ union uuid *uuid; }; -- cgit v1.2.3-55-g7522