2002-01-07 14:12:11 +03:00
/*
* Copyright ( C ) 2001 Sistina Software ( UK ) Limited .
*
* This file is released under the GPL .
*/
# ifndef _LVM_DEFAULTS_H
# define _LVM_DEFAULTS_H
2002-01-08 22:17:08 +03:00
# define DEFAULT_ARCHIVE_ENABLED 1
# define DEFAULT_BACKUP_ENABLED 1
2002-01-07 14:12:11 +03:00
# define DEFAULT_ARCHIVE_SUBDIR "archive"
# define DEFAULT_BACKUP_SUBDIR "backup"
2002-01-08 22:17:08 +03:00
# define DEFAULT_ARCHIVE_DAYS 30
# define DEFAULT_ARCHIVE_NUMBER 10
2002-01-07 14:12:11 +03:00
2002-11-18 17:01:16 +03:00
# define DEFAULT_SYS_DIR " / etc / lvm"
2002-01-07 14:12:11 +03:00
# define DEFAULT_DEV_DIR " / dev"
2002-01-16 02:34:13 +03:00
# define DEFAULT_PROC_DIR " / proc"
2002-01-07 14:12:11 +03:00
2002-02-08 17:28:52 +03:00
# define DEFAULT_LOCK_DIR " / var / lock / lvm"
2002-11-18 17:01:16 +03:00
# define DEFAULT_LOCKING_LIB "lvm2_locking.so"
2002-02-08 17:28:52 +03:00
2002-01-09 22:16:48 +03:00
# define DEFAULT_UMASK 0077
2002-11-18 17:01:16 +03:00
# ifdef LVM1_SUPPORT
# define DEFAULT_FORMAT "lvm1"
# else
# define DEFAULT_FORMAT "lvm2"
# endif
2002-04-24 22:20:51 +04:00
2002-11-18 17:01:16 +03:00
# define DEFAULT_PVMETADATASIZE 255
# define DEFAULT_PVMETADATACOPIES 1
# define DEFAULT_LABELSECTOR 1
2002-05-07 16:50:01 +04:00
2002-11-18 17:01:16 +03:00
# define DEFAULT_MSG_PREFIX " "
2002-05-07 16:50:01 +04:00
# define DEFAULT_CMD_NAME 0
2002-11-18 17:01:16 +03:00
# define DEFAULT_OVERWRITE 0
# ifndef DEFAULT_LOG_FACILITY
# define DEFAULT_LOG_FACILITY LOG_USER
# endif
# define DEFAULT_SYSLOG 1
# define DEFAULT_VERBOSE 0
# define DEFAULT_LOGLEVEL 0
# define DEFAULT_INDENT 1
# define DEFAULT_ACTIVATION 1
2002-05-07 16:50:01 +04:00
2002-01-08 22:17:08 +03:00
# ifdef READLINE_SUPPORT
# define DEFAULT_MAX_HISTORY 100
# endif
2002-11-18 17:01:16 +03:00
# endif /* _LVM_DEFAULTS_H */