source: MondoRescue/branches/stable/mondo/src/mondorestore/mondo-rstr-tools.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.1 KB
Line 
1/*
2 * $Id: mondo-rstr-tools.h
3**/
4
5void free_global_filenames(void);
6void get_cfg_file_from_archive_or_bust();
7bool is_file_in_list(char *, char *, char *);   /* needle, haystack, preamble */
8int iso_fiddly_bits(bool nuke_me_please);
9void kill_petris(void);
10int mount_cdrom();
11int mount_device(char *, char *, char *, bool);
12int mount_all_devices(struct mountlist_itself *, bool);
13void protect_against_braindead_sysadmins(void);
14int read_cfg_file_into_bkpinfo(char *cfg_file);
15struct s_node *process_filelist_and_biggielist();
16int backup_crucial_file(char *path_root, char *filename);
17
18int run_boot_loader(bool);
19int run_grub(bool, char *);
20int run_lilo(bool);
21int run_elilo(bool);
22int run_raw_mbr(bool offer_to_hack_scripts, char *bd);
23char *find_my_editor(void);
24void streamline_changes_file(char *, char *);
25void set_signals(int on);
26void setup_global_filenames();
27void twenty_seconds_til_yikes(void);
28int run_raw_mbr(bool offer_to_hack_scripts, char *bd);
29void terminate_daemon(int);
30void termination_in_progress(int);
31int unmount_all_devices(struct mountlist_itself *);
32int get_cfg_file_from_archive();
33void ask_about_these_imagedevs(char *infname, char *outfname);
Note: See TracBrowser for help on using the repository browser.