Changeset 956 in MondoRescue for trunk/mondo/src/mondoarchive


Ignore:
Timestamp:
Nov 21, 2006, 1:42:46 AM (17 years ago)
Author:
Bruno Cornec
Message:

merge -r938:954 $SVN_M/branches/stable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/src/mondoarchive/mondo-cli.c

    r914 r956  
    3232bool g_ISO_restore_mode = FALSE;
    3333
     34extern double g_kernel_version;
     35extern int g_current_media_number;
     36extern pid_t g_main_pid;
     37extern 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 */
     41char *g_getfacl = NULL;
     42char *g_getfattr = NULL;
    3443
    3544/**
     
    194203    char *q = NULL;
    195204
    196     long itbs;
     205    long itbs = 0L;
    197206
    198207    struct stat buf;
     
    496505    if (flag_set['w']) {
    497506        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        }
    498515    }
    499516
     
    876893    while ((opt =
    877894            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"))
    879896           != -1) {
    880897        if (opt == '?') {
Note: See TracChangeset for help on using the changeset viewer.