summaryrefslogtreecommitdiffstats
path: root/libmount/src/mountP.h
Commit message (Collapse)AuthorAgeFilesLines
...
* libmount: allow to disable swap between source and targetKarel Zak2012-07-171-0/+1
| | | | | | | | | | | | | | | | | | | | | 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>
* libmount: save task ID for mountinfo tilesKarel Zak2012-06-281-0/+1
| | | | | | Add new function mnt_fs_get_tid() to get task ID for the given filesystem. Signed-off-by: Karel Zak <kzak@redhat.com>
* build: fix redundant redeclaration warningsSami Kerola2012-06-111-2/+0Star
| | | | | | | | | | | | | | | | | | | | | | | | | env.c:24:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] su.c:81:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls] fstab.c:581:14: warning: redundant redeclaration of 'strsignal' [-Wredundant-decls] kill.h:1:13: note: previous declaration of 'get_pids' was here kill.c:152:13: warning: redundant redeclaration of 'get_pids' [-Wredundant-decls] kill.c:142:5: warning: redundant redeclaration of 'main' [-Wredundant-decls] getopt.c:89:5: warning: redundant redeclaration of 'main' [-Wredundant-decls] agetty.c:536:15: warning: redundant redeclaration of 'optarg' [-Wredundant-decls] agetty.c:537:13: warning: redundant redeclaration of 'optind' [-Wredundant-decls] script.c:161:13: warning: redundant redeclaration of 'optind' [-Wredundant-decls] wall.c:96:13: warning: redundant redeclaration of 'optind' [-Wredundant-decls] libmount.h:362:26: note: previous declaration of 'mnt_update_get_fs' was here libmount.h:454:26: note: previous declaration of 'mnt_context_get_fs' was here mountP.h:383:26: warning: redundant redeclaration of 'mnt_context_get_fs' [-Wredundant-decls] mountP.h:398:26: warning: redundant redeclaration of 'mnt_update_get_fs' [-Wredundant-decls] Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* libmount: expose mnt_get_mountpoint as external APIDave Reisner2012-04-261-1/+0Star
|
* libmount: add support to parse /proc/swapsKarel Zak2012-04-031-2/+9
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add mnt_fs_streq_target() and export all mnt_fs_streq_*Karel Zak2012-03-021-1/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add mnt_fs_streq_srcpath()Karel Zak2012-03-021-0/+1
| | | | | | | | | | We have to be careful with "none" or another dummy sources for pseudo filesystems. These strings should be canonicalized or compared as a paths. The function is not exported by library API. Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: remove fstab.d supportKarel Zak2012-01-241-1/+1
| | | | | | | | If you really need to store your configuration to a alternative files then you have to explicitly specify the files or directories on mount(8) command line by --fstab option. Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add post-mount checks to detect ro/rwKarel Zak2012-01-161-0/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: allow to toggle ro/rw and mount againKarel Zak2012-01-131-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add support for encrypted loopdevsKarel Zak2012-01-111-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: consolidate MNT_FS_* codeKarel Zak2012-01-021-3/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add support for mount -a --forkKarel Zak2011-12-021-2/+14
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: use loopdev debug facilityKarel Zak2011-09-291-4/+11
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add function to parse offsets/sizesKarel Zak2011-09-291-0/+2
|
* libmount: remove unnecessary includes, mask API as stableKarel Zak2011-07-251-5/+7
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: allow to set parser callback to contextKarel Zak2011-06-211-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add mount support for loopdevsKarel Zak2011-06-101-0/+7
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: use top-level directory for libmount rather than shlibs/mountKarel Zak2011-06-091-0/+357
Signed-off-by: Karel Zak <kzak@redhat.com>