1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-07-30 23:41:55 +03:00

o Add autobackup support to tools (follows most vg_write calls).

o Skip autobackup when in test mode.
o Set test mode from config file.
o Create system/backup dirs if not present (unless LVM_SYSTEM_DIR holds "").
This commit is contained in:
Alasdair Kergon
2001-12-31 21:27:39 +00:00
parent 129c5d50a1
commit cc21948339
17 changed files with 101 additions and 61 deletions

View File

@ -39,6 +39,8 @@ void init_verbose(int level) {
void init_test(int level) {
_test = level;
if (_test)
log_print("Test mode. Metadata will NOT be updated.");
}
int test_mode() {