]> err.no Git - util-linux/log
util-linux
13 years agolibmount: split mnt_context_do_mount()
Karel Zak [Wed, 19 Jan 2011 21:11:55 +0000 (22:11 +0100)]
libmount: split mnt_context_do_mount()

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agomount: update ext{3,4} options in mount.8
Karel Zak [Fri, 21 Jan 2011 11:12:38 +0000 (12:12 +0100)]
mount: update ext{3,4} options in mount.8

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agodon't declare usage() without parametr
Karel Zak [Fri, 21 Jan 2011 00:00:18 +0000 (01:00 +0100)]
don't declare usage() without parametr

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agouse uint32_t instead of u_int32_t
Fabian Groffen [Tue, 18 Jan 2011 16:52:07 +0000 (17:52 +0100)]
use uint32_t instead of u_int32_t

Solaris doesn't have u_int32_t, use standards uint32_t instead

Signed-off-by: Fabian Groffen <grobian@gentoo.org>
13 years agobuild-sys: check for paths.h
Fabian Groffen [Mon, 17 Jan 2011 21:15:31 +0000 (22:15 +0100)]
build-sys: check for paths.h

paths.h doesn't exist on Solaris

Signed-off-by: Fabian Groffen <grobian@gentoo.org>
13 years agolibblkid: add blkdev.h to blkidP.h
Karel Zak [Thu, 20 Jan 2011 22:37:16 +0000 (23:37 +0100)]
libblkid: add blkdev.h to blkidP.h

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agomake _IO macros available on Solaris
Fabian Groffen [Mon, 17 Jan 2011 21:00:35 +0000 (22:00 +0100)]
make _IO macros available on Solaris

The _IO macro is defined in sys/ioccom.h on various platforms.  However,
on Solaris it isn't included by ioctl.h, so include it explicitly if
available.

Signed-off-by: Fabian Groffen <grobian@gentoo.org>
13 years agomake major and minor available on Solaris
Karel Zak [Thu, 20 Jan 2011 22:16:41 +0000 (23:16 +0100)]
make major and minor available on Solaris

Reported-by: Fabian Groffen <grobian@gentoo.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agobuild-sys: link with socketlibs when necessary
Fabian Groffen [Mon, 17 Jan 2011 20:14:54 +0000 (21:14 +0100)]
build-sys: link with socketlibs when necessary

To link an object which references socket functions, you need to link
with -lsocket -lnsl on Solaris.

Signed-off-by: Fabian Groffen <grobian@gentoo.org>
13 years agobuild-sys: check for loff_t, it may not exist
Fabian Groffen [Mon, 17 Jan 2011 20:04:04 +0000 (21:04 +0100)]
build-sys: check for loff_t, it may not exist

On some systems, loff_t does not exist.  Define it as int64_t in that
case.

Signed-off-by: Fabian Groffen <grobian@gentoo.org>
13 years agolibmount: add mnt_context_is_* functions
Karel Zak [Wed, 19 Jan 2011 16:22:28 +0000 (17:22 +0100)]
libmount: add mnt_context_is_* functions

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agobuild-sys: add rpmatch.h to Makefile.am
Karel Zak [Wed, 19 Jan 2011 08:42:28 +0000 (09:42 +0100)]
build-sys: add rpmatch.h to Makefile.am

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolscpu: fix 64bit CPU detection
Karel Zak [Wed, 19 Jan 2011 08:34:14 +0000 (09:34 +0100)]
lscpu: fix 64bit CPU detection

Note that the code is still not able to detect 64bit on sparcs and
ppc.

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: cleanup internal API
Karel Zak [Tue, 18 Jan 2011 11:26:17 +0000 (12:26 +0100)]
libmount: cleanup internal API

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agomkfs.cramfs: use symbolic exit codes
Sami Kerola [Mon, 3 Jan 2011 20:42:03 +0000 (21:42 +0100)]
mkfs.cramfs: use symbolic exit codes

For some reason original author had defined symbolic exit codes,
but had not use them. One could argue the symbolic exit codes for
mkfs should go to local exit header which would be included to
all commands that exit with non zero or one return code.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
13 years agofdisk: add description for partition type 0x27
Karel Zak [Mon, 17 Jan 2011 16:03:25 +0000 (17:03 +0100)]
fdisk: add description for partition type 0x27

Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agomkfs: general cleanups
Davidlohr Bueso [Mon, 6 Dec 2010 14:10:59 +0000 (11:10 -0300)]
mkfs: general cleanups

Use xalloc, remove unused headers, use EXIT_* constants.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
13 years agouuidd: mention -q in uuidd.8
Petr Uzel [Fri, 14 Jan 2011 13:36:12 +0000 (14:36 +0100)]
uuidd: mention -q in uuidd.8

Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
13 years agobuild-sys: improve check for crypt
Fabian Groffen [Wed, 12 Jan 2011 20:01:07 +0000 (21:01 +0100)]
build-sys: improve check for crypt

