1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-08-03 08:22:00 +03:00

Option for auto-fallback to LVM1 tools if running 2.4 without device-mapper.

This commit is contained in:
Alasdair Kergon
2004-04-08 15:23:23 +00:00
parent 0d0b335763
commit 7d1552c9de
9 changed files with 118 additions and 2 deletions

View File

@ -462,6 +462,11 @@ static int _set_tag(struct cmd_context *cmd, const char *tag)
return 0;
}
if (!(cmd->kernel_vsn = pool_strdup(cmd->libmem, uts.release))) {
log_error("_init_hostname: pool_strdup kernel_vsn failed");
return 0;
}
return 1;
}

View File

@ -58,6 +58,7 @@ struct cmd_context {
struct list formats; /* Available formats */
const char *hostname;
const char *kernel_vsn;
char *cmd_line;
struct command *command;