]> err.no Git - util-linux/log
util-linux
13 years agomount: canonicalize paths in HAVE_LIBMOUNT_MOUNT code
Karel Zak [Mon, 10 Jan 2011 11:43:32 +0000 (12:43 +0100)]
mount: canonicalize paths in HAVE_LIBMOUNT_MOUNT code

Reported-by: silvan minghetti <bu1137@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolsblk: use "RM" for removable
Karel Zak [Mon, 10 Jan 2011 10:18:51 +0000 (11:18 +0100)]
lsblk: use "RM" for removable

Suggested by Przemoc <noreply-comment@blogger.com> at my blog.

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agounshare: fix SIGSEGV on invalid command line option
Alexey Gladkov [Wed, 5 Jan 2011 18:22:51 +0000 (21:22 +0300)]
unshare: fix SIGSEGV on invalid command line option

$ unshare --hel
Segmentation fault

The last element of longopts has to be filled with zeros.

Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
13 years agofdisk: re-print prompt after maybe_exit()
Karel Zak [Wed, 5 Jan 2011 15:50:47 +0000 (16:50 +0100)]
fdisk: re-print prompt after maybe_exit()

after
Do you really want to quit? n

the read_chars() has to re-print the original prompt and ask again
for new input. For example:

Partition number (1-4, default 3):               <-- CTRL-D
Do you really want to quit? n
Partition number (1-4, default 3): 3             <-- ask again
First sector (411648-1023999, default 411648):

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agoinclude: add fallback for rpmatch()
Francesco Cosoleto [Sun, 2 Jan 2011 21:58:13 +0000 (22:58 +0100)]
include: add fallback for rpmatch()

Simple replacement code with hardcoded y/n responses to allow
compilation on systems without rpmatch() such as Cygwin.

Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agofdisk: quit with a single CTRL-D, confirm if necessary
Francesco Cosoleto [Sun, 2 Jan 2011 21:58:12 +0000 (22:58 +0100)]
fdisk: quit with a single CTRL-D, confirm if necessary

Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
13 years agobuild-sys: release++ (v2.19-rc1)
Karel Zak [Wed, 5 Jan 2011 12:41:44 +0000 (13:41 +0100)]
build-sys: release++ (v2.19-rc1)

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agobuild-sys: ignore generated ltmain.sh
Karel Zak [Wed, 5 Jan 2011 12:39:35 +0000 (13:39 +0100)]
build-sys: ignore generated ltmain.sh

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agodocs: update v2.19 ReleaseNotes
Karel Zak [Wed, 5 Jan 2011 12:26:38 +0000 (13:26 +0100)]
docs: update v2.19 ReleaseNotes

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agobuild-sys: use generated libtool-2 stuff
Karel Zak [Wed, 5 Jan 2011 12:17:12 +0000 (13:17 +0100)]
build-sys: use generated libtool-2 stuff

The commit 60a4edd66200be829560dce0d41a02fc70cef4f5 temporary disabled
libtool-2 in autogen.sh. It seems that libtool-2 in available in
many distributions now, so we don't have to manage the generated .m4
libtool files in git anymore.

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agopo: refresh gl and zh_TW
Karel Zak [Wed, 5 Jan 2011 12:05:18 +0000 (13:05 +0100)]
po: refresh gl and zh_TW

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agobuild-sys: cleanup autogen.sh
Karel Zak [Wed, 5 Jan 2011 11:49:05 +0000 (12:49 +0100)]
build-sys: cleanup autogen.sh

Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agodocs: correct spelling mistakes in DEPRECATED file
Jon Grant [Sat, 1 Jan 2011 17:21:46 +0000 (17:21 +0000)]
docs: correct spelling mistakes in DEPRECATED file

Signed-off-by: Jon Grant <jg@jguk.org>
13 years agodocs: add v2.19 ReleaseNotes
Karel Zak [Tue, 4 Jan 2011 23:41:00 +0000 (00:41 +0100)]
docs: add v2.19 ReleaseNotes

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agodocs: update AUTHORS file
Karel Zak [Tue, 4 Jan 2011 22:07:28 +0000 (23:07 +0100)]
docs: update AUTHORS file

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agopo: merge changes
Karel Zak [Tue, 4 Jan 2011 21:57:58 +0000 (22:57 +0100)]
po: merge changes

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agopo: add zh_TW.po (from translationproject.org)
Wei-Lun Chao [Tue, 4 Jan 2011 21:48:06 +0000 (22:48 +0100)]
po: add zh_TW.po (from translationproject.org)

