source: branches/2.04_berlios/mondo/mondo/common/libmondo-mountlist.h @ 2708

Last change on this file since 2708 was 2708, checked in by bruno, 9 years ago

r4184@localhost: bruno | 2011-01-27 15:52:51 +0100

  • Adds support for hpsa driver (new HP Smart Array driver)
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1/* libmondo-mountlist.h
2 * $Id: libmondo-mountlist.h 2708 2011-01-27 18:31:44Z bruno $
3 */
4
5
6int evaluate_drive_within_mountlist (struct mountlist_itself *mountlist,
7                 char *drive, char *flaws_str);
8int evaluate_mountlist (struct mountlist_itself *mountlist, char *flaws_str_A,
9            char *flaws_str_B, char *flaws_str_C);
10int find_device_in_mountlist (struct mountlist_itself *mountlist, char *device);
11int look_for_duplicate_mountpoints (struct mountlist_itself *mountlist, char *flaws_str);
12int look_for_weird_formats (struct mountlist_itself *mountlist, char *flaws_str);
13int make_list_of_drives_in_mountlist(struct mountlist_itself*, struct list_of_disks*);
14long long size_of_specific_device_in_mountlist (struct mountlist_itself *mountlist, char *device);
15
16
17int load_mountlist( struct mountlist_itself *mountlist, char *fname);
18void sort_mountlist_by_device( struct mountlist_itself *mountlist);
19int save_mountlist_to_disk(struct mountlist_itself *mountlist, char *fname);
20void sort_mountlist_by_mountpoint(struct mountlist_itself *mountlist, bool reverse);
21void  sort_mountlist_by_device( struct mountlist_itself *mountlist);
22void swap_mountlist_entries(struct mountlist_itself *mountlist, int a, int b);
23
Note: See TracBrowser for help on using the repository browser.