source: MondoRescue/branches/stable/mondo/src/common/libmondo-mountlist-EXT.h@ 1344

Last change on this file since 1344 was 1297, checked in by Bruno Cornec, 17 years ago
  • evaluate_drive_within_mountlist is a private function
  • support UUID in mondorestore (Fix for #103)
  • Fix a bug in size computation for cciss and similar devices needing a p before their partition name
  • Fix 2 references to grep -x which are not working during a restore process due to busybox limits of grep command (Fix for #96)
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1/* libmondo-mountlist-EXT.h */
2
3extern int evaluate_mountlist(struct mountlist_itself *mountlist,
4 char *flaws_str_A, char *flaws_str_B,
5 char *flaws_str_C);
6extern int find_device_in_mountlist(struct mountlist_itself *mountlist,
7 char *device);
8extern int look_for_duplicate_mountpoints(struct mountlist_itself
9 *mountlist, char *flaws_str);
10extern int look_for_weird_formats(struct mountlist_itself *mountlist,
11 char *flaws_str);
12extern int make_list_of_drives_in_mountlist(struct mountlist_itself *,
13 struct list_of_disks *);
14extern long long size_of_specific_device_in_mountlist(struct
15 mountlist_itself
16 *mountlist,
17 char *device);
18
19
20
21
22extern int load_mountlist(struct mountlist_itself *mountlist, char *fname);
23extern void sort_mountlist_by_device(struct mountlist_itself *mountlist);
24extern int save_mountlist_to_disk(struct mountlist_itself *mountlist,
25 char *fname);
26extern void sort_mountlist_by_mountpoint(struct mountlist_itself
27 *mountlist, bool reverse);
28extern void sort_mountlist_by_device(struct mountlist_itself *mountlist);
29extern void swap_mountlist_entries(struct mountlist_itself *mountlist,
30 int a, int b);
Note: See TracBrowser for help on using the repository browser.