Ignore:
Timestamp:
Oct 31, 2012, 4:27:15 AM (11 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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mondo/src/mondorestore/mondorestore.c

    r3017 r3056  
    17721772//      if (strstr(tarball_fname, ".star."))
    17731773        if (use_star) {
    1774             mr_asprintf(&command, "star -x -force-remove -U " STAR_ACL_SZ " errctl= file=%s", tarball_fname);
     1774            mr_asprintf(&command, "star -x -force-remove -sparse -U " STAR_ACL_SZ " errctl= file=%s", tarball_fname);
    17751775            if (strstr(tarball_fname, ".bz2")) {
    17761776                mr_strcat(command, " -bz");
     
    19601960        if (strstr(tarball_fname, ".star.")) {
    19611961            use_star = TRUE;
    1962             sprintf(command, "star -t file=%s %s", afio_fname, executable);
     1962            sprintf(command, "star -sparse -t file=%s %s", afio_fname, executable);
    19631963        } else {
    19641964            use_star = FALSE;
     
    19951995    if (strstr(tarball_fname, ".star."))    // star
    19961996    {
    1997         sprintf(command, "star -x file=%s %s", afio_fname, executable);
     1997        sprintf(command, "star -sparse -x file=%s %s", afio_fname, executable);
    19981998        if (filelist) {
    19991999            sprintf(command + strlen(command), " list=%s",
Note: See TracChangeset for help on using the changeset viewer.