13 years agopo: add gl.po (from translationproject.org)
Fran Diéguez [Tue, 4 Jan 2011 21:48:06 +0000 (22:48 +0100)]
po: add gl.po (from translationproject.org)

13 years agopo: update vi.po (from translationproject.org)
Clytie Siddall [Tue, 4 Jan 2011 21:48:05 +0000 (22:48 +0100)]
po: update vi.po (from translationproject.org)

13 years agopo: update pl.po (from translationproject.org)
Jakub Bogusz [Tue, 4 Jan 2011 21:48:05 +0000 (22:48 +0100)]
po: update pl.po (from translationproject.org)

13 years agopo: update nl.po (from translationproject.org)
Benno Schulenberg [Tue, 4 Jan 2011 21:48:05 +0000 (22:48 +0100)]
po: update nl.po (from translationproject.org)

13 years agopo: update ja.po (from translationproject.org)
Makoto Kato [Tue, 4 Jan 2011 21:48:05 +0000 (22:48 +0100)]
po: update ja.po (from translationproject.org)

13 years agopo: update hu.po (from translationproject.org)
Gabor Kelemen [Tue, 4 Jan 2011 21:48:05 +0000 (22:48 +0100)]
po: update hu.po (from translationproject.org)

13 years agopo: update fr.po (from translationproject.org)
Milan Bouchet-Valat [Tue, 4 Jan 2011 21:48:05 +0000 (22:48 +0100)]
po: update fr.po (from translationproject.org)

