Last change
on this file since 2623 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
|
Rev | Line | |
---|
[1] | 1 | /* libmondo-mountlist-EXT.h */
|
---|
| 2 |
|
---|
[2395] | 3 | extern char *evaluate_mountlist(struct mountlist_itself *mountlist);
|
---|
[128] | 4 | extern int find_device_in_mountlist(struct mountlist_itself *mountlist,
|
---|
| 5 | char *device);
|
---|
| 6 | extern int make_list_of_drives_in_mountlist(struct mountlist_itself *,
|
---|
| 7 | struct list_of_disks *);
|
---|
| 8 | extern long long size_of_specific_device_in_mountlist(struct
|
---|
| 9 | mountlist_itself
|
---|
| 10 | *mountlist,
|
---|
| 11 | char *device);
|
---|
[1] | 12 |
|
---|
| 13 |
|
---|
| 14 |
|
---|
| 15 |
|
---|
[128] | 16 | extern int load_mountlist(struct mountlist_itself *mountlist, char *fname);
|
---|
| 17 | extern void sort_mountlist_by_device(struct mountlist_itself *mountlist);
|
---|
| 18 | extern int save_mountlist_to_disk(struct mountlist_itself *mountlist,
|
---|
| 19 | char *fname);
|
---|
| 20 | extern void sort_mountlist_by_mountpoint(struct mountlist_itself
|
---|
| 21 | *mountlist, bool reverse);
|
---|
| 22 | extern void sort_mountlist_by_device(struct mountlist_itself *mountlist);
|
---|
| 23 | extern void swap_mountlist_entries(struct mountlist_itself *mountlist,
|
---|
| 24 | int a, int b);
|
---|
Note:
See
TracBrowser
for help on using the repository browser.