summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* libmount: don't compile tests by defaultKarel Zak2011-01-252-5/+3Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: fix debug messageKarel Zak2011-01-251-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: release++ (v2.19-rc2)Karel Zak2011-01-252-2/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: update v2.19 ReleaseNotesKarel Zak2011-01-251-4/+73
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: update AUTHORS fileKarel Zak2011-01-251-0/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* po: merge changesKarel Zak2011-01-2526-20088/+23058
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update lscpu tests on x86_64Karel Zak2011-01-252-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: compile testsKarel Zak2011-01-251-3/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* column: data type mismatch compiler warning fixesSami Kerola2011-01-251-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>
* cfdisk: data type mismatch, and other, compiler warning fixesSami Kerola2011-01-252-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>
* libmount: fix user= usageKarel Zak2011-01-253-5/+8
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: improve status check, minor cleanupsKarel Zak2011-01-256-20/+44
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* include: [tt] enlarge output bufferKarel Zak2011-01-252-4/+22
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: rename mount.sym -> libmount.symKarel Zak2011-01-242-3/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add mnt_context_get_{source,target,fstype}Karel Zak2011-01-244-3/+57
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: ignore device name used in some fdisk and blkid testsFrancesco Cosoleto2011-01-2410-35/+40
| | | | Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
* fdisk: more meaningful error messages (use err.h)Francesco Cosoleto2011-01-231-24/+11Star
| | | | | | | [kzak@redhat.com: - minor changes in error messages] Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: use xalloc libFrancesco Cosoleto2011-01-233-17/+9Star
| | | | Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
* fdisk: replace fatal(usage) with a separate usage() functionFrancesco Cosoleto2011-01-232-26/+27
| | | | | Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: add exFAT to MBR partition type 0x7Jon Grant2011-01-231-1/+1
| | | | Signed-off-by: Jon Grant<jg@jguk.org>
* libmount: _SC_GETPW_R_SIZE_MAX portability issueKarel Zak2011-01-231-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>
* remaining util-linux-ng to util-linuxSami Kerola2011-01-233-4/+4
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* wall: document -n optionDavidlohr Bueso2011-01-232-1/+3
| | | | Signed-off-by: Davidlohr Bueso <dave@gnu.org>
* include: emulate dirfd when necessaryFabian Groffen2011-01-233-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>
* lib: [xalloc] don't use hardcoded return codeKarel Zak2011-01-231-4/+8
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: cleanup API, remove typedefKarel Zak2011-01-2225-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>
* libmount: add functions for mount.<type> helpersKarel Zak2011-01-225-5/+79
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: rename mount.h to libmount.hKarel Zak2011-01-2212-14/+15
| | | | | | The mount.h file name is too generic. Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: split mnt_context_do_mount()Karel Zak2011-01-226-22/+108
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: update ext{3,4} options in mount.8Karel Zak2011-01-211-2/+56
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* don't declare usage() without parametrKarel Zak2011-01-213-3/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* use uint32_t instead of u_int32_tFabian Groffen2011-01-202-9/+10
| | | | | | Solaris doesn't have u_int32_t, use standards uint32_t instead Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* build-sys: check for paths.hFabian Groffen2011-01-202-0/+3
| | | | | | paths.h doesn't exist on Solaris Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* libblkid: add blkdev.h to blkidP.hKarel Zak2011-01-208-9/+1Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* make _IO macros available on SolarisFabian Groffen2011-01-202-0/+4
| | | | | | | | 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>
* make major and minor available on SolarisKarel Zak2011-01-206-15/+4Star
| | | | | Reported-by: Fabian Groffen <grobian@gentoo.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: link with socketlibs when necessaryFabian Groffen2011-01-202-1/+14
| | | | | | | 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>
* build-sys: check for loff_t, it may not existFabian Groffen2011-01-202-0/+5
| | | | | | | On some systems, loff_t does not exist. Define it as int64_t in that case. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* libmount: add mnt_context_is_* functionsKarel Zak2011-01-193-1/+111
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add rpmatch.h to Makefile.amKarel Zak2011-01-191-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lscpu: fix 64bit CPU detectionKarel Zak2011-01-191-20/+33
| | | | | | | Note that the code is still not able to detect 64bit on sparcs and ppc. Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: cleanup internal APIKarel Zak2011-01-181-1/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* mkfs.cramfs: use symbolic exit codesSami Kerola2011-01-171-20/+20
| | | | | | | | | 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>
* fdisk: add description for partition type 0x27Karel Zak2011-01-171-0/+1
| | | | | Reported-by: Jon Grant <jg@jguk.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* mkfs: general cleanupsDavidlohr Bueso2011-01-171-18/+7Star
| | | | | | Use xalloc, remove unused headers, use EXIT_* constants. Signed-off-by: Davidlohr Bueso <dave@gnu.org>
* uuidd: mention -q in uuidd.8Petr Uzel2011-01-171-0/+3
| | | | Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
* build-sys: improve check for cryptFabian Groffen2011-01-178-12/+31
| | | | | | | | | | | | | | | | | | | | | | | | | 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>
* build-sys: use WORDS_BIGENDIAN to determine platform byte-orderFabian Groffen2011-01-174-23/+6Star
| | | | | | | | | | | | 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>
* wall: add usage functionDavidlohr Bueso2011-01-171-5/+8
| | | | | | | 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>
* partx: fix typo in partx.8Davidlohr Bueso2011-01-171-1/+1
| | | | Signed-off-by: Davidlohr Bueso <dave@gnu.org>