Changeset 956 in MondoRescue for trunk/mondo/src/mondoarchive
- Timestamp:
- Nov 21, 2006, 1:42:46 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/src/mondoarchive/mondo-cli.c
r914 r956 32 32 bool g_ISO_restore_mode = FALSE; 33 33 34 extern double g_kernel_version; 35 extern int g_current_media_number; 36 extern pid_t g_main_pid; 37 extern char *resolve_softlinks_to_get_to_actual_device_file(char *); 38 39 /* Do we use extended attributes and acl ? 40 * By default no, use --acl & --attr options to force their usage */ 41 char *g_getfacl = NULL; 42 char *g_getfattr = NULL; 34 43 35 44 /** … … 194 203 char *q = NULL; 195 204 196 long itbs ;205 long itbs = 0L; 197 206 198 207 struct stat buf; … … 496 505 if (flag_set['w']) { 497 506 bkpinfo->backup_media_type = cdrw; 507 } 508 if (flag_set['z']) { 509 if (find_home_of_exe("getfattr")) { 510 asprintf(&g_getfattr,"getfattr"); 511 } 512 if (find_home_of_exe("getfacl")) { 513 asprintf(&g_getfacl,"getfacl"); 514 } 498 515 } 499 516 … … 876 893 while ((opt = 877 894 getopt(argc, argv, 878 "0123456789A:B:C:DE:FHI:J:K:LNOP:QRS:T:VWb:c:d:ef:gik:l:mn:op:rs:tuw:x: "))895 "0123456789A:B:C:DE:FHI:J:K:LNOP:QRS:T:VWb:c:d:ef:gik:l:mn:op:rs:tuw:x:z")) 879 896 != -1) { 880 897 if (opt == '?') {
Note:
See TracChangeset
for help on using the changeset viewer.