source: branches/stable/mondo/src/mondorestore/mondo-restore-EXT.h @ 1842

Last change on this file since 1842 was 1842, checked in by Bruno Cornec, 12 years ago
  • Fix lack of /etc/raidtab at restore rime in the right place
  • Adds support for nls_utf8 and pata_serverworks Patches from Dirk Husung (husung_at_tu-harburg.de)
  • Add efibootmgr to deplist.txt in order to be able to modify EFI menu at restore time on ia64
  • Usage of the new testver param of pb 0.8.12 to deliver 2.2.5 packages in a test dir.
  • Update pbcl files for upcoming delivery of 2.2.5
  • Fix an issue on parted output (K instead of KB) in parted2fdisk at restore time
  • Adds support for alb/aft types of bonding on Intel cards (Mark Pinkerton <Mark.Pinkerton_at_emageon.com>)
  • Escape variables in a perl script like mindi-bkphw
  • Better Proliant support at restore time now.
  • Fix a label bug where the variable label should also be re-initialized at each loop
  • start-nfs should NOT do exit => kernel panix as init exits
  • some other fixes for init on denymods
  • Adds boot options denymods (for udev) and forcemods (if not udev)
  • kqemu is denied. Probably should also be done for kvm stuff
  • Fix again the bug on modules link at root of the initrd. Hopefully for good.
  • Wait more around the USB CD emulated by iLO as it takes up to 5 seconds to come up
  • Attempt to fix udev support for RHEL 5.1
  • Better support for automatic iLO Virtual Media with udev
  • Some VMWare support improvements (however, it seems that VMWare support won't be possible anytime soon)
  • during init at restore time, copy all static evices availble for udev, as some distro implementation are no

t yet supported correctly for udev. Not very elegant, but should solve our current issues

  • Fedora 8 now supported as a build target for pb
  • svn.log removed.
  • dependencies reviewd for rhel_3
  • Attempt to fix the lack of modules loaded at restore time - especially fs device drivers
  • removes bkphw dir before potential creation
  • render mount command more vebose at restore time
  • Should fix #217
  • Increase BOOT_SIZE and EXTRA_SIZE to support features such as HW recovery
  • Handles udev.files files which could be symlinks
  • Improve udev support for distro with compressed modules (mdv e.g.)
  • Fix modules.dep copy
  • /sbin/pam_console_apply is needed by mdv udev conf
  • Adds support for nohw boot option to avoid re-setuping the HW conf
  • Improved support for Proliant on cpqacuxe
  • RstHW should be called after driver initialization
  • For debian/ubuntu mindi dpends on mindi-busybox
  • Update mindi-busybox pbcl for correct debian changelog generation, and up2date infos
  • Should fix #215
  • Fix #214 (Thanks to xdelaruelle)
  • Fix again svn.log not used anymore with new pb version
  • Adaptation of build process to upcoming 0.8.12 version of pb
  • Remove MONOTONIC clock to continue to support 2.4 kernels (RHEL 3 e.g. or ESX)
  • Attempt to solve ia64 BMC access through the serial port
  • parted2fdisk binary no more generated
  • do not require perl modules (strict.pm) at restore time
  • try to avoid modprobe messages at restore time
  • on ia64 now use the perl script parted2fdisk at retore time also
  • Also modprobe modules for udev after decompressing the additional ones
  • replace gzip -v9 by gzip -c9. Fix a bug at least on ia64
  • For all modules supported, create symlinks under the mountpoint and extract dev files as some are not automat ically created at the moment
  • Support /vmfs/volumes for ESX
  • Finally do not use vdf for ESX. Only creates issues.
  • Avoids continuing hw support if no product name found
  • Improves ia64 support for bootable image build
  • Fix a potential problem with ramdisk_blocksize param
  • MAKEDEV should also be included in deplist.txt
  • More fixes for udev support for Debian
  • Do not mount /boot if it's already mounted - avoids ESX hang
  • Fix NICs renumbering on Debian at least
  • Udev startup improvement to support iLO + NFS so modprobing all modules seems required as of now
  • Update to version 1.7.3 of busybox for pb
  • Load USB earlier in order to support KBD such as with iLO
  • Do busybox ldd first in order to create a potential /lib64 link correctly and then use it later in the image
  • Use variable DF in mindi to be able to support the ESX vdf
  • Fix mindi for Debian x86_64 where /lib64 is a link
  • Fix issue at restore time for ext2fs params not reused (Fix from Klaus Ade Johnstad <klaus_at_skolelinux.no>)
  • Do not copy udev files if they do not exist In udev case do not insert modules at all (udev should do it alone) May avoid the issue with rhel4.5 kernel ? To be tested
  • Update dependencies for rpm base build as well
  • And also perl is a debian/ubuntu dep
  • Better debian/ubuntu dependecies requirements (mtools)
  • Fix modes on mindi-bkphw (Thanks Phil Walker phil.walker_at_hp.com)
  • Complete rev [1771] for upper case RESTORE cli with syslinux as well
  • Update mindi-busybox to 1.7.3
  • Use RESTORE consistently across mondo to restore without interaction (report from Takeshi Shoji t.shoji_at_tripodw.jp)

(merge -r1769:1841 $SVN_M/branches/2.2.5)

  • Property svn:keywords set to Id
File size: 3.0 KB
Line 
1/* mondo-restore-EXT.h */
2
3#ifdef __FreeBSD__
4#define raid_device_record vinum_volume
5#endif
6
7extern bool g_sigpipe_caught;
8extern bool g_ISO_restore_mode; /* are we in Iso Mode? */
9extern bool g_I_have_just_nuked;
10extern char *g_isodir_device;
11extern char *g_isodir_format;
12
13extern char *g_biggielist_txt;
14extern char *g_filelist_full;
15extern char *g_biggielist_pot;
16extern char *g_filelist_potential;
17extern char *g_filelist_imagedevs;
18extern char *g_filelist_restthese;
19extern char *g_biggielist_restthese;
20extern char *g_imagedevs_restthese;
21extern char *g_mondo_cfg_file;
22extern char *g_mountlist_fname;
23
24
25extern void ask_about_these_imagedevs(char *, char *);
26extern int catchall_mode(struct mountlist_itself *,
27                         struct raidlist_itself *);
28extern void sort_mountlist_by_device(struct mountlist_itself *);
29extern int interactive_mode(struct mountlist_itself *,
30                            struct raidlist_itself *);
31extern int nuke_mode(struct mountlist_itself *,
32                     struct raidlist_itself *);
33extern int compare_mode(struct mountlist_itself *,
34                        struct raidlist_itself *);
35extern int iso_mode(
36                    struct mountlist_itself *mountlist,
37                    struct raidlist_itself *raidlist, bool nuke_me_please);
38extern int load_mountlist(struct mountlist_itself *, char *);
39extern int load_raidtab_into_raidlist(struct raidlist_itself *, char *);
40extern int restore_mode(struct mountlist_itself *,
41                        struct raidlist_itself *);
42extern int save_raidlist_to_raidtab(struct raidlist_itself *, char *);
43extern void process_raidtab_line(FILE *, struct raid_device_record *,
44                                 char *, char *);
45extern int restore_a_biggiefile_from_CD(long,
46                                        struct s_node *);
47extern int restore_a_biggiefile_from_stream(char *,
48                                            long, char *, long long,
49                                            struct s_node *);
50extern int restore_a_tarball_from_CD(char *, int, struct s_node *, struct s_bkpinfo *);
51extern int restore_a_tarball_from_stream(char *, int,
52                                         struct s_node *, long long);
53extern int restore_all_biggiefiles_from_CD(
54                                           struct s_node *);
55extern int restore_all_biggiefiles_from_stream(
56                                               struct s_node *);
57extern int restore_all_tarballs_from_CD(
58                                        struct s_node *);
59extern int restore_all_tarballs_from_stream(
60                                            struct s_node *);
61extern int restore_everything(struct s_node *);
62extern int restore_live_from_monitas_server(char *,
63                                            char *, char *);
64extern int restore_to_live_filesystem();
65extern void swap_mountlist_entries(struct mountlist_itself *, int, int);
66extern void sort_mountlist_by_mountpoint(struct mountlist_itself *, bool);
67extern void sort_mountlist_by_device(struct mountlist_itself *);
68extern void twenty_seconds_til_yikes(void);
69extern int run_raw_mbr(bool offer_to_hack_scripts, char *bd);
70extern int save_mountlist_to_disk(struct mountlist_itself *, char *);
71extern void save_raidrec_to_file(struct raid_device_record *raidrec,
72                                 FILE * fout);
73extern int save_raidlist_to_raidtab(struct raidlist_itself *raidlist,
74                                    char *fname);
75extern int what_number_cd_is_this();
76
77#ifdef __FreeBSD__
78#undef raid_device_record
79#endif
Note: See TracBrowser for help on using the repository browser.