Changeset 956 in MondoRescue for trunk/mondo/src/mondorestore/mondo-rstr-tools.c
- Timestamp:
- Nov 21, 2006, 1:42:46 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/src/mondorestore/mondo-rstr-tools.c
r914 r956 43 43 44 44 extern int g_partition_table_locked_up; 45 46 /* Should we use or not extended attributes and acl when restoring */ 47 char *g_getfattr = NULL; 48 char *g_getfacl = NULL; 45 49 46 50 /** … … 913 917 } 914 918 mr_free(value); 919 920 read_cfg_var(cfg_file, "acl", value); 921 if (strstr(value, "TRUE")) { 922 asprintf(&g_getfacl,"setfacl"); 923 log_msg(1, "We will restore ACLs"); 924 if (! find_home_of_exe("setfacl")) { 925 log_msg(1, "Unable to restore ACLs as no setfacl found"); 926 } 927 } 928 read_cfg_var(cfg_file, "xattr", value); 929 if (strstr(value, "TRUE")) { 930 asprintf(&g_getfattr,"setfattr"); 931 log_msg(1, "We will restore XATTRs"); 932 if (! find_home_of_exe("setfattr")) { 933 log_msg(1, "Unable to restore XATTRs as no setfattr found"); 934 } 935 } 915 936 916 937 if (0 == read_cfg_var(cfg_file, "internal-tape-block-size", value)) {
Note:
See TracChangeset
for help on using the changeset viewer.