source: MondoRescue/branches/2.2.10/mondo/src/common/libmondo-mountlist-EXT.h@ 2407

Last change on this file since 2407 was 2395, checked in by Bruno Cornec, 15 years ago
  • Fix interface of evaluate_mountlist (remove 2nd param useless) and fix nuke mode which wasn't working.
  • Tries to add support for bzip2 and lzma initramfs (preliminary, not tested) for 2.6.30

(Backport from 2.2.9)

  • Property svn:keywords set to Id
File size: 976 bytes
Line 
1/* libmondo-mountlist-EXT.h */
2
3extern char *evaluate_mountlist(struct mountlist_itself *mountlist);
4extern int find_device_in_mountlist(struct mountlist_itself *mountlist,
5 char *device);
6extern int make_list_of_drives_in_mountlist(struct mountlist_itself *,
7 struct list_of_disks *);
8extern long long size_of_specific_device_in_mountlist(struct
9 mountlist_itself
10 *mountlist,
11 char *device);
12
13
14
15
16extern int load_mountlist(struct mountlist_itself *mountlist, char *fname);
17extern void sort_mountlist_by_device(struct mountlist_itself *mountlist);
18extern int save_mountlist_to_disk(struct mountlist_itself *mountlist,
19 char *fname);
20extern void sort_mountlist_by_mountpoint(struct mountlist_itself
21 *mountlist, bool reverse);
22extern void sort_mountlist_by_device(struct mountlist_itself *mountlist);
23extern void swap_mountlist_entries(struct mountlist_itself *mountlist,
24 int a, int b);
Note: See TracBrowser for help on using the repository browser.