build-sys: add pylibmount

Signed-off-by: Karel Zak <kzak@redhat.com>
pylibmount: basic code

[kzak@redhat.com: - split to more patches
                  - split to more .c files]

Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
pylibmount: add __init__.py

Signed-off-by: Karel Zak <kzak@redhat.com>
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
pylibmount: add regression tests

Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
build-sys: install pylibmount into

Signed-off-by: Karel Zak <kzak@redhat.com>
tests: consolidate Py tests initialization

Signed-off-by: Karel Zak <kzak@redhat.com>
pylibmount: coding style changes in context.c

Signed-off-by: Karel Zak <kzak@redhat.com>
pylibmount: coding style changes in fs.c

Signed-off-by: Karel Zak <kzak@redhat.com>
pylibmount: coding style changes in tab.c

Signed-off-by: Karel Zak <kzak@redhat.com>
pylibmount: cleanup object names

	Cxt -> Context
	Tab -> Table

Signed-off-by: Karel Zak <kzak@redhat.com>
pylibmount: remove bindsrc from fs API

It's unnecessary and very low-level.

Signed-off-by: Karel Zak <kzak@redhat.com>
pylibmount: fs.c - cleanup, remove libmount private stuff

 * remove unnecessary comments
 * cleanup up strings format
 * remove direct access to private libmount stuff

Signed-off-by: Karel Zak <kzak@redhat.com>
pylibmount: use mnt_fs_set_userdata() rather than ->userdata

Signed-off-by: Karel Zak <kzak@redhat.com>
pylibmount: cleanup *_HELP strings formatting

Signed-off-by: Karel Zak <kzak@redhat.com>
libmount: add mnt_table_with_comments()

Signed-off-by: Karel Zak <kzak@redhat.com>
libmount: add mnt_table_{set,get}_userdata()

Signed-off-by: Karel Zak <kzak@redhat.com>
libmount: add new function to docs

Signed-off-by: Karel Zak <kzak@redhat.com>
libmount: add mnt_table_{first,last}_fs()

Signed-off-by: Karel Zak <kzak@redhat.com>
pylibmount: use only public libmount API in tab.c

Signed-off-by: Karel Zak <kzak@redhat.com>
pylibmount: coding style changes, don't touch Context() status

It's better to follow libmnt_context status than allow to play any
nasty games with this important variables in Python.

Signed-off-by: Karel Zak <kzak@redhat.com>