]>
git.ipfire.org Git - thirdparty/util-linux.git/log
Jakub Bogusz [Thu, 10 Feb 2011 08:14:50 +0000 (09:14 +0100)]
po: update pl.po (from translationproject.org)
Benno Schulenberg [Thu, 10 Feb 2011 08:14:50 +0000 (09:14 +0100)]
po: update nl.po (from translationproject.org)
David Prévot [Thu, 10 Feb 2011 08:14:50 +0000 (09:14 +0100)]
po: update fr.po (from translationproject.org)
Joe Hansen [Thu, 10 Feb 2011 08:14:50 +0000 (09:14 +0100)]
po: update da.po (from translationproject.org)
Petr Písař [Thu, 10 Feb 2011 08:14:49 +0000 (09:14 +0100)]
po: update cs.po (from translationproject.org)
Karel Zak [Wed, 9 Feb 2011 19:37:08 +0000 (20:37 +0100)]
include: [c.h]: add unused attribute to ignore_result()
unfortunately, gcc 4.6
void fn (void) {
int foo;
foo = bar ();
}
evaluates that foo is never used. The __attribute__((unused)) is
necessary...
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 9 Feb 2011 14:02:41 +0000 (15:02 +0100)]
tests: fix libmount test
Signed-off-by: Karel Zak <kzak@redhat.com>
Petr Uzel [Wed, 9 Feb 2011 12:14:04 +0000 (13:14 +0100)]
libuuid: do not check for EAGAIN after flock()
As per flock() manpage, flock() does not set errno=EAGAIN.
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
Petr Uzel [Wed, 9 Feb 2011 12:13:49 +0000 (13:13 +0100)]
libmount: do not check for EAGAIN after flock()
As per flock() manpage, flock() does not set errno=EAGAIN.
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
Karel Zak [Wed, 9 Feb 2011 13:15:02 +0000 (14:15 +0100)]
mount: add rootcontext= for tmpfs on SELinux boxes
Addresses: http://bugzilla.redhat.com/show_bug.cgi?id=476964
Addresses: http://bugzilla.redhat.com/show_bug.cgi?id=676100
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 8 Feb 2011 15:35:41 +0000 (16:35 +0100)]
include: [c.h]: fix __alloc_size__ test
Reported-by: Francesco Cosoleto <cosoleto@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 8 Feb 2011 15:32:53 +0000 (16:32 +0100)]
libmount: more robust flock() usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Petr Uzel [Mon, 7 Feb 2011 13:18:28 +0000 (14:18 +0100)]
libuuid: fix locking of clock state counter file
fcntl(2) does not work for synchronization of threads belonging
to the same process. Use flock(2) instead.
http://marc.info/?l=util-linux-ng&m=
129708412829971 &w=2
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
Davidlohr Bueso [Fri, 4 Feb 2011 18:54:43 +0000 (15:54 -0300)]
schedutils: remove unneeded header files
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Benno Schulenberg [Wed, 2 Feb 2011 11:06:24 +0000 (12:06 +0100)]
lscpu: add description of --sysroot option to man page, plus grammar touches
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Benno Schulenberg [Tue, 1 Feb 2011 20:55:54 +0000 (21:55 +0100)]
lsblk: small grammar touches to the man page
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Benno Schulenberg [Tue, 1 Feb 2011 11:11:47 +0000 (12:11 +0100)]
partx: normalize the punctuation of man page, and improve grammar here and there
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Eric Sandeen [Tue, 8 Feb 2011 05:44:26 +0000 (23:44 -0600)]
blkid: dynamically allocate devicename array
If more than 128 devices are specified on the blkid cmdline,
the devices[] array will overflow.
We can dynamically allocate the devices[] array based on number
of arguments to avoid this problem.
[kzak@redhat.com: - add "if (optind < argc)" check]
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Petr Uzel [Fri, 4 Feb 2011 08:05:58 +0000 (09:05 +0100)]
wipefs: use write_all from include/writeall.h
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
Davidlohr Bueso [Thu, 3 Feb 2011 20:43:29 +0000 (17:43 -0300)]
swapon: use EXIT_SUCCESS constants
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Davidlohr Bueso [Thu, 3 Feb 2011 20:41:56 +0000 (17:41 -0300)]
dmesg: use strtol_or_err instead of atoi
We shouldn't be accepting things like 'dmesg -n 2crapinput'
This patch also changes the exit's value to use EXIT_* constants.
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Karel Zak [Tue, 8 Feb 2011 14:36:28 +0000 (15:36 +0100)]
lscpu: cleanup usage()
Signed-off-by: Karel Zak <kzak@redhat.com>
Petr Uzel [Thu, 3 Feb 2011 14:04:59 +0000 (15:04 +0100)]
uuidd: correctly report number of generated subsequent UUIDs
Before this change, "uuidd -t -n 1" reported
"
6fd0672e -2f9b-11e0-b9c8-
000feae00cb0 and subsequent 1 UUIDs".
That is two subsequent UUIDs, which is not correct.
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
Petr Uzel [Thu, 3 Feb 2011 14:04:58 +0000 (15:04 +0100)]
uuidd: fix -n usage
It does not make sense to request zero UUIDs - report error.
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
Petr Uzel [Thu, 3 Feb 2011 14:04:57 +0000 (15:04 +0100)]
uuidd: increase connection backlog size to SOMAXCONN
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
Petr Uzel [Thu, 3 Feb 2011 14:04:55 +0000 (15:04 +0100)]
uuidd: use write_all from include/writeall.h
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
Petr Uzel [Thu, 3 Feb 2011 14:04:54 +0000 (15:04 +0100)]
uuidd: use die() where possible
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
Petr Uzel [Thu, 3 Feb 2011 14:04:53 +0000 (15:04 +0100)]
uuidd: use daemon(3) library function
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
Petr Uzel [Wed, 2 Feb 2011 13:04:35 +0000 (14:04 +0100)]
uuidd: use UUID_STR_LEN and UUID_LEN
Use named constants for lentgh of UUID's binary and textual
representation, instead of magic numbers.
[kzak@redhat.com: - use sizeof(uuid_t) rather than hardcoded size]
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
Signed-off-by: Karel Zak <kzak@redhat.com>
Petr Uzel [Tue, 1 Feb 2011 15:08:27 +0000 (16:08 +0100)]
uuidd: use UUIDD_OP_BULK_*_UUID named constants
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
Petr Uzel [Tue, 1 Feb 2011 14:46:53 +0000 (15:46 +0100)]
uuidd: fix uuidd -r -n 2
uuidd -r -n 2 failed with "Unexpected reply length from server 36".
Fixed by this patch.
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
Marek Polacek [Fri, 4 Feb 2011 14:08:48 +0000 (15:08 +0100)]
include: [xalloc.h] include string.h
xalloc.h needs string.h for declaration of strdup(). Otherwise we
can get implicit declaration warning. This patch prevents it.
Signed-off-by: Marek Polacek <mpolacek@redhat.com>
Karel Zak [Mon, 7 Feb 2011 16:29:47 +0000 (17:29 +0100)]
include: [c.h] add fallback for alloc_size attributes
Reported-by: Davidlohr Bueso <dave@gnu.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 7 Feb 2011 15:20:04 +0000 (16:20 +0100)]
fsck: include c.h, fallback for PATH_MAX
Reported-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 7 Feb 2011 14:52:21 +0000 (15:52 +0100)]
include: [c.h] move ignore_result() to gcc-only block
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 7 Feb 2011 14:17:07 +0000 (15:17 +0100)]
libmount: add and copy FS internal flags
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 7 Feb 2011 14:15:30 +0000 (15:15 +0100)]
libmount: don't prepare update if syscall failed
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 3 Feb 2011 12:14:27 +0000 (13:14 +0100)]
docs: update ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 3 Feb 2011 11:59:58 +0000 (12:59 +0100)]
blkid: add new return code 8 for ambivalent low-level probing result
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 3 Feb 2011 11:34:34 +0000 (12:34 +0100)]
blkid: add note about PART_ENTRY_ tags to blkid.8
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 3 Feb 2011 11:12:37 +0000 (12:12 +0100)]
blkid: don't return PART_ENTRY_* if partition is empty
The PART_ENTRY_* has nothing to do with the _contents_ of the block
device. So if the device is empty these values should not be printed
and blkid(8) has to return 2.
The PART_ENTRY_* for empty devices should be printed for "-o udev"
output only.
Reported-by: Thomas Bächler <thomas@archlinux.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 3 Feb 2011 11:01:45 +0000 (12:01 +0100)]
blkid: don't print devname if nothing detected
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 2 Feb 2011 21:32:52 +0000 (22:32 +0100)]
libmount: cleanup helper initialization API
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 2 Feb 2011 20:30:17 +0000 (21:30 +0100)]
libmount: add low-level API for umount
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 2 Feb 2011 20:19:14 +0000 (21:19 +0100)]
libmount: cleanup high-level mount API
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 2 Feb 2011 13:10:42 +0000 (14:10 +0100)]
libmount: copy mount attrs from utab to context
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 1 Feb 2011 08:38:33 +0000 (09:38 +0100)]
libblkid: check for swap or DM cow on small devices
The 1MiB limit for swap and COW is useless for Fedora LiveDVD where is
938KiB COW device.
Reported-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Fabian Groffen [Tue, 25 Jan 2011 21:48:15 +0000 (22:48 +0100)]
libblkid: conditionalise parts from blkid/topology for Linux
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Sami Kerola [Wed, 26 Jan 2011 19:01:33 +0000 (20:01 +0100)]
build-sys: shell syntax fix in autogen.sh
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>
Petr Uzel [Wed, 26 Jan 2011 11:17:00 +0000 (12:17 +0100)]
mount: fix parsing offset= followed by more options
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>
Fabian Groffen [Tue, 25 Jan 2011 21:45:51 +0000 (22:45 +0100)]
build-sys: provide missing strnlen from strutils
Solaris lacks strnlen, provide it from strutils.c.
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Tobias Klauser [Fri, 21 Jan 2011 15:44:18 +0000 (16:44 +0100)]
swapon: make needlessly global variables static
Also constify the option array.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Fabian Groffen [Tue, 25 Jan 2011 20:40:46 +0000 (21:40 +0100)]
provide a workaround if program_invocation_short_name is missing
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>
Karel Zak [Mon, 31 Jan 2011 13:18:46 +0000 (14:18 +0100)]
build-sys: enable lsblk and libmount for Linux only
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 27 Jan 2011 13:04:18 +0000 (14:04 +0100)]
mount: fix atime description in mount.8 man page
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=665376
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 25 Jan 2011 16:21:53 +0000 (17:21 +0100)]
build-sys: release++ (v2.19-rc3)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 25 Jan 2011 16:13:16 +0000 (17:13 +0100)]
docs: update v2.19 ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 25 Jan 2011 15:36:28 +0000 (16:36 +0100)]
tests: skip non-compiled libmount tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 25 Jan 2011 15:27:16 +0000 (16:27 +0100)]
libmount: don't compile tests by default
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 25 Jan 2011 14:51:08 +0000 (15:51 +0100)]
libmount: fix debug message
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 25 Jan 2011 12:10:23 +0000 (13:10 +0100)]
build-sys: release++ (v2.19-rc2)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 25 Jan 2011 11:59:47 +0000 (12:59 +0100)]
docs: update v2.19 ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 25 Jan 2011 11:46:05 +0000 (12:46 +0100)]
docs: update AUTHORS file
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 25 Jan 2011 11:44:43 +0000 (12:44 +0100)]
po: merge changes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 25 Jan 2011 10:36:25 +0000 (11:36 +0100)]
tests: update lscpu tests on x86_64
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 25 Jan 2011 10:19:00 +0000 (11:19 +0100)]
libmount: compile tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Sami Kerola [Sun, 23 Jan 2011 14:40:19 +0000 (15:40 +0100)]
column: data type mismatch compiler warning fixes
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>
Sami Kerola [Sun, 23 Jan 2011 14:40:18 +0000 (15:40 +0100)]
cfdisk: data type mismatch, and other, compiler warning fixes
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>
Karel Zak [Tue, 25 Jan 2011 00:11:37 +0000 (01:11 +0100)]
libmount: fix user= usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 24 Jan 2011 23:26:47 +0000 (00:26 +0100)]
libmount: improve status check, minor cleanups
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 24 Jan 2011 23:24:17 +0000 (00:24 +0100)]
include: [tt] enlarge output buffer
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 24 Jan 2011 13:18:31 +0000 (14:18 +0100)]
libmount: rename mount.sym -> libmount.sym
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 24 Jan 2011 12:59:17 +0000 (13:59 +0100)]
libmount: add mnt_context_get_{source,target,fstype}
Signed-off-by: Karel Zak <kzak@redhat.com>
Francesco Cosoleto [Mon, 24 Jan 2011 05:41:58 +0000 (06:41 +0100)]
tests: ignore device name used in some fdisk and blkid tests
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Francesco Cosoleto [Sun, 23 Jan 2011 21:58:14 +0000 (22:58 +0100)]
fdisk: more meaningful error messages (use err.h)
[kzak@redhat.com: - minor changes in error messages]
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Francesco Cosoleto [Sun, 23 Jan 2011 21:51:21 +0000 (22:51 +0100)]
fdisk: use xalloc lib
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Francesco Cosoleto [Sun, 23 Jan 2011 21:51:20 +0000 (22:51 +0100)]
fdisk: replace fatal(usage) with a separate usage() function
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Jon Grant [Mon, 17 Jan 2011 22:47:07 +0000 (22:47 +0000)]
fdisk: add exFAT to MBR partition type 0x7
Signed-off-by: Jon Grant<jg@jguk.org>
Karel Zak [Sun, 23 Jan 2011 21:37:22 +0000 (22:37 +0100)]
libmount: _SC_GETPW_R_SIZE_MAX portability issue
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>
Sami Kerola [Wed, 19 Jan 2011 08:58:03 +0000 (09:58 +0100)]
remaining util-linux-ng to util-linux
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Davidlohr Bueso [Tue, 18 Jan 2011 14:04:32 +0000 (11:04 -0300)]
wall: document -n option
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Fabian Groffen [Fri, 21 Jan 2011 16:48:14 +0000 (17:48 +0100)]
include: emulate dirfd when necessary
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>
Karel Zak [Sun, 23 Jan 2011 20:28:19 +0000 (21:28 +0100)]
lib: [xalloc] don't use hardcoded return code
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 21 Jan 2011 23:09:34 +0000 (00:09 +0100)]
libmount: cleanup API, remove typedef
- 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>
Karel Zak [Thu, 20 Jan 2011 14:32:40 +0000 (15:32 +0100)]
libmount: add functions for mount.<type> helpers
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 19 Jan 2011 22:51:12 +0000 (23:51 +0100)]
libmount: rename mount.h to libmount.h
The mount.h file name is too generic.
Signed-off-by: Karel Zak <kzak@redhat.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>