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