summaryrefslogtreecommitdiff
path: root/libmount/docs
AgeCommit message (Collapse)AuthorFilesLines
2013-12-11libmount: add mnt_table_uniq_fs()Karel Zak1-0/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-11-19libmount: add mnt_tag_is_valid()Karel Zak1-0/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-09-27libmount: update docsKarel Zak1-3/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-08-21libmount: add reference counter to libmnt_tableKarel Zak1-0/+2
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-08-21libmount: add reference counting to libmnt_cacheKarel Zak1-0/+2
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-08-21libmount: add reference counting to libmount_fsKarel Zak1-0/+2
* mnt_new_fs() returns object with refcount=1 * mnt_free_fs() does not care about reference counter * new functions mnt_ref_fs() and mnt_unref_fs() * mnt_table_add_fs() and mnt_table_rem_fs() uses reference counter * libmmnt_context uses reference counter for internal FS (as it could be shared outside the context) * backwardly incompatible change: - FS could be deallocated after mnt_table_remove_fs() * it's recommended to use mnt_unref_fs() after mnt_table_add_fs() Signed-off-by: Karel Zak <kzak@redhat.com>
2013-08-21libmount: add function for context userdataKarel Zak1-0/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-08-20libmount: add mnt_table_is_empty(), improve table list usageKarel Zak1-0/+1
Currently you have to use mnt_table_remove_fs() + mnt_free_fs() to destroy the list in the table. This is complicated in same situations. This patch allows to use mnt_free_fs() only. Signed-off-by: Karel Zak <kzak@redhat.com>
2013-08-20libmount: add mnt_table_{first,last}_fs()Karel Zak1-0/+2
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-08-20libmount: add new function to docsKarel Zak1-0/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-08-01libmount: add missing declarations to libmount.h.in and documentationOndrej Oprala1-0/+12
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
2013-03-25libmount: add mnt_table_find_mountpoint()Karel Zak1-0/+1
This is more robust implementation of mnt_get_mountpoint() that does not ignore bind mountpoints (mount --bind /mnt /mnt) as it does not depend on st_dev numbers. Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-15docs: update yearKarel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-15libmount: clean up header fileKarel Zak1-0/+11
* don't teach people C by header files, so use warn_unused_result attribute only on places where we return allocated memory (to avoid leaks in applications). * merge multiple function attributes to the one list to make it usable with gtk-doc Signed-off-by: Karel Zak <kzak@redhat.com>
2013-01-10libmount: add mnt_fs_get_propagation()Karel Zak1-0/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-01-10libmount: read optional mountinfo fieldsOndrej Oprala1-0/+1
[kzak@redhat.com: - rename struct member and functions from "propagation" to "optional fields" - split the original patch - fix parser] Signed-off-by: Ondrej Oprala <ondrej.oprala@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
2012-08-01libmount: add mnt_optstr_deduplicate_option()Karel Zak1-0/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-17libmount: allow to disable swap between source and targetKarel Zak1-1/+3
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>
2012-07-12libmount: rename mnt_context_fstab_applied to mnt_context_tab_appliedKarel Zak1-1/+1
The function is also usable in umount to detect is mtab has been applied. Signed-off-by: Karel Zak <kzak@redhat.com>
2012-06-26build-sys: enable libmount and libblkid docsKarel Zak1-10/+2
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-04-25libmount: add mnt_table_find_devno()Karel Zak1-0/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-04-18libmount: add mnt_context_get_options()Karel Zak1-1/+2
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-04-17libmount: add mnt_context_fstab_applied()Karel Zak1-0/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-04-03libmount: add support to parse /proc/swapsKarel Zak1-1/+7
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-03-07libmount: cleanup flags usageKarel Zak1-0/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-03-02libmount: add mnt_fs_streq_target() and export all mnt_fs_streq_*Karel Zak1-1/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-22docs: update copyright yearsKarel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-22libmount: cleanup docsKarel Zak1-2/+19
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-22libmount: remove teaser proto for mnt_table_get_nameDave Reisner1-1/+0
This function was never implemented, but the proto has existed since the inception of the library. As the libmnt_table struct doesn't include a member necessary to carry the name of the table, simply discard this prototype. If ever a need to break ABI comes up, perhaps this could be revisited. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-07-28build-sys: remove and ignore generated filesKarel Zak2-0/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-07-27build-sys: fix gtk-doc distcleanKarel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-07-25libmount: clean up docsKarel Zak1-12/+54
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-07-23libmount: cleanup docsKarel Zak3-124/+166
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-06-09build-sys: use top-level directory for libmount rather than shlibs/mountKarel Zak6-0/+408
Signed-off-by: Karel Zak <kzak@redhat.com>