From 0f32f1e2fca10124952ca8d83d08f56f79b669c0 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 4 Jan 2011 00:43:56 +0100 Subject: libmount: cleanup API and docs Signed-off-by: Karel Zak --- shlibs/mount/src/tab_update.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'shlibs/mount/src/tab_update.c') diff --git a/shlibs/mount/src/tab_update.c b/shlibs/mount/src/tab_update.c index 9638f47c9..cf32baf15 100644 --- a/shlibs/mount/src/tab_update.c +++ b/shlibs/mount/src/tab_update.c @@ -7,8 +7,15 @@ /** * SECTION: update - * @title: mtab (fstab) managment - * @short_description: userspace mount information management + * @title: mtab managment + * @short_description: userspace mount information management. + * + * The mnt_update provides abstraction to manage mount options in userspace independently on + * system configuration. This low-level API works on system with and without /etc/mtab. On + * systems without the regular /etc/mtab file are userspace mount options (e.g. user=) + * stored to the /dev/.mount/utab file. + * + * It's recommended to use high-level mnt_context API. */ #include @@ -770,6 +777,7 @@ static int update_modify_options(mnt_update *upd, mnt_lock *lc) /** * mnt_update_tab: + * @upd: update * @lc: lock * * High-level API to update /etc/mtab (or private /dev/.mount/utab file). -- cgit v1.2.3-55-g7522