]>
git.ipfire.org Git - thirdparty/util-linux.git/log
Karel Zak [Thu, 27 Feb 2014 12:05:19 +0000 (13:05 +0100)]
cfdisk:add page down/up
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 27 Feb 2014 11:24:50 +0000 (12:24 +0100)]
cfdisk: support partitions list longer than screen LINES
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 26 Feb 2014 13:49:13 +0000 (14:49 +0100)]
cfdisk: improve write dialog
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 26 Feb 2014 13:22:04 +0000 (14:22 +0100)]
cfdisk: add help screen
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 26 Feb 2014 12:58:31 +0000 (13:58 +0100)]
cfdisk: improve add parttype UI
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 26 Feb 2014 12:02:30 +0000 (13:02 +0100)]
cfdisk: add parttype dialog
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 26 Feb 2014 12:02:02 +0000 (13:02 +0100)]
fdisk: remove unnecessary code
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 25 Feb 2014 12:22:26 +0000 (13:22 +0100)]
cfdisk: consolidate menu descriptions
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 25 Feb 2014 12:05:09 +0000 (13:05 +0100)]
cfdisk: menu actions refactoring
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 25 Feb 2014 11:47:22 +0000 (12:47 +0100)]
cfdisk: add create lebel UI
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 24 Feb 2014 13:27:49 +0000 (14:27 +0100)]
cfdisk: consolidate menu move code
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 24 Feb 2014 12:57:08 +0000 (13:57 +0100)]
cfdisk: supports also vertical menus
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 4 Feb 2014 22:53:03 +0000 (23:53 +0100)]
cfdisk: reorder abstract PT according to output
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 4 Feb 2014 22:52:17 +0000 (23:52 +0100)]
lib/tt: keep track about output order
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 4 Feb 2014 22:34:54 +0000 (23:34 +0100)]
lib/tt: add tt_line_get_userdata()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 4 Feb 2014 22:09:26 +0000 (23:09 +0100)]
libfdisk: add dump functions, make freespace code generic
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 4 Feb 2014 22:09:02 +0000 (23:09 +0100)]
libfdisk: (dos) consolidate partition end-offset code
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 4 Feb 2014 20:09:55 +0000 (21:09 +0100)]
libfdisk: (dos) fix ext_index usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 4 Feb 2014 19:51:30 +0000 (20:51 +0100)]
cfdisk: improve tree output
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 4 Feb 2014 19:50:02 +0000 (20:50 +0100)]
libfdisk: remove label specific get_freespace
- it seems we can use improved nested<->container relationship
rather than implement DOS specific function
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 3 Feb 2014 17:06:07 +0000 (18:06 +0100)]
libfdisk: (dos) fix log.partition delete
- deallocate sector buffer and deincrement part_max when delete last
logical partition
- zap obsolete EBR on begin of the extended partition when no logical
partition defined
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 3 Feb 2014 17:05:57 +0000 (18:05 +0100)]
libfdisk: again improve freespace code
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 3 Feb 2014 13:40:35 +0000 (14:40 +0100)]
cfdisk: use tree-mode for extended, colorize freesapce
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 3 Feb 2014 13:40:27 +0000 (14:40 +0100)]
libfdisk: improve freesapce detection
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 3 Feb 2014 11:23:18 +0000 (12:23 +0100)]
libfdisk: don't ask for pri/log if wanted start within extended partition
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 3 Feb 2014 11:22:31 +0000 (12:22 +0100)]
cfdisk: follow default end if possible
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 3 Feb 2014 11:19:38 +0000 (12:19 +0100)]
libfdisk: add table sort function, use it in get_freespace
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 3 Feb 2014 11:18:57 +0000 (12:18 +0100)]
include/list: add void data to the sort cmp function
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 31 Jan 2014 09:35:53 +0000 (10:35 +0100)]
cfdisk: use real partno
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 31 Jan 2014 09:31:08 +0000 (10:31 +0100)]
cfdisk: support <size>S, and long hint messages
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 30 Jan 2014 14:07:46 +0000 (15:07 +0100)]
lib/strutils: support dec.points in parse_size()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 30 Jan 2014 11:56:01 +0000 (12:56 +0100)]
lib/strutils: use proper return codes in parse_size()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 30 Jan 2014 11:21:11 +0000 (12:21 +0100)]
libfdisk: rewrite freespace code
* use separate function to get free space
* allow to use label-specific get_freespace() function
(this is necessary for MBR extended partitions mess)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 29 Jan 2014 13:22:12 +0000 (14:22 +0100)]
cfdisk: add UI for linfdisk menus, ask for size
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 29 Jan 2014 13:21:30 +0000 (14:21 +0100)]
fdisk: use ASKTYPE_MENU
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 29 Jan 2014 13:20:40 +0000 (14:20 +0100)]
linfdisk: align free space
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 29 Jan 2014 13:20:11 +0000 (14:20 +0100)]
libfdisk: (gpt) initialize last_lba, cleanup pa->{start,size} usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 29 Jan 2014 13:19:05 +0000 (14:19 +0100)]
libfdisk: initialize last_lba
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 29 Jan 2014 13:17:41 +0000 (14:17 +0100)]
libfdisk: add fdisk_partition_*_follow_default()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 29 Jan 2014 13:15:30 +0000 (14:15 +0100)]
libfdisk: add ASKTYPE_MENU and context last_lba
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 29 Jan 2014 13:09:54 +0000 (14:09 +0100)]
lib/mbalign: add mbs_safe_width() from tt.c
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 27 Jan 2014 16:31:24 +0000 (17:31 +0100)]
fdisk: fix 'p'rint error on empty PT
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 22 Jan 2014 13:22:35 +0000 (14:22 +0100)]
cfdisk: improve info line and menu updates
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 22 Jan 2014 12:05:19 +0000 (13:05 +0100)]
cfdisk: improve info line, add Delete action
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 22 Jan 2014 10:53:34 +0000 (11:53 +0100)]
cfdisk: update menu according to the current partition
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 22 Jan 2014 10:52:50 +0000 (11:52 +0100)]
libfdisk: add fdisk_table_get_partition()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 22 Jan 2014 10:10:54 +0000 (11:10 +0100)]
cfdisk: add menu action functions
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 9 Jan 2014 13:49:45 +0000 (14:49 +0100)]
cfdisk: basic UI stuff
Karel Zak [Thu, 9 Jan 2014 13:48:49 +0000 (14:48 +0100)]
include/xalloc: add xvasprintf()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 6 Jan 2014 07:32:20 +0000 (08:32 +0100)]
libfdisk: add fdisk_table_get_nents()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 19 Dec 2013 12:58:46 +0000 (13:58 +0100)]
libfdisk: tiny clean up in fdisk_table_to_string()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 19 Dec 2013 12:25:51 +0000 (13:25 +0100)]
libfdisk: clean up cylinder column
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 18 Dec 2013 09:38:43 +0000 (10:38 +0100)]
libfdisk: remove tt stuff from API
The include/tt.h has to be used only internally by the library (for
example to convert fdisk_table to string).
The fdisk_ask API should not be more used for complex tasks like print
partition table. The application has to use fdisk_get_table() and
fdisk_table_to_string() or something else.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 18 Dec 2013 09:28:55 +0000 (10:28 +0100)]
libfdisk: use fdisk_table to generate output
* add generic fdisk_iter iterator
* use fdisk_table to convert partition table to human readable output
* clean up partition.c API (don't use reference to fdisk_context in
fdisk_partition struct)
* extern table.c API to use fdisk_iter iterator
* remove old fdisk_list_partitions()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 18 Dec 2013 09:22:32 +0000 (10:22 +0100)]
include/tt: add function to convert table to string
Note that open_memstream() is POSIX-1.2008, so it's possible than not
all libc have already implemented this function.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 16 Dec 2013 12:59:48 +0000 (13:59 +0100)]
libfdisk: move partition stuff to partition.c
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 13 Dec 2013 18:56:21 +0000 (19:56 +0100)]
libfdisk: add table container
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 13 Dec 2013 18:26:29 +0000 (19:26 +0100)]
libfdisk: add reference counting to fdisk_partition
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 12 Dec 2013 16:22:52 +0000 (17:22 +0100)]
libfdisk: add support to list free space
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 29 Nov 2013 20:55:53 +0000 (21:55 +0100)]
libfdisk: use partition template
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 28 Nov 2013 11:56:12 +0000 (12:56 +0100)]
libfdisk: remove fdisk_get_partition_type()
Let's use more generic:
fdisk_get_partition()
fdisk_partition_get_parttype()
rather than fdisk_get_partition_type().
The patch also improves fdisk_get_partition() semantic to allocate
a new partition struct if the argument is NULL.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 28 Nov 2013 11:17:45 +0000 (12:17 +0100)]
libfdisk: (sun) remove get_partition_type()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 28 Nov 2013 11:13:31 +0000 (12:13 +0100)]
libfdisk: (sgi) remove get_partition_type()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 28 Nov 2013 11:06:50 +0000 (12:06 +0100)]
libfdisk: (dos) remove get_partition_type()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 28 Nov 2013 11:01:59 +0000 (12:01 +0100)]
libfdisk: (bsd) remove get_partition_type()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 28 Nov 2013 10:52:52 +0000 (11:52 +0100)]
libfdisk: (gpt) remove get_partition_type()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 28 Nov 2013 10:00:18 +0000 (11:00 +0100)]
libfdisk: (sun) use new list() and get_part() API
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 27 Nov 2013 15:49:13 +0000 (16:49 +0100)]
libfdisk: (sgi) use new list() and get_part() API
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 27 Nov 2013 13:34:05 +0000 (14:34 +0100)]
libfdisk: (dos) use new list() and get_part() API
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 27 Nov 2013 13:33:01 +0000 (14:33 +0100)]
libfdisk: add new list() columns, cleanup
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 26 Nov 2013 14:32:31 +0000 (15:32 +0100)]
libfdisk: (bsd) use new get_part() API
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 26 Nov 2013 14:28:03 +0000 (15:28 +0100)]
libfdisk: improve conversion to string
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 26 Nov 2013 12:29:23 +0000 (13:29 +0100)]
libfdisk: add struct fdisk_partition
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 22 Nov 2013 13:06:44 +0000 (14:06 +0100)]
lib/tt: add reduce term width functionality
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 22 Nov 2013 12:53:29 +0000 (13:53 +0100)]
lib/tt: add TT_FL_MAX to fill screen
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 22 Nov 2013 12:31:15 +0000 (13:31 +0100)]
lib/tt: add tb_get_nlines()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 22 Nov 2013 10:34:12 +0000 (11:34 +0100)]
lib/tt: don't hardcode stdout as output
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 22 Nov 2013 09:21:54 +0000 (10:21 +0100)]
libfdisk: (gpt) use fdisk_column
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 22 Nov 2013 09:20:15 +0000 (10:20 +0100)]
libfdisk: implement generic functions for FDISK_COL_ stuff
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 22 Nov 2013 09:08:37 +0000 (10:08 +0100)]
libfdisk: extend API definition to list info about partitions
This change adds a struct fdisk_column to provide generic description
for information about partitions. The struct is used for tt tables as
well as lists of possible columns for specified label driver.
We use the same concept in all applications linked with tt.c (lsblk,
findmnt, partx, ...) where is possible to dynamically change columns,
order of the columns etc. Now it will be possible to do the same with
fdisk.
And it's also possible to use FDISK_COL_* Ids to address data, for
example:
fdisk_partition_get_data(cxt, FDISK_COL_SIZE, 1, &data);
returns a string with human readable size (<num>{MGT}) of the second
partition.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 22 Nov 2013 09:07:36 +0000 (10:07 +0100)]
include/tt: add tt_is_empty()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 11 Mar 2014 10:22:07 +0000 (11:22 +0100)]
ipcs: fix size_t overflow
Addresses: https://github.com/karelzak/util-linux/issues/51
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 11 Mar 2014 09:38:15 +0000 (10:38 +0100)]
lib/colors: support <name>.enable too
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 11 Mar 2014 09:05:32 +0000 (10:05 +0100)]
lib/colors: add info to man pages, add terminal-colors.d.5
Co-Author: Ondrej Oprala <ooprala@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Ondrej Oprala [Thu, 23 Jan 2014 12:03:45 +0000 (13:03 +0100)]
lib/colors: check for /etc/terminal-colors.d/[util].disable
[kzak@redhat.com: - move paths to pathnames.h,
- use static path buffer]
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Sami Kerola [Sun, 16 Feb 2014 15:22:56 +0000 (15:22 +0000)]
tests: check commands needed for running a test exist
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
Sami Kerola [Sun, 16 Feb 2014 15:22:55 +0000 (15:22 +0000)]
tools: make config-gen to require build target argument
When argument is not supplied help user by telling what arguments can be
used.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Karel Zak [Fri, 7 Mar 2014 10:14:46 +0000 (11:14 +0100)]
lsblk: add PARTFLAGS column
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 6 Mar 2014 12:09:16 +0000 (13:09 +0100)]
libmount: add statfs_magic.h
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 5 Mar 2014 12:19:19 +0000 (13:19 +0100)]
build-sys: remove deprecated-mount/
Signed-off-by: Karel Zak <kzak@redhat.com>
Chris MacGregor [Thu, 27 Feb 2014 18:40:59 +0000 (10:40 -0800)]
hwclock: fix possible hang and other set_hardware_clock_exact() issues
In sys-utils/hwclock.c, set_hardware_clock_exact() has some problems when the
process gets pre-empted (for more than 100ms) before reaching the time for
which it waits:
1. The "continue" statement causes execution to skip the final tdiff
assignment at the end of the do...while loop, leading to the while condition
using the wrong value of tdiff, and thus always exiting the loop once
newhwtime != sethwtime (e.g., after 1 second). This masks bug # 2, below.
2. The previously-existing bug is that because it starts over waiting for the
desired time whenever two successive calls to gettimeofday() return values >
100ms apart, the loop will never terminate unless the process holds the CPU
(without losing it for more than 100ms) for at least 500ms. This can happen
on a heavily loaded machine or on a virtual machine (or on a heavily loaded
virtual machine). This has been observed to occur, preventing a machine from
completing the shutdown or reboot process due to a "hwclock --systohc" call in
a shutdown script.
The new implementation presented in this patch takes a somewhat different
approach, intended to accomplish the same goals:
It computes the desired target system time (at which the requested hardware
clock time will be applied to the hardware clock), and waits for that time to
arrive. If it misses the time (such as due to being pre-empted for too long),
it recalculates the target time, and increases the tolerance (how late it can
be relative to the target time, and still be "close enough". Thus, if all is
well, the time will be set *very* precisely. On a machine where the hwclock
process is repeatedly pre-empted, it will set the time as precisely as is
possible under the conditions present on that particular machine. In any
case, it will always terminate eventually (and pretty quickly); it will never
hang forever.
[kzak@redhat.com: - tiny coding style changes]
Signed-off-by: Chris MacGregor <chrismacgregor@google.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Bernhard Voelker [Wed, 5 Mar 2014 10:55:34 +0000 (11:55 +0100)]
libmount: define BTRFS_TEST_MAGIC if missing
* libmount/src/utils.c (BTRFS_TEST_MAGIC): Conditionally add define
which is used since commit
v2.24-243-g6a52473 .
Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
Karel Zak [Wed, 5 Mar 2014 10:23:16 +0000 (11:23 +0100)]
chcpu: cleanup stdout/stderr usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 5 Mar 2014 10:06:59 +0000 (11:06 +0100)]
chcpu: cleanup return codes
The code currently always return EXIT_SUCCESS, that's strange. It
seems better to return 0 on success, 1 on complete failure and 64 on
partial success.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 5 Mar 2014 09:20:10 +0000 (10:20 +0100)]
build-sys: don't connect _DEPENDENCIES and _LIBADD
The _DEPENDENCIES has to be used for dependencies on another in-tree
files, but _LIBADD is to specify additional libs (including external
libs).
Reported-by: oleid <notifications@github.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 5 Mar 2014 08:25:43 +0000 (09:25 +0100)]
Merge branch 'master' of https://github.com/rudimeier/util-linux
* 'master' of https://github.com/rudimeier/util-linux:
travis-ci: import travis yaml controller
Benno Schulenberg [Fri, 21 Feb 2014 17:22:33 +0000 (18:22 +0100)]
docs: fix two command representations in the man page of more
The previous-file command is not :P but :p, and the back-to-where
command is not an acute accent but an apostrophe. Also condense
some of the descriptions and remove some useless comments.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Sami Kerola [Fri, 21 Feb 2014 19:25:30 +0000 (19:25 +0000)]
logger: allow user to send structured journald messages
This feature is hopefully mostly used to give MESSAGE_ID labels for
messages coming from scripts, making search of messages easy. The
logger(1) manual page update should give enough information how to use
--journald option.
[kzak@redhat.com: - add missing #ifdefs
- use xalloc.h]
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
Ondrej Oprala [Fri, 21 Feb 2014 14:34:45 +0000 (15:34 +0100)]
hexdump: color unit may now be longer than the corresponding format unit
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Stewart Smith [Tue, 4 Mar 2014 04:39:41 +0000 (15:39 +1100)]
lscpu: read_hypervisor_dmi: only fallback to memory scan on x86/x86_64
As the comment in the code says, this method is really only valid
on x86 and x86_64, so add a #ifdef for those architectures around
that code block.
This was causing "Program lscpu tried to access /dev/mem between f0000->100000."
warnings on some ppc64 machines.
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>