[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>
This commit is contained in:
Michael Brown
2024-03-07 14:09:54 +00:00
parent 62b6d36335
commit 24a855f1fc
3 changed files with 81 additions and 1 deletions

View File

@@ -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;
};