13 years agoremove duplicate includes
Karel Zak [Tue, 4 Jan 2011 21:36:09 +0000 (22:36 +0100)]
remove duplicate includes

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agoagetty: use ignore_result() or write(1, ...)
Karel Zak [Tue, 4 Jan 2011 20:35:15 +0000 (21:35 +0100)]
agetty: use ignore_result() or write(1, ...)

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolib: [c] add ignore_result()
Karel Zak [Tue, 4 Jan 2011 20:34:45 +0000 (21:34 +0100)]
lib: [c] add ignore_result()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agodocs: fix typos in man pages
Karel Zak [Tue, 4 Jan 2011 19:15:51 +0000 (20:15 +0100)]
docs: fix typos in man pages

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=664458
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=664294
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=664182
Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agofindmnt: add --submounts option
Karel Zak [Tue, 4 Jan 2011 13:01:33 +0000 (14:01 +0100)]
findmnt: add --submounts option

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: cleanup API and docs
Karel Zak [Mon, 3 Jan 2011 23:43:56 +0000 (00:43 +0100)]
libmount: cleanup API and docs

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agomount: use verbose info for HAVE_LIBMOUNT_MOUNT only
Karel Zak [Mon, 3 Jan 2011 10:01:42 +0000 (11:01 +0100)]
mount: use verbose  info for HAVE_LIBMOUNT_MOUNT only

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agotests: use findmnt(8) for remount test
Karel Zak [Sun, 2 Jan 2011 22:04:47 +0000 (23:04 +0100)]
tests: use findmnt(8) for remount test

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agotests: use findmnt(8) for mount --move test
Karel Zak [Sun, 2 Jan 2011 21:56:31 +0000 (22:56 +0100)]
tests: use findmnt(8) for mount --move test

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agomount: improve verbose info
Karel Zak [Sun, 2 Jan 2011 21:55:37 +0000 (22:55 +0100)]
mount: improve verbose info

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: fix tab_update test program
Karel Zak [Sat, 1 Jan 2011 23:31:16 +0000 (00:31 +0100)]
libmount: fix tab_update test program

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agotests: refresh libmount fstab parser tests
Karel Zak [Sat, 1 Jan 2011 23:12:11 +0000 (00:12 +0100)]
tests: refresh libmount fstab parser tests

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agotests: fix strtosize() test
Karel Zak [Sat, 1 Jan 2011 21:45:29 +0000 (22:45 +0100)]
tests: fix strtosize() test

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agofindmnt: add MAJ:MIN
Karel Zak [Mon, 27 Dec 2010 21:12:55 +0000 (22:12 +0100)]
findmnt: add MAJ:MIN

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibblkid: support LIBBLKID_DEBUG= env.
Karel Zak [Fri, 24 Dec 2010 00:10:42 +0000 (01:10 +0100)]
libblkid: support LIBBLKID_DEBUG= env.

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolib: [env] consolidate safe_getenv() usage
Karel Zak [Fri, 24 Dec 2010 00:07:48 +0000 (01:07 +0100)]
lib: [env] consolidate safe_getenv() usage

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: cleanup mount.sym
Karel Zak [Thu, 23 Dec 2010 22:52:45 +0000 (23:52 +0100)]
libmount: cleanup mount.sym

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: cleanup lock API
Karel Zak [Thu, 23 Dec 2010 22:23:36 +0000 (23:23 +0100)]
libmount: cleanup lock API

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: cleanup context API
Karel Zak [Thu, 23 Dec 2010 22:15:58 +0000 (23:15 +0100)]
libmount: cleanup context API

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: don't export some cache.c files
Karel Zak [Thu, 23 Dec 2010 21:59:09 +0000 (22:59 +0100)]
libmount: don't export some cache.c files

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: better work with mtab options
Karel Zak [Wed, 22 Dec 2010 12:15:04 +0000 (13:15 +0100)]
libmount: better work with mtab options

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agotests: check for mtab
Karel Zak [Wed, 22 Dec 2010 12:13:45 +0000 (13:13 +0100)]
tests: check for mtab

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agoumount: add HAVE_LIBMOUNT_MOUNT code
Karel Zak [Wed, 22 Dec 2010 12:12:57 +0000 (13:12 +0100)]
umount: add HAVE_LIBMOUNT_MOUNT code

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agomount: rewrite HAVE_LIBMOUNT_MOUNT code
Karel Zak [Wed, 22 Dec 2010 12:12:42 +0000 (13:12 +0100)]
mount: rewrite HAVE_LIBMOUNT_MOUNT code

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agomount: add mnt_init_debug()
Karel Zak [Tue, 21 Dec 2010 08:55:25 +0000 (09:55 +0100)]
mount: add mnt_init_debug()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: don't use NULL pointer in mntenv
Karel Zak [Tue, 21 Dec 2010 08:54:52 +0000 (09:54 +0100)]
libmount: don't use NULL pointer in mntenv

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolosetup: remove unnecessary fstab.h include
Karel Zak [Tue, 21 Dec 2010 08:29:13 +0000 (09:29 +0100)]
losetup: remove unnecessary fstab.h include

