source: MondoRescue/branches/2.2.10/mondo/src/common/libmondo-mountlist.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: 871 bytes
Line 
1/* libmondo-mountlist.h
2 * $Id: libmondo-mountlist.h 2395 2009-09-12 00:57:02Z bruno $
3 */
4
5
6char *evaluate_mountlist(struct mountlist_itself *mountlist);
7int find_device_in_mountlist(struct mountlist_itself *mountlist,
8 char *device);
9int make_list_of_drives_in_mountlist(struct mountlist_itself *,
10 struct list_of_disks *);
11long long size_of_specific_device_in_mountlist(struct mountlist_itself
12 *mountlist, char *device);
13
14
15int load_mountlist(struct mountlist_itself *mountlist, char *fname);
16void sort_mountlist_by_device(struct mountlist_itself *mountlist);
17int save_mountlist_to_disk(struct mountlist_itself *mountlist,
18 char *fname);
19void sort_mountlist_by_mountpoint(struct mountlist_itself *mountlist,
20 bool reverse);
21void sort_mountlist_by_device(struct mountlist_itself *mountlist);
22void swap_mountlist_entries(struct mountlist_itself *mountlist, int a,
23 int b);
Note: See TracBrowser for help on using the repository browser.