summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/sanboot.h
diff options
context:
space:
mode:
authorMichael Brown2024-03-07 15:09:54 +0100
committerMichael Brown2024-03-07 15:11:46 +0100
commit24a855f1fc8d97ad3ca6be3eaabdc1c8285e86e8 (patch)
treeec790a5fc8dd748fc35138819e5d6b7cf5288e9d /src/include/ipxe/sanboot.h
parent[block] Allow SAN boot device to be identified by an extra filename (diff)
downloadipxe-24a855f1fc8d97ad3ca6be3eaabdc1c8285e86e8.tar.gz
ipxe-24a855f1fc8d97ad3ca6be3eaabdc1c8285e86e8.tar.xz
ipxe-24a855f1fc8d97ad3ca6be3eaabdc1c8285e86e8.zip
[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 <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/sanboot.h')
-rw-r--r--src/include/ipxe/sanboot.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/ipxe/sanboot.h b/src/include/ipxe/sanboot.h
index 91c848b0..e44367cd 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;
};