| Top |  |  |  |  | 
| Compare changes in mount tablesCompare changes in mount tables — compare changes in the list of the mounted filesystems | 
| struct libmnt_tabdiff * | mnt_new_tabdiff () | 
| void | mnt_free_tabdiff () | 
| int | mnt_tabdiff_next_change () | 
| int | mnt_diff_tables () | 
struct libmnt_tabdiff *
mnt_new_tabdiff (void);
Allocates a new table diff struct.
void
mnt_free_tabdiff (struct libmnt_tabdiff *df);
Deallocates tab diff struct and all entries.
int mnt_tabdiff_next_change (struct libmnt_tabdiff *df,struct libmnt_iter *itr,struct libmnt_fs **old_fs,struct libmnt_fs **new_fs,int *oper);
The options old_fs
, new_fs
 and oper
 are optional.
int mnt_diff_tables (struct libmnt_tabdiff *df,struct libmnt_table *old_tab,struct libmnt_table *new_tab);
Compares old_tab
 and new_tab
, the result is stored in df
 and accessible by
mnt_tabdiff_next_change().