Changeset 1326 in MondoRescue for branches/stable/mondo/src/mondoarchive


Ignore:
Timestamp:
Apr 17, 2007, 12:08:14 AM (17 years ago)
Author:
Bruno Cornec
Message:
  • MONDO_LOGFILE is rather a char* exported by each main program (consolidation of those mecanisms in .h files with ps_*)
  • One include has been created for each binary containing only the specific declarations
  • Log files are now consistent: mondoarchive.log for mondoarchive (containing also mindi.log) and mondorestore.log for mondorestore (copied from /tmp (ram) to /var/log (disk) at the end of the restore)
  • Doc updated accordingly
  • LOGFILE in restore process is now passed in the environment and not duplicated a nymore
  • LogIt is not redifined either
  • LOGFILE should be put in environment by mondoarchive for mindi's usage but that's a step left for later.
  • label-partitions-as-necessary should now work correctly for LABEL and UUID (grep -w removed)
  • Remove useless script compare-me

(All coming from 2.2.2) (remains changes in my-stuff.h coming later on)

Location:
branches/stable/mondo/src/mondoarchive
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/mondoarchive/mondoarchive.c

    r1269 r1326  
    5757bool g_skip_floppies;
    5858long diffs;
    59 char *ps_options = "auxww";
    60 char *ps_proc_id = "$2";
    6159
    6260/****************** subroutines used only here ******************/
  • branches/stable/mondo/src/mondoarchive/mondoarchive.h

    r1256 r1326  
    1212#define MONDO_CONF_DIR "/usr/local/etc/mondo"
    1313#endif
     14
     15/**
     16 * Compatibility #define to ease the transition to logfile-in-a-variable.
     17 */
     18char *MONDO_LOGFILE = "/var/log/mondoarchive.log";
     19
     20/* No restriction on ps options */
     21char *ps_options = "auxww";
     22char *ps_proc_id = "$2";
Note: See TracChangeset for help on using the changeset viewer.