diff options
author | Michael Brown <mcb30@ipxe.org> | 2024-03-07 14:09:54 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2024-03-07 14:11:46 +0000 |
commit | 24a855f1fc8d97ad3ca6be3eaabdc1c8285e86e8 (patch) | |
tree | ec790a5fc8dd748fc35138819e5d6b7cf5288e9d /src/include/ipxe/sanboot.h | |
parent | 62b6d363351fb5d8890cdcd36c949d6d8563b4e9 (diff) | |
download | ipxe-24a855f1fc8d97ad3ca6be3eaabdc1c8285e86e8.tar.gz |
[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.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; }; |