The file is necessary for mount(8) only and should not be used in
the generic sundries.c. utils.

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agomount: use libmount for mtab/utab updates
Karel Zak [Sun, 19 Dec 2010 20:22:51 +0000 (21:22 +0100)]
mount: use libmount for mtab/utab updates

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: fix mount.h includes
Karel Zak [Sun, 19 Dec 2010 20:20:44 +0000 (21:20 +0100)]
libmount: fix mount.h includes

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: clean mnt_update_* target usage
Karel Zak [Sat, 18 Dec 2010 00:08:25 +0000 (01:08 +0100)]
libmount: clean mnt_update_* target usage

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: cleanup MS_RDONLY usageand mnt_update_* symbols
Karel Zak [Fri, 17 Dec 2010 16:46:24 +0000 (17:46 +0100)]
libmount: cleanup MS_RDONLY usageand mnt_update_* symbols

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agotests: add libmount utab tests
Karel Zak [Wed, 15 Dec 2010 15:26:23 +0000 (16:26 +0100)]
tests: add libmount utab tests

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: minor fixes
Karel Zak [Wed, 15 Dec 2010 14:06:42 +0000 (15:06 +0100)]
libmount: minor fixes

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agofindmnt: use new libmount functions
Karel Zak [Wed, 15 Dec 2010 14:06:25 +0000 (15:06 +0100)]
findmnt: use new libmount functions

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: use separate buffer for userspace options, add mount attributes
Karel Zak [Tue, 14 Dec 2010 22:50:55 +0000 (23:50 +0100)]
libmount: use separate buffer for userspace options, add mount attributes

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agomount: read mtab by libmount
Karel Zak [Mon, 6 Dec 2010 23:16:47 +0000 (00:16 +0100)]
mount: read mtab by libmount

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agobuild-sys: add --enable-libmount-mount
Karel Zak [Mon, 6 Dec 2010 23:16:07 +0000 (00:16 +0100)]
build-sys: add --enable-libmount-mount

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: add mntent.h compatible stuff
Karel Zak [Mon, 6 Dec 2010 23:09:40 +0000 (00:09 +0100)]
libmount: add mntent.h compatible stuff

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: cleanup mangle() usage
Karel Zak [Mon, 6 Dec 2010 23:08:11 +0000 (00:08 +0100)]
libmount: cleanup mangle() usage

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: minor fixes in cache.c
Karel Zak [Mon, 6 Dec 2010 10:47:20 +0000 (11:47 +0100)]
libmount: minor fixes in cache.c

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: remove utab from API, update tests
Karel Zak [Fri, 3 Dec 2010 20:13:52 +0000 (21:13 +0100)]
libmount: remove utab from API, update tests

The utab file is private libmount stuff. Anything about utab should
not be exported by library API.

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: fix to work with btrfs subvolume user mounts
Karel Zak [Fri, 26 Nov 2010 13:33:29 +0000 (14:33 +0100)]
libmount: fix to work with btrfs subvolume user mounts

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: use better format for utab, improve bind mounts
Karel Zak [Thu, 25 Nov 2010 22:22:53 +0000 (23:22 +0100)]
libmount: use better format for utab, improve bind mounts

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: fix utab file and dir modes, add new debug messages
Karel Zak [Tue, 23 Nov 2010 19:39:55 +0000 (20:39 +0100)]
libmount: fix utab file and dir modes, add new debug messages

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agotests: improve libmount context mount and umount test
Karel Zak [Tue, 23 Nov 2010 12:06:46 +0000 (13:06 +0100)]
tests: improve libmount context mount and umount test

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: add new debug messages, fix umount return code
Karel Zak [Tue, 23 Nov 2010 11:21:12 +0000 (12:21 +0100)]
libmount: add new debug messages, fix umount return code

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agofindmnt: fix exit code
Karel Zak [Mon, 22 Nov 2010 23:26:49 +0000 (00:26 +0100)]
findmnt: fix exit code

... returns 1 if nothing printed.

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agofindmnt: use new tab parsing API
Karel Zak [Mon, 22 Nov 2010 22:21:53 +0000 (23:21 +0100)]
findmnt: use new tab parsing API

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: fix context mount test
Karel Zak [Mon, 22 Nov 2010 22:15:54 +0000 (23:15 +0100)]
libmount: fix context mount test

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agotests: add basic libmount tests for mounting
Karel Zak [Mon, 22 Nov 2010 22:15:00 +0000 (23:15 +0100)]
tests: add basic libmount tests for mounting

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: fix mnt_optstr_remove_option_at()
Karel Zak [Fri, 19 Nov 2010 12:15:19 +0000 (13:15 +0100)]
libmount: fix mnt_optstr_remove_option_at()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: support /{proc,etc}/filesystems
Karel Zak [Wed, 10 Nov 2010 00:25:07 +0000 (01:25 +0100)]
libmount: support /{proc,etc}/filesystems

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agotests: add utab update tests
Karel Zak [Mon, 8 Nov 2010 11:22:01 +0000 (12:22 +0100)]
tests: add utab update tests

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: add debug messages and fix typos in tab_update
Karel Zak [Mon, 8 Nov 2010 11:21:41 +0000 (12:21 +0100)]
libmount: add debug messages and fix typos in tab_update

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: rewrite update
Karel Zak [Mon, 8 Nov 2010 10:14:44 +0000 (11:14 +0100)]
libmount: rewrite update

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: fix Makefile and tests
Karel Zak [Mon, 8 Nov 2010 10:12:35 +0000 (11:12 +0100)]
libmount: fix Makefile and tests

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: improve function for work with mtab paths
Karel Zak [Tue, 2 Nov 2010 12:54:47 +0000 (13:54 +0100)]
libmount: improve function for work with mtab paths

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: fix comment for mnt_unlock_file()
Karel Zak [Tue, 2 Nov 2010 12:52:47 +0000 (13:52 +0100)]
libmount: fix comment for mnt_unlock_file()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: add functions get mtab/utab paths
Karel Zak [Sun, 31 Oct 2010 00:05:51 +0000 (02:05 +0200)]
libmount: add functions get mtab/utab paths

