Ignore:
Timestamp:
Sep 27, 2007, 12:21:18 PM (12 years ago)
Author:
Bruno Cornec
Message:
  • Fix bug #197 (based on an initial patch of Scott Cummings)
  • Fix a bug where df was using locale to print messages and wasn't filtered correctly
  • mkdtemp checked in configure
  • reset_bkpinfo called as early as possible by both main program.
  • It creates a tmpdir cleanly with mkdtemp in setup_tmpdir subfunction, which takes in account TMPIR and TMP env var. Remains to see what tmpfs does and tests
  • configure.in should also be filtered.
  • Remove g_bkpinfo_DONTUSETHIS
  • remove bkpinfo also from header files
  • Render bkpinfo global (potential issue on thread, but should not be a problem as that structure is indeed static during archive)
  • Apply patch from Andree Leidenfrost, modified a bit to use bkpinfo->tmpdir instead of /tmp or MINDI_CACHE when appropriate. Fix security issues in mondo. Thanks al ot Andree for catching all those issues.
  • /tmp => /var/log for mondorestore.log in mindi
  • Update linux terminfo to fix a color issue (Andree Leidenfrost)
  • Removes useless log file (Andree Leidenfrost)
  • replace vi with find_my_editor during restore (Andree Leidenfrost)
  • sync in bg in mindi (VMWare issue to look at)
  • mindi/mindi-busybox have a different version than mondo for pb
  • PB-SUF also added to spec file
  • Fix a bug for pb build (omission of PB-SUF declaration)

(merge -r1631:1662 $SVN_M/branches/2.2.5)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/mondorestore/mondo-restore-EXT.h

    r1213 r1663  
    2525
    2626extern void ask_about_these_imagedevs(char *, char *);
    27 extern int catchall_mode(struct s_bkpinfo *, struct mountlist_itself *,
     27extern int catchall_mode(struct mountlist_itself *,
    2828                         struct raidlist_itself *);
    2929extern void sort_mountlist_by_device(struct mountlist_itself *);
    30 extern int interactive_mode(struct s_bkpinfo *, struct mountlist_itself *,
     30extern int interactive_mode(struct mountlist_itself *,
    3131                            struct raidlist_itself *);
    32 extern int nuke_mode(struct s_bkpinfo *, struct mountlist_itself *,
     32extern int nuke_mode(struct mountlist_itself *,
    3333                     struct raidlist_itself *);
    34 extern int compare_mode(struct s_bkpinfo *, struct mountlist_itself *,
     34extern int compare_mode(struct mountlist_itself *,
    3535                        struct raidlist_itself *);
    36 extern int iso_mode(struct s_bkpinfo *bkpinfo,
     36extern int iso_mode(
    3737                    struct mountlist_itself *mountlist,
    3838                    struct raidlist_itself *raidlist, bool nuke_me_please);
    3939extern int load_mountlist(struct mountlist_itself *, char *);
    4040extern int load_raidtab_into_raidlist(struct raidlist_itself *, char *);
    41 extern int restore_mode(struct s_bkpinfo *, struct mountlist_itself *,
     41extern int restore_mode(struct mountlist_itself *,
    4242                        struct raidlist_itself *);
    4343extern int save_raidlist_to_raidtab(struct raidlist_itself *, char *);
    4444extern void process_raidtab_line(FILE *, struct raid_device_record *,
    4545                                 char *, char *);
    46 extern int restore_a_biggiefile_from_CD(struct s_bkpinfo *, long,
     46extern int restore_a_biggiefile_from_CD(long,
    4747                                        struct s_node *);
    48 extern int restore_a_biggiefile_from_stream(struct s_bkpinfo *, char *,
     48extern int restore_a_biggiefile_from_stream(char *,
    4949                                            long, char *, long long,
    5050                                            struct s_node *);
    5151extern int restore_a_tarball_from_CD(char *, int, struct s_node *, struct s_bkpinfo *);
    52 extern int restore_a_tarball_from_stream(struct s_bkpinfo *, char *, int,
     52extern int restore_a_tarball_from_stream(char *, int,
    5353                                         struct s_node *, long long);
    54 extern int restore_all_biggiefiles_from_CD(struct s_bkpinfo *,
     54extern int restore_all_biggiefiles_from_CD(
    5555                                           struct s_node *);
    56 extern int restore_all_biggiefiles_from_stream(struct s_bkpinfo *,
     56extern int restore_all_biggiefiles_from_stream(
    5757                                               struct s_node *);
    58 extern int restore_all_tarballs_from_CD(struct s_bkpinfo *,
     58extern int restore_all_tarballs_from_CD(
    5959                                        struct s_node *);
    60 extern int restore_all_tarballs_from_stream(struct s_bkpinfo *,
     60extern int restore_all_tarballs_from_stream(
    6161                                            struct s_node *);
    62 extern int restore_everything(struct s_bkpinfo *, struct s_node *);
    63 extern int restore_live_from_monitas_server(struct s_bkpinfo *, char *,
     62extern int restore_everything(struct s_node *);
     63extern int restore_live_from_monitas_server(char *,
    6464                                            char *, char *);
    65 extern int restore_to_live_filesystem(struct s_bkpinfo *);
     65extern int restore_to_live_filesystem();
    6666extern void swap_mountlist_entries(struct mountlist_itself *, int, int);
    6767extern void sort_mountlist_by_mountpoint(struct mountlist_itself *, bool);
     
    7474extern int save_raidlist_to_raidtab(struct raidlist_itself *raidlist,
    7575                                    char *fname);
    76 extern int what_number_cd_is_this(struct s_bkpinfo *);
     76extern int what_number_cd_is_this();
    7777
    7878#ifdef __FreeBSD__
Note: See TracChangeset for help on using the changeset viewer.