Ignore:
Timestamp:
Sep 27, 2007, 12:21:18 PM (17 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/common/libmondo-devices.h

    r1156 r1663  
    1010int does_partition_exist(const char *drive, int partno);
    1111bool does_string_exist_in_boot_block(char *dev, char *str);
    12 int find_and_mount_actual_cd(struct s_bkpinfo *bkpinfo, char *mountpoint);
     12int find_and_mount_actual_cd(char *mountpoint);
    1313int find_cdrom_device(char *output, bool try_to_mount);
    1414int find_dvd_device(char *output, bool try_to_mount);
     
    2828int find_cdrw_device(char *cdrw_device);
    2929
    30 int interactively_obtain_media_parameters_from_user(struct s_bkpinfo *,
    31                                                     bool);
     30int interactively_obtain_media_parameters_from_user(bool);
    3231
    33 void insist_on_this_cd_number(struct s_bkpinfo *bkpinfo,
     32void insist_on_this_cd_number(
    3433                              int cd_number_i_want);
    3534
    36 int what_number_cd_is_this(struct s_bkpinfo *bkpinfo);
     35int what_number_cd_is_this();
    3736
    3837int eject_device(char *);
     
    4039char *list_of_NFS_mounts_only(void);
    4140
    42 void sensibly_set_tmpdir_and_scratchdir(struct s_bkpinfo *bkpinfo);
     41void sensibly_set_tmpdir_and_scratchdir();
    4342
    4443
     
    5352bool does_nonMS_partition_exist(void);
    5453char *resolve_softlinks_to_get_to_actual_device_file(char *incoming);
    55 void set_g_cdrom_and_g_dvd_to_bkpinfo_value(struct s_bkpinfo *bkpinfo);
     54void set_g_cdrom_and_g_dvd_to_bkpinfo_value();
    5655
    5756bool is_dev_an_NTFS_dev(char *bigfile_fname);
Note: See TracChangeset for help on using the changeset viewer.