summaryrefslogtreecommitdiffstats
path: root/libmount/docs
diff options
context:
space:
mode:
authorKarel Zak2012-07-17 21:57:22 +0200
committerKarel Zak2012-07-17 21:57:22 +0200
commite39cbb76033e689093da42453839afa9c8d4c8e5 (patch)
treebaaddf234aae42639032f2437a3732aa78bbdad3 /libmount/docs
parentdocs: update TODO file (diff)
downloadkernel-qcow2-util-linux-e39cbb76033e689093da42453839afa9c8d4c8e5.tar.gz
kernel-qcow2-util-linux-e39cbb76033e689093da42453839afa9c8d4c8e5.tar.xz
kernel-qcow2-util-linux-e39cbb76033e689093da42453839afa9c8d4c8e5.zip
libmount: allow to disable swap between source and target
In some cases (for example if only one mount argument is given) may be mount request ambivalent: # mount /foo and fstab: /dev/sda5 /foo rw 0 0 /foo /bar bind 0 0 The libmount allows to swap between source and target (if source is not LABEL or UUID) by default. The new function mnt_context_disable_swapmatch() allows to disable this feature. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/docs')
-rw-r--r--libmount/docs/libmount-sections.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/libmount/docs/libmount-sections.txt b/libmount/docs/libmount-sections.txt
index e9a6dce72..dc6aeabf5 100644
--- a/libmount/docs/libmount-sections.txt
+++ b/libmount/docs/libmount-sections.txt
@@ -24,6 +24,7 @@ mnt_context_apply_fstab
mnt_context_disable_canonicalize
mnt_context_disable_helpers
mnt_context_disable_mtab
+mnt_context_disable_swapmatch
mnt_context_enable_fake
mnt_context_enable_force
mnt_context_enable_fork
@@ -32,7 +33,6 @@ mnt_context_enable_loopdel
mnt_context_enable_rdonly_umount
mnt_context_enable_sloppy
mnt_context_enable_verbose
-mnt_context_tab_applied
mnt_context_get_cache
mnt_context_get_fs
mnt_context_get_fstab
@@ -66,6 +66,7 @@ mnt_context_is_parent
mnt_context_is_rdonly_umount
mnt_context_is_restricted
mnt_context_is_sloppy
+mnt_context_is_swapmatch
mnt_context_is_verbose
mnt_context_reset_status
mnt_context_set_cache
@@ -86,6 +87,7 @@ mnt_context_set_target
mnt_context_set_user_mflags
mnt_context_strerror
mnt_context_syscall_called
+mnt_context_tab_applied
mnt_context_wait_for_children
</SECTION>