Ignore:
Timestamp:
Sep 9, 2005, 7:30:28 PM (15 years ago)
Author:
bcornec
Message:

-p option added

File:
1 edited

Legend:

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

    r1 r20  
    12231223 * - @c backup_media_type
    12241224 * - @c cdrw_speed
     1225 * - @c prefix
    12251226 * - @c isodir
    12261227 * - @c media_device
     
    12801281    }
    12811282
    1282   sprintf (command, "rm -f %s/[1-9]*.iso", bkpinfo->isodir);
     1283  sprintf (command, "rm -f %s/%s-[1-9]*.iso", bkpinfo->prefix, bkpinfo->isodir);
    12831284  paranoid_system (command);
    12841285  wipe_archives (bkpinfo->scratchdir);
     
    19111912// and add ' .' at end
    19121913#ifdef __IA64__
    1913               log_msg(1, "IA64 --> lilo");
     1914              log_msg(1, "IA64 --> elilo");
    19141915              res =
    19151916                eval_call_to_make_ISO (bkpinfo,
     
    35363537
    35373538/**
    3538  * Write an ISO image to <tt>[bkpinfo->isodir]/[g_current_media_number].iso</tt>.
     3539 * Write an ISO image to <tt>[bkpinfo->isodir]/bkpinfo->prefix-[g_current_media_number].iso</tt>.
    35393540 * @param bkpinfo The backup information structure. Fields used:
    35403541 * - @c backup_media_type
     3542 * - @c prefix
    35413543 * - @c isodir
    35423544 * - @c manual_cd_tray
     
    36233625      log_to_screen (tmp);
    36243626    }
    3625   sprintf (isofile, "%s/%s/%d.iso", bkpinfo->isodir, bkpinfo->nfs_remote_dir,
    3626            g_current_media_number);
     3627  sprintf (isofile, "%s/%s/%s-%d.iso", bkpinfo->isodir, bkpinfo->nfs_remote_dir,
     3628           bkpinfo->prefix, g_current_media_number);
    36273629  for (that_one_was_ok = FALSE; !that_one_was_ok;)
    36283630    {
Note: See TracChangeset for help on using the changeset viewer.