From e39cbb76033e689093da42453839afa9c8d4c8e5 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 17 Jul 2012 21:57:22 +0200 Subject: 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 --- libmount/docs/libmount-sections.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libmount/docs') 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 -- cgit v1.2.3-55-g7522