aboutsummaryrefslogtreecommitdiff
path: root/src/include/ipxe/sanboot.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2024-03-07 13:31:29 +0000
committerMichael Brown <mcb30@ipxe.org>2024-03-07 13:31:29 +0000
commit62b6d363351fb5d8890cdcd36c949d6d8563b4e9 (patch)
tree52289625111e210c73a132470f3d31fe25eae125 /src/include/ipxe/sanboot.h
parentcea22d76e4cfdbd2d5a3a29bd541346710760457 (diff)
downloadipxe-62b6d363351fb5d8890cdcd36c949d6d8563b4e9.zip
ipxe-62b6d363351fb5d8890cdcd36c949d6d8563b4e9.tar.gz
ipxe-62b6d363351fb5d8890cdcd36c949d6d8563b4e9.tar.bz2
[block] Allow SAN boot device to be identified by an extra filename
Add an "--extra" option that can be used to specify an extra (non-boot) filename that must exist within the booted filesystem. Note that only files within the FAT-formatted bootable partition will be visible to this filter. Files within the operating system's root disk (e.g. "/etc/redhat-release") are not generally accessible to the firmware and so cannot be used as the existence check filter filename. 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 9841edd..91c848b 100644
--- a/src/include/ipxe/sanboot.h
+++ b/src/include/ipxe/sanboot.h
@@ -110,6 +110,8 @@ enum san_device_flags {
struct san_boot_config {
/** Boot filename (or NULL to use default) */
const char *filename;
+ /** Required extra filename (or NULL to ignore) */
+ const char *extra;
/** UUID (or NULL to ignore UUID) */
union uuid *uuid;
};