Commit Graph

762 Commits

Author SHA1 Message Date
Karel Zak 2576b4e782 libmount: allow to convert /dev/loopN to backing filename
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-06-23 16:06:27 +02:00
Karel Zak 117545721a libmount: cleanup return codes in mount sample
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-06-23 15:19:37 +02:00
Karel Zak 9f7472b0b8 libmount: add support for mount -a
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-06-23 15:07:55 +02:00
Karel Zak 679f59dde2 libmount: fix fstype caching
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-06-23 12:29:00 +02:00
Karel Zak 171b0fb491 libmount: rename in cache.c
* don't use mnt_ prefix for static functions

Signed-off-by: Karel Zak <kzak@redhat.com>
2011-06-23 12:24:02 +02:00
Karel Zak 8eef6df790 libmount: clean up cache.c
* rename fields in the cache entry to be more readable...

Signed-off-by: Karel Zak <kzak@redhat.com>
2011-06-23 12:19:30 +02:00
Karel Zak e5c5abaee3 libmount: add generic function to read table for context
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-06-22 13:34:47 +02:00
Karel Zak d84508cfbd libmount: allow to set parser callback to context
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-06-21 14:58:37 +02:00
Karel Zak 0164c24595 mountpoint: add new command
This is libmount based re-implementation of the mountpoint(1) command.
The original implementation is maintained in sysvinit suite.

The mountpoint(1) in util-linux is not enabled by default (for now) --
use --enable-mountpoint to enable the util.

Signed-off-by: Karel Zak <kzak@redhat.com>
2011-06-21 11:46:36 +02:00
Karel Zak 7f8b2bf3be libmount: add mount support for loopdevs
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-06-10 15:39:56 +02:00
Karel Zak a9ae3955fe libmount: minor changes in sample program
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-06-09 22:43:51 +02:00
Karel Zak 2aefc0a8f2 build-sys: use top-level directory for libmount rather than shlibs/mount
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-06-09 21:59:52 +02:00