Ignore:
Timestamp:
Sep 23, 2006, 9:19:17 AM (18 years ago)
Author:
Bruno Cornec
Message:

Fix a bug whete /tmp was hardcoded for ntfsclone usage, creating a problem for an attempt to use mondo with a live CD. (reported by Dale Tronrud <det102_at_uoxray.uoregon.edu>)

File:
1 edited

Legend:

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

    r693 r812  
    22222222            delete_when_done = TRUE;
    22232223        } else {
    2224 // Call ntfsclone (formerly partimagehack) if it's a /dev entry (i.e. a partition to be imaged)
     2224            // Call ntfsclone (formerly partimagehack) if it's a /dev entry
     2225            // (i.e. a partition to be imaged)
    22252226            log_msg(2, "bigfile_fname = %s", bigfile_fname);
    22262227            use_ntfsprog = FALSE;
     
    22312232                        "Calling ntfsclone in background because %s is an NTFS partition",
    22322233                        bigfile_fname);
    2233                 sprintf(sz_devfile, "/tmp/%d.%d.000",
     2234                sprintf(sz_devfile, "%s/%d.%d.000",
     2235                        bkpinfo->tmpdir,
    22342236                        (int) (random() % 32768),
    22352237                        (int) (random() % 32768));
Note: See TracChangeset for help on using the changeset viewer.