summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-01-22#include <fcntl.h>Igor Pashev1-0/+1
2012-01-22Adjusted logger for Illumos realityIgor Pashev1-5/+84
2012-01-21Removed generated filesIgor Pashev14-8573/+0
2012-01-21Added gnulib (progname, memrchr, rawmemchr, etc)Igor Pashev57-2/+37299
2012-01-21Use static cfmakeraw() if not systemIgor Pashev2-0/+13
2012-01-21Put all under /usr if DEB_HOST_ARCH_OS=illumos (with DEB_HOST_MULTIARCH)Igor Pashev1-0/+6
2011-01-31Merge remote branch 'origin/master'LaMont Jones286-60403/+87054
Conflicts: mount/mount.8 mount/mount.c
2011-01-31libblkid: conditionalise parts from blkid/topology for LinuxFabian Groffen3-7/+14
Signed-off-by: Fabian Groffen <grobian@gentoo.org> Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-31build-sys: shell syntax fix in autogen.shSami Kerola1-1/+1
Use of == as synonym of single = sign backfires on systems where /bin/sh is dash, like with Ubuntu. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-01-31mount: fix parsing offset= followed by more optionsPetr Uzel4-25/+29
mount does not parse parse offset= option if it is followed by other options. In umount, the parsing is done with the get_value() function. This patch moves get_value to fstab.c (with new name get_option_value()) and fixes mount to use the function. [kzak@redhat.com: - rename to get_option_value() - use fstab.c rather than sundries.c] Novell bugzilla: #666150 Reported-by: Ludwig Nussel <ludwig.nussel@suse.de> Signed-off-by: Petr Uzel <petr.uzel@suse.cz> Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-31build-sys: provide missing strnlen from strutilsFabian Groffen1-1/+2
Solaris lacks strnlen, provide it from strutils.c. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
2011-01-31swapon: make needlessly global variables staticTobias Klauser1-9/+9
Also constify the option array. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2011-01-31provide a workaround if program_invocation_short_name is missingFabian Groffen3-0/+53
Try some replacements, such as getexecname() on Solaris and __progname on BSDs and Darwin. When not found, base program_invocation_short_name on the source filename it is used in, as not to require argv[0] to be passed along. This latter approach is not dynamic, but doesn't require code changes for all places where program_invocation_short_name is used now. Signed-off-by: Fabian Groffen <grobian@gentoo.org> Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-31build-sys: enable lsblk and libmount for Linux onlyKarel Zak3-4/+49
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-27mount: fix atime description in mount.8 man pageKarel Zak1-2/+5
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=665376 Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-25build-sys: release++ (v2.19-rc3)Karel Zak2-1/+5
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-25docs: update v2.19 ReleaseNotesKarel Zak1-3/+10
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-25tests: skip non-compiled libmount testsKarel Zak8-0/+16
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-25libmount: don't compile tests by defaultKarel Zak2-5/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-25libmount: fix debug messageKarel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-25build-sys: release++ (v2.19-rc2)Karel Zak2-2/+6
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-25docs: update v2.19 ReleaseNotesKarel Zak1-4/+73
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-25docs: update AUTHORS fileKarel Zak1-0/+2
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-25po: merge changesKarel Zak26-20088/+23058
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-25tests: update lscpu tests on x86_64Karel Zak2-2/+2
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-25libmount: compile testsKarel Zak1-3/+5
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-25column: data type mismatch compiler warning fixesSami Kerola1-2/+3
Following warnings will longer appear when one will compile with gcc flags -Wall -Wextra -pedantic column.c:364:2: warning: comparison of unsigned expression < 0 is always false column.c:369:2: warning: comparison of unsigned expression < 0 is always false Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-01-25cfdisk: data type mismatch, and other, compiler warning fixesSami Kerola2-8/+13
Following warnings will longer appear when one will compile with gcc flags -Wall -Wextra -pedantic cfdisk.c:475:3: warning: comparison of unsigned expression < 0 is always false cfdisk.c:487:16: warning: comparison between signed and unsigned integer expressions cfdisk.c:492:14: warning: comparison between signed and unsigned integer expressions cfdisk.c:565:19: warning: comparison between signed and unsigned integer expressions cfdisk.c:569:19: warning: comparison between signed and unsigned integer expressions cfdisk.c:1070:14: warning: comparison between signed and unsigned integer expressions cfdisk.c:1568:5: warning: missing initializer cfdisk.c:1568:5: warning: (near initialization for 'tmp_ext.volume_label') mbsalign.c:131:2: warning: comparison of unsigned expression >= 0 is always true Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-01-25libmount: fix user= usageKarel Zak3-5/+8
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-25libmount: improve status check, minor cleanupsKarel Zak6-20/+44
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-25include: [tt] enlarge output bufferKarel Zak2-4/+22
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-24libmount: rename mount.sym -> libmount.symKarel Zak2-3/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-24libmount: add mnt_context_get_{source,target,fstype}Karel Zak4-3/+57
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-24tests: ignore device name used in some fdisk and blkid testsFrancesco Cosoleto10-35/+40
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
2011-01-23fdisk: more meaningful error messages (use err.h)Francesco Cosoleto1-24/+11
[kzak@redhat.com: - minor changes in error messages] Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-23fdisk: use xalloc libFrancesco Cosoleto3-17/+9
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
2011-01-23fdisk: replace fatal(usage) with a separate usage() functionFrancesco Cosoleto2-26/+27
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-23fdisk: add exFAT to MBR partition type 0x7Jon Grant1-1/+1
Signed-off-by: Jon Grant<jg@jguk.org>
2011-01-23libmount: _SC_GETPW_R_SIZE_MAX portability issueKarel Zak1-0/+4
Addresses: https://bugs.gentoo.org/show_bug.cgi?id=350340 Reported-by: Alan Hourihane <alanh@fairlite.co.uk> Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-23remaining util-linux-ng to util-linuxSami Kerola3-4/+4
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-01-23wall: document -n optionDavidlohr Bueso2-1/+3
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
2011-01-23include: emulate dirfd when necessaryFabian Groffen3-5/+40
dirfd is not available on Solaris 10, it is available on latest OpenSolaris releases though. Do some autoconf trickery to determine if providing an alternative dirfd function is necessary and possible. shlibs/blkid/src/read.c: Do not define _XOPEN_SOURCE to 600, or DIR will lose it's dd_fd member again. Rearrange defines and includes to make sense per comments, and not conflict on Solaris. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
2011-01-23lib: [xalloc] don't use hardcoded return codeKarel Zak1-4/+8
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-22libmount: cleanup API, remove typedefKarel Zak25-989/+1021
- replace mnt_ with libmnt_ prefix for types (the old prefix was too generic) - remove typedef, use struct everywhere - use shorter functions names (s/userspace/user/; s/mountflags/mflags/) Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-22libmount: add functions for mount.<type> helpersKarel Zak5-5/+79
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-22libmount: rename mount.h to libmount.hKarel Zak12-14/+15
The mount.h file name is too generic. Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-22libmount: split mnt_context_do_mount()Karel Zak6-22/+108
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-21mount: update ext{3,4} options in mount.8Karel Zak1-2/+56
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-21don't declare usage() without parametrKarel Zak3-3/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-20use uint32_t instead of u_int32_tFabian Groffen2-9/+10
Solaris doesn't have u_int32_t, use standards uint32_t instead Signed-off-by: Fabian Groffen <grobian@gentoo.org>