diff options
author | Karel Zak | 2012-02-23 12:31:56 +0100 |
---|---|---|
committer | Karel Zak | 2012-02-23 12:31:56 +0100 |
commit | cad39614a6fbd46b1f803ad9f659e6213f562eaa (patch) | |
tree | 42b1cea26701c6ccada1cda807ce5e27e1994ccb /libmount/src/context.c | |
parent | docs: add note about mount(8) options to TODO (diff) | |
download | kernel-qcow2-util-linux-cad39614a6fbd46b1f803ad9f659e6213f562eaa.tar.gz kernel-qcow2-util-linux-cad39614a6fbd46b1f803ad9f659e6213f562eaa.tar.xz kernel-qcow2-util-linux-cad39614a6fbd46b1f803ad9f659e6213f562eaa.zip |
libmount: clean up context docs
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/context.c')
-rw-r--r-- | libmount/src/context.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libmount/src/context.c b/libmount/src/context.c index f526d29bf..1f3029202 100644 --- a/libmount/src/context.c +++ b/libmount/src/context.c @@ -228,17 +228,23 @@ int mnt_context_is_restricted(struct libmnt_context *cxt) * Controls how to use mount optionsmsource and target paths from fstab/mtab. * * @MNT_OMODE_IGNORE: ignore mtab/fstab options + * * @MNT_OMODE_APPEND: append mtab/fstab options to existing options + * * @MNT_OMODE_PREPEND: prepend mtab/fstab options to existing options + * * @MNT_OMODE_REPLACE: replace existing options with options from mtab/fstab * * @MNT_OMODE_FORCE: always read mtab/fstab (although source and target is defined) * * @MNT_OMODE_FSTAB: read from fstab + * * @MNT_OMODE_MTAB: read from mtab if fstab not enabled or failed + * * @MNT_OMODE_NOTAB: do not read fstab/mtab at all * * @MNT_OMODE_AUTO: default mode (MNT_OMODE_PREPEND | MNT_OMODE_FSTAB | MNT_OMODE_MTAB) + * * @MNT_OMODE_USER: default for non-root users (MNT_OMODE_REPLACE | MNT_OMODE_FORCE | MNT_OMODE_FSTAB) * * Notes: |