-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdesign
51 lines (37 loc) · 1.7 KB
/
design
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
- Works for multiple interface types (text, curses, X, Web easily)
- Works with conf files a la pb
- Works with plugins for Boot Loader, Disks layout and types, Virtual disk layer, Real disk layer
- Works with different fstab contents
- Works with multiple network backend
- Works with multiple device target (real, virtual)
- Works for cloning as for DR
- Works in chroot/live CD/live system
Name of commands:
mrarchive: tool to create MondoRescue archives
mrrestore: tool to create MondoRescue restore
mrmini: tool to create MondoRescue mini distribution
mrmini design:
Goal is to create a bootable env contaning everything suited for DR/Cloning from the running system
It should
- Initialize all what is needed (tmp dir, UI, syntax, ...)
- get parameters from user bsed on conf file opions
- get the boot loader info
= Thee steps should be isolated in a lower stack (MondoRescue::Inventory) to be usable elsewhere
- get all the FW info (when available)
- get all the HW disk info (including Raid controllers)
- get all the SW disk info (partitions)
- get all logical layer info (LVM, EVMS, ...)
- get all the FS layer info (deal with UUID/LABELS/...)
- get kernel info (keep failsafe support)
- deal with mandatory devices (kbd, USB CD, ...)
- get all the mandatory tools needed + deps
- create initrd/initramfs/... suited
- get device driver support info (udev/devfs/...)
- get the right list of dev. drivers
- get target boot device details
- generate target boot files/info (conf file format)
- optional generate boot media
- manages mondoarchive interface
- Interface can be dialog based + a static text window which contains a log of actions done and running
Mondoarchive design
Mondorestore design