source: MondoRescue/branches/stable/mondo/src/common/libmondo-tools-EXT.h

Last change on this file 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.3 KB
Line 
1/* $Id: libmondo-tools-EXT.h 1663 2007-09-27 10:21:18Z bruno $ */
2
3#ifndef LIBMONDO_TOOLS_EXT_H
4#define LIBMONDO_TOOLS_EXT_H
5
6extern void clean_up_KDE_desktop_if_necessary(void);
7extern long get_time(void);
8extern int read_cfg_var(char *config_file, char *label, char *value);
9extern int write_cfg_var(char *config_file, char *label, char *value);
10extern void reset_bkpinfo();
11#ifdef __FreeBSD__
12extern void initialize_raidrec(struct vinum_volume *vv);
13#else
14extern void initialize_raidrec(struct raid_device_record *raidrec);
15#endif
16extern int some_basic_system_sanity_checks(void);
17
18
19extern void insmod_crucial_modules(void);
20extern int find_and_store_mondoarchives_home(char *home_sz);
21
22extern void unmount_supermounts_if_necessary(void);
23extern void remount_supermounts_if_necessary(void);
24
25extern int post_param_configuration();
26
27
28extern int pre_param_configuration();
29
30
31extern void mount_boot_if_necessary(void);
32extern void unmount_boot_if_necessary(void);
33extern void restart_autofs_if_necessary(void);
34extern void malloc_libmondo_global_strings(void);
35extern void free_libmondo_global_strings(void);
36
37extern double get_kernel_version(void);
38extern char *get_architecture(void);
39
40extern bool does_nonMS_partition_exist(void);
41
42
43extern void stop_magicdev_if_necessary(void);
44extern void restart_magicdev_if_necessary(void);
45extern void stop_autofs_if_necessary(void);
46
47#endif /* LIBMONDO_TOOLS_EXT_H */
Note: See TracBrowser for help on using the repository browser.