libnvmf_config_validate-libnvme32
Dry-run a connection configuration.
Usage
int libnvmf_config_validate (struct libnvme_global_ctx *ctx , const char *file );
Arguments
ctx
|
libnvme global context |
|---|---|
file
|
main configuration file, or NULL for the default. |
Overview
Reads and resolves like libnvmf_config_read, reporting every diagnostic through ctx, without handing back a configuration.
Return
0 when the configuration is valid (including absent), negative errno otherwise.