Check for crypt.h existence, and use it if available over using unistd.h
for which a certain feature level has to be set to export a definition
for crypt.  On Solaris this set causes a standards conflict in the
headers, because at the time of this check C99 mode is already enabled,
which implies certain standards non-compatible with _XOPEN_SOURCE.

 92  #define _XOPEN_SOURCE
 93  #include <unistd.h>

configure:16259: gcc -std=gnu99 -c -g -O2  conftest.c >&5
In file included from /usr/include/unistd.h:18,
                 from conftest.c:93:
/prefix/gentoo/usr/lib/gcc/i386-pc-solaris2.10/4.4.5/include-fixed/sys/feature_tests.h:341:2: error: #error "Compiler or options invalid for pre-UNIX 03 X/Open applications and pre-2001 POSIX applications"

configure.ac: improve crypt check
login-utils/my_crypt.h: replace old GNU_LIBRARY check with autoconf
define for crypt.h

[kzak@redhat.com: - remove my_crypt.h]

Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agobuild-sys: use WORDS_BIGENDIAN to determine platform byte-order
Fabian Groffen [Sat, 8 Jan 2011 18:49:38 +0000 (19:49 +0100)]
build-sys: use WORDS_BIGENDIAN to determine platform byte-order

Autoconf contains the right magic to determine the endianness on many
platforms next to Linux.  This reverses previous commits to move away
from WORDS_BIGENDIAN:
"use __BYTE_ORDER rather than AC specific WORDS_BIGENDIAN"

This is necessary to compile on non Linux platforms like Darwin and
Solaris.

Signed-off-by: Fabian Groffen <grobian@gentoo.org>
13 years agowall: add usage function
Davidlohr Bueso [Thu, 6 Jan 2011 12:08:43 +0000 (09:08 -0300)]
wall: add usage function

Instead of using an ugly goto statement, we can add a proper usage function.
This also adds the undocumented '-n' option to the output string.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
13 years agopartx: fix typo in partx.8
Davidlohr Bueso [Wed, 5 Jan 2011 20:08:11 +0000 (17:08 -0300)]
partx: fix typo in partx.8

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
13 years agodisk-utils: fix manpage typos
Davidlohr Bueso [Wed, 5 Jan 2011 19:54:19 +0000 (16:54 -0300)]
disk-utils: fix manpage typos

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
13 years agocolumn: fix column.1 typo
Davidlohr Bueso [Wed, 5 Jan 2011 19:54:16 +0000 (16:54 -0300)]
column: fix column.1 typo

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
13 years agofindmnt: fix manpage typos
Davidlohr Bueso [Wed, 5 Jan 2011 19:54:11 +0000 (16:54 -0300)]
findmnt: fix manpage typos

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
13 years agosys-utils: fix manpage typos
Davidlohr Bueso [Wed, 5 Jan 2011 19:54:05 +0000 (16:54 -0300)]
sys-utils: fix manpage typos

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
13 years agoschedutils: fix typos
Davidlohr Bueso [Wed, 5 Jan 2011 19:54:01 +0000 (16:54 -0300)]
schedutils: fix typos

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
13 years agoumount: call is_loop_autoclear() for all loopdevs
Karel Zak [Mon, 17 Jan 2011 13:00:53 +0000 (14:00 +0100)]
umount: call is_loop_autoclear() for all loopdevs

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agoinclude: fix list.h ifdefs
Karel Zak [Fri, 14 Jan 2011 14:49:07 +0000 (15:49 +0100)]
include: fix list.h ifdefs

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agodocs: update TODO
Karel Zak [Fri, 14 Jan 2011 13:53:45 +0000 (14:53 +0100)]
docs: update TODO

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agodocs: update TODO file
Karel Zak [Thu, 13 Jan 2011 12:34:31 +0000 (13:34 +0100)]
docs: update TODO file

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: improve fstab/mtab options usage
Karel Zak [Thu, 13 Jan 2011 09:43:33 +0000 (10:43 +0100)]
libmount: improve fstab/mtab options usage

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agomount: fix reference to cifs-utils in mount.8
Karel Zak [Tue, 11 Jan 2011 15:25:35 +0000 (16:25 +0100)]
mount: fix reference to cifs-utils in mount.8

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=651035
Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agoTODO: use rpmatch() for sfdisk
Karel Zak [Tue, 11 Jan 2011 11:49:47 +0000 (12:49 +0100)]
TODO: use rpmatch() for sfdisk

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agomount: fix gcc warning
Karel Zak [Mon, 10 Jan 2011 13:41:42 +0000 (14:41 +0100)]
mount: fix gcc warning

13 years agolibmount: add mount(8) sample
Karel Zak [Mon, 10 Jan 2011 13:31:23 +0000 (14:31 +0100)]
libmount: add mount(8) sample

This code is going to be used as mount(8) replacement in the next
major release (2.20). For now this mount(8) implementation does not
support loopdevs initialization.

Signed-off-by: Karel Zak <kzak@redhat.com>
13 years agolibmount: properly canonicalize source and target
Karel Zak [Mon, 10 Jan 2011 13:29:51 +0000 (14:29 +0100)]
libmount: properly canonicalize source and target

Signed-off-by: Karel Zak <kzak@redhat.com>
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>