13 years agotests: add libmount mtab update test
Karel Zak [Thu, 21 Oct 2010 07:00:50 +0000 (09:00 +0200)]
tests: add libmount mtab update test

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: allow to overwrite mtab/fstab paths
Karel Zak [Thu, 21 Oct 2010 06:57:02 +0000 (08:57 +0200)]
libmount: allow to overwrite mtab/fstab paths

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agotests: add quoted optstr
Karel Zak [Wed, 20 Oct 2010 10:40:55 +0000 (12:40 +0200)]
tests: add quoted optstr

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agotests: improve subtests initialization
Karel Zak [Wed, 20 Oct 2010 10:40:02 +0000 (12:40 +0200)]
tests: improve subtests initialization

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: add LIBMOUNT_{MTAB,FSTAB}
Karel Zak [Tue, 19 Oct 2010 13:21:03 +0000 (15:21 +0200)]
libmount: add LIBMOUNT_{MTAB,FSTAB}

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agotests: add libmount lock test
Karel Zak [Tue, 19 Oct 2010 12:30:07 +0000 (14:30 +0200)]
tests: add libmount lock test

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agotests: add libmount utils.c tests
Karel Zak [Tue, 19 Oct 2010 09:44:30 +0000 (11:44 +0200)]
tests: add libmount utils.c tests

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agotests: add libmount tags tests
Karel Zak [Mon, 18 Oct 2010 14:22:20 +0000 (16:22 +0200)]
tests: add libmount tags tests

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agotests: add libmount mtab tests
Karel Zak [Mon, 18 Oct 2010 13:46:12 +0000 (15:46 +0200)]
tests: add libmount mtab tests

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agotests: add libmount tab_parse.c tests
Karel Zak [Mon, 18 Oct 2010 12:42:42 +0000 (14:42 +0200)]
tests: add libmount tab_parse.c tests

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: cleanup fstab parser, improve mnt_tab errcb usage
Karel Zak [Mon, 18 Oct 2010 12:19:21 +0000 (14:19 +0200)]
libmount: cleanup fstab parser, improve mnt_tab errcb usage

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agotests: add libmount optstr.c tests
Karel Zak [Fri, 15 Oct 2010 13:53:33 +0000 (15:53 +0200)]
tests: add libmount optstr.c tests

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: fix mnt_optstr_apply_flags() to work with optional variables
Karel Zak [Fri, 15 Oct 2010 13:51:25 +0000 (15:51 +0200)]
libmount: fix mnt_optstr_apply_flags() to work with optional variables

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agotests: use {src,build}dir variables for tests
Karel Zak [Thu, 14 Oct 2010 14:09:14 +0000 (16:09 +0200)]
tests: use {src,build}dir variables for tests

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: improve assert() and DBG() usage
Karel Zak [Tue, 12 Oct 2010 14:17:16 +0000 (16:17 +0200)]
libmount: improve assert() and DBG() usage

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: add umount(2) support
Karel Zak [Tue, 12 Oct 2010 13:04:28 +0000 (15:04 +0200)]
libmount: add umount(2) support

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: add mnt_context_get_{fstab,mtab}()
Karel Zak [Wed, 6 Oct 2010 21:26:01 +0000 (23:26 +0200)]
libmount: add mnt_context_get_{fstab,mtab}()

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