source: branches/stable/mondo/src/mondorestore/mondo-rstr-tools-EXT.h @ 1663

Last change on this file since 1663 was 1663, checked in by Bruno Cornec, 13 years ago
  • 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)

  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1/*
2 * $Id: mondo-rstr-tools-EXT.h
3**/
4
5extern void free_MR_global_filenames(void);
6extern void get_cfg_file_from_archive_or_bust();
7extern bool is_file_in_list(char *, char *, char *);    /* needle, haystack, preamble */
8extern int iso_fiddly_bits(bool nuke_me_please);
9extern void kill_petris(void);
10extern int mount_cdrom();
11extern int mount_all_devices(struct mountlist_itself *, bool);
12extern void protect_against_braindead_sysadmins(void);
13extern int read_cfg_file_into_bkpinfo(char *cfg_file);
14struct s_node *process_filelist_and_biggielist();
15extern int backup_crucial_file(char *path_root, char *filename);
16extern int run_boot_loader(bool);
17extern int run_grub(bool, char *);
18extern int run_lilo(bool);
19extern int run_elilo(bool);
20extern int run_raw_mbr(bool offer_to_hack_scripts, char *bd);
21extern char *find_my_editor(void);
22
23extern void streamline_changes_file(char *, char *);
24extern void set_signals(int on);
25extern void setup_MR_global_filenames();
26extern void terminate_daemon(int);
27extern void termination_in_progress(int);
28extern int unmount_all_devices(struct mountlist_itself *);
29extern int get_cfg_file_from_archive();
30extern int
31extract_config_file_from_ramdisk(
32                                 char *ramdisk_fname,
33                                 char *output_cfg_file,
34                                 char *output_mountlist_file);
35
36extern void ask_about_these_imagedevs(char *infname, char *outfname);
37
38extern void wait_until_software_raids_are_prepped(int wait_for_percentage);
Note: See TracBrowser for help on using the repository browser.