source: MondoRescue/branches/stable/mondo/src/mondorestore/mondo-restore.h@ 1770

Last change on this file since 1770 was 1663, checked in by Bruno Cornec, 17 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.7 KB
Line 
1/* mondo-restore.h
2 * $Id: mondo-restore.h 1663 2007-09-27 10:21:18Z bruno $
3 */
4
5/**************************************************************************
6 * Prototypes: *
7 **************************************************************************/
8
9void ask_about_these_imagedevs(char *, char *);
10int catchall_mode(struct mountlist_itself *,
11 struct raidlist_itself *);
12int interactive_mode(struct mountlist_itself *,
13 struct raidlist_itself *);
14int nuke_mode(struct mountlist_itself *,
15 struct raidlist_itself *);
16int compare_mode(struct mountlist_itself *,
17 struct raidlist_itself *);
18int iso_mode(struct mountlist_itself *mountlist,
19 struct raidlist_itself *raidlist, bool nuke_me_please);
20int restore_mode(struct mountlist_itself *,
21 struct raidlist_itself *);
22int restore_a_biggiefile_from_CD(long, struct s_node *,
23 char *);
24int restore_a_biggiefile_from_stream(char *, long,
25 char *, long long, struct s_node *,
26 int, char *);
27int restore_a_tarball_from_CD(char *, long, struct s_node *, struct s_bkpinfo *);
28int restore_a_tarball_from_stream(char *, long,
29 struct s_node *, long long, char *,
30 char *);
31int restore_all_biggiefiles_from_CD(struct s_node *);
32int restore_all_biggiefiles_from_stream(
33 struct s_node *);
34int restore_all_tarballs_from_CD(struct s_node *);
35int restore_all_tarballs_from_stream(struct s_node *);
36int restore_everything(struct s_node *);
37int restore_live_from_monitas_server(char *, char *,
38 char *);
39int restore_to_live_filesystem();
40void swap_mountlist_entries(struct mountlist_itself *, int, int);
41void sort_mountlist_by_mountpoint(struct mountlist_itself *, bool);
42void sort_mountlist_by_device(struct mountlist_itself *);
43int what_number_cd_is_this();
Note: See TracBrowser for help on using the repository browser.