Changeset 3056 in MondoRescue for branches/3.0/mondo/src/common


Ignore:
Timestamp:
Oct 31, 2012, 4:27:15 AM (12 years ago)
Author:
Bruno Cornec
Message:
  • Add option -sparse to all star calls to add support of sparse file in case of star usage, as afio sparse file support seems broken
Location:
branches/3.0/mondo/src/common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mondo/src/common/libmondo-archive.c

    r2985 r3056  
    213213    paranoid_free(tmp);
    214214
    215     mr_asprintf(&command, "star H=exustar list=%s -c " STAR_ACL_SZ " file=%s",
     215    mr_asprintf(&command, "star H=exustar list=%s -c -sparse " STAR_ACL_SZ " file=%s",
    216216            filelist, fname);
    217217    if (bkpinfo->use_lzo) {
  • branches/3.0/mondo/src/common/libmondo-verify.c

    r2878 r3056  
    494494        if (strstr(tarball_fname, ".bz2"))
    495495            sprintf(command,
    496                     "star -diff diffopts=mode,size,data file=%s %s >> %s 2>> %s",
     496                    "star -sparse -diff diffopts=mode,size,data file=%s %s >> %s 2>> %s",
    497497                    tarball_fname,
    498498                    (strstr(tarball_fname, ".bz2")) ? "-bz" : " ", outlog,
Note: See TracChangeset for help on using the changeset viewer.