]>
git.ipfire.org Git - thirdparty/util-linux.git/log
Karel Zak [Thu, 19 Feb 2015 12:11:24 +0000 (13:11 +0100)]
build-sys: release++ (v2.26)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 19 Feb 2015 12:10:10 +0000 (13:10 +0100)]
docs: update v2.26-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 19 Feb 2015 12:07:55 +0000 (13:07 +0100)]
docs: update AUTHORS file
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 19 Feb 2015 12:06:10 +0000 (13:06 +0100)]
po: merge changes
Signed-off-by: Karel Zak <kzak@redhat.com>
Trần Ngọc Quân [Thu, 19 Feb 2015 12:02:28 +0000 (13:02 +0100)]
po: update vi.po (from translationproject.org)
Yuri Chornoivan [Thu, 19 Feb 2015 12:02:28 +0000 (13:02 +0100)]
po: update uk.po (from translationproject.org)
Jakub Bogusz [Thu, 19 Feb 2015 12:02:28 +0000 (13:02 +0100)]
po: update pl.po (from translationproject.org)
Benno Schulenberg [Thu, 19 Feb 2015 12:02:28 +0000 (13:02 +0100)]
po: update nl.po (from translationproject.org)
David Prévot [Thu, 19 Feb 2015 12:02:28 +0000 (13:02 +0100)]
po: update fr.po (from translationproject.org)
Antonio Ceballos Roa [Thu, 19 Feb 2015 12:02:28 +0000 (13:02 +0100)]
po: update es.po (from translationproject.org)
Mario Blättermann [Thu, 19 Feb 2015 12:02:28 +0000 (13:02 +0100)]
po: update de.po (from translationproject.org)
Joe Hansen [Thu, 19 Feb 2015 12:02:28 +0000 (13:02 +0100)]
po: update da.po (from translationproject.org)
Petr Písař [Thu, 19 Feb 2015 12:02:28 +0000 (13:02 +0100)]
po: update cs.po (from translationproject.org)
Karel Zak [Thu, 19 Feb 2015 11:37:23 +0000 (12:37 +0100)]
libfdisk: fix fdisk_partition_get_parent() docs
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 19 Feb 2015 11:36:52 +0000 (12:36 +0100)]
tests: scsi_debug workaround
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 19 Feb 2015 10:56:11 +0000 (11:56 +0100)]
docs: add cfdisk auto-sort to TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 19 Feb 2015 10:33:39 +0000 (11:33 +0100)]
libblkid: set SBMAGIC for nilfs2
Reported-by: Mike Fleetwood <mike.fleetwood@googlemail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Sami Kerola [Tue, 17 Feb 2015 22:31:48 +0000 (22:31 +0000)]
setarch: print error when command runs without arguments
$ ./setarch
Segmentation fault (core dumped)
$ coredumpctl gdb
...
Program terminated with signal SIGSEGV, Segmentation fault.
301 if (*argv[1] != '-') {
Reference:
5edb0ea6bbd57dd916417737f98c9109dc1ecb5b
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Benno Schulenberg [Tue, 17 Feb 2015 20:45:46 +0000 (21:45 +0100)]
tests: improve some wordings of the output
For one, replace the puzzlingly stern imperative "IGNORE" with
the simple and light-hearted and descriptive "SKIPPED".
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Karel Zak [Thu, 19 Feb 2015 09:54:12 +0000 (10:54 +0100)]
Merge branch 'hwman2' of https://github.com/jwpi/util-linux
* 'hwman2' of https://github.com/jwpi/util-linux:
hwclock: improve man-page language
J William Piggott [Mon, 16 Feb 2015 12:55:31 +0000 (07:55 -0500)]
hwclock: improve man-page language
Signed-off-by: J William Piggott <elseifthen@gmx.com>
Karel Zak [Mon, 16 Feb 2015 13:17:54 +0000 (14:17 +0100)]
libmount: remove assert(arg) from public functions
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 16 Feb 2015 12:49:29 +0000 (13:49 +0100)]
libsmartcols: remove assert(arg) from public functions
Reported-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
J William Piggott [Sun, 15 Feb 2015 20:39:52 +0000 (15:39 -0500)]
hwclock: improve man-page language
Signed-off-by: J William Piggott <elseifthen@gmx.com>
Karel Zak [Mon, 16 Feb 2015 12:38:07 +0000 (13:38 +0100)]
libmount: improve remount logic
* fix fs type detection for remount
* parse mtab only for remount and umount
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 16 Feb 2015 11:49:49 +0000 (12:49 +0100)]
libmount: add --enable-libmount-force-mountinfo
The default libmount mtab management depends on mtan symlink. If the
symlink exists than libmount parses /proc/self/mountinfo, otherwise it
parses regular classic /etc/mtab. This is backwardly compatible and
transparent solution.
Unfortunately, this is not robust enough because some broken init
scripts or 3-party mount helpers may remove the symlink and create
regular mtab file. This is pretty bad if initd (systemd) depends on
libmount.
Fortunately we known that mtab is absolutely unwanted on some distros,
so it's fine too ignore mtab at all and don't care about the symlink.
Reported-by: Martin Pitt <martin.pitt@ubuntu.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
J William Piggott [Sun, 15 Feb 2015 18:34:04 +0000 (13:34 -0500)]
hwclock: man-page errata
Professor Eggert, maintainer of the tz database, reviewed
the new POSIX vs 'RIGHT' man-page section and suggested
the following corrections.
Correct the subdirectory names and remove IANA from the
name of the Time Zone Database.
Signed-off-by: J William Piggott <elseifthen@gmx.com>
Sami Kerola [Sun, 15 Feb 2015 09:50:23 +0000 (09:50 +0000)]
logger: add --socket-errors compatibility option
Hello,
Depending viewpoint this change is either regression fix, or
re-regression in context of none-systemd init. I ack the change is sent
very late to be part of v2.26, but then again the excess noise was found
only because of -rc1 was tested in sysvinit environment. IMHO it would
contradict purpose of having rc's if faults will not lead to fixes.
I also want to point out the sysvinit scripts are broken, not the
logger(1), but getting them corrected is practically impossible.
Assuming sysvinit script are further developed by various teams and
distributions who maintain them they should use --socket-error=on in
future, and write scripts that pass without noise. Meanwhile trying to
be clever when to silence errors seems like a reasonable thing to do.
--->8----
From: Sami Kerola <kerolasa@iki.fi>
Date: Sat, 14 Feb 2015 19:05:55 +0000
Subject: [PATCH] logger: add --socket-errors compatibility option
Now when logger(1) has stopped using openlog() for Unix sockets, in
commit mentioned in reference, the lack of /dev/log detected will report
error accordingly. According to Gabriele Balducci this makes sysvinit
style boot scripts to print a lot of errors. So make the logger to
detect whether it should be in compatibility mode, and not report errors
if logging device is missing. That imitates behavior of glibc openlog().
To allow full control to users the /dev/log error messages can be forced
to on or off. The automatic error messaging is explained in manual page.
Reference:
1d57503378bdcd838365d625f6d2d0a09da9c29d
Reported-by: Gabriele Balducci <balducci@units.it>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 15 Feb 2015 00:52:49 +0000 (00:52 +0000)]
sfdisk: include rpmatch.h
Some libc's do not have rpmatch(), and they need the workaround in the
header file.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Karel Zak [Mon, 16 Feb 2015 10:02:53 +0000 (11:02 +0100)]
fsck: fix compiler warning [-Wlogical-not-parentheses]
Reported-by: Ruediger Meier <sweet_f_a@gmx.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
Stanislav Brabec [Fri, 13 Feb 2015 18:59:22 +0000 (19:59 +0100)]
script.1: Improve documentation of non-interactive behavior
- use exit in .profile to avoid non-logged session after typing "exit"
- document that script can read more from stdin than the command inside:
echo -e 'script -c "read a b ; echo a=\$a b=\$b >defs.sh"\n1 2\necho Done' | sh
Script started, file is typescript
1 2
echo Done
Script done, file is typescript
Stanislav Brabec [Wed, 11 Feb 2015 14:07:52 +0000 (15:07 +0100)]
script: no logging for non-interactive shells
Karel Zak wrote:
> Would be better to learn people to fix their shell initialization
> files to not call script(1) for non-interactive sessions?
It makes sense.
From
8fff32e65399ae07f70e12568d4d5278725673a7 Mon Sep 17 00:00:00 2001
From: Stanislav Brabec <sbrabec@suse.cz>
Date: Wed, 11 Feb 2015 15:02:10 +0100
Subject: [PATCH] script.1: Document behavior in non-interactive shells
And discourage users from such use.
Karel Zak [Thu, 12 Feb 2015 12:14:52 +0000 (13:14 +0100)]
libmount: read utab always when read mtab from /proc
Now libmount reads utab only when mtab filename is no explicitly
specified, but for example:
mnt_table_parse_mtab(tb, "/proc/self/mountinfo");
ignores utab because filename points to regular file. This is mistake,
we wnat to read utab always when we read mount table from kernel.
Reported-by: Martin Pitt <martin.pitt@ubuntu.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 12 Feb 2015 11:57:03 +0000 (12:57 +0100)]
findmnt: don't parse mountinfo twice
We parse /proc/self/mountinfo to initialize cache targets, this step
is unnecessary if --mtab reads all from kernel.
Signed-off-by: Karel Zak <kzak@redhat.com>
Benjamin Romer [Tue, 10 Feb 2015 21:04:09 +0000 (16:04 -0500)]
lscpu: add s-Par support
Adds support for the s-Par firmware's hypervisor leaf.
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Sami Kerola [Sun, 8 Feb 2015 20:44:41 +0000 (20:44 +0000)]
sulogin, hwclock: use xusleep() instead of usleep()
As said in include/c.h the usleep() is marked as obsolete, so do the same
that most of the other util-linux calls do with this interface.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 8 Feb 2015 20:44:40 +0000 (20:44 +0000)]
rename: use strrchr() instead of rindex()
The rindex() is marked legacy in POSIX.1-2001, and apparently Androids
bionic libc does not even have it so it is best not to use the legacy
interface.
Reference: https://lists.gnu.org/archive/html/weechat-dev/2014-02/msg00004.html
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Karel Zak [Tue, 10 Feb 2015 12:17:29 +0000 (13:17 +0100)]
libfdisk: add some docs
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 10 Feb 2015 12:00:52 +0000 (13:00 +0100)]
libfdisk: ignore whole-disk partition when check order
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 10 Feb 2015 12:00:30 +0000 (13:00 +0100)]
libfdisk: add fdisk_partition_is_wholedisk()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 10 Feb 2015 11:50:33 +0000 (12:50 +0100)]
cfdisk: improve create-label UI
Reported-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
Benno Schulenberg [Sun, 8 Feb 2015 20:21:31 +0000 (21:21 +0100)]
textual: sort the options in the usage text of sfdisk alphabetically
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Benno Schulenberg [Sun, 8 Feb 2015 20:21:30 +0000 (21:21 +0100)]
docs: sort the options in the man page of sfdisk alphabetically
Also fix some typos.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Benno Schulenberg [Sun, 8 Feb 2015 20:21:29 +0000 (21:21 +0100)]
cfdisk: also recognize a lowercase 'l' for loading a script file
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Benno Schulenberg [Sun, 8 Feb 2015 20:21:28 +0000 (21:21 +0100)]
cfdisk: do not startle the user with a false message when --zero is used
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Karel Zak [Tue, 10 Feb 2015 10:53:42 +0000 (11:53 +0100)]
Merge branch 'hwman' of github.com:jwpi/util-linux
* 'hwman' of github.com:jwpi/util-linux:
hwclock: add checking kernel vars to man-page
hwclock: Add ntptime reference to man-page
Karel Zak [Tue, 10 Feb 2015 10:40:56 +0000 (11:40 +0100)]
Revert "libmount: MNT_OMODE_FORCE usage"
This reverts commit
6f41c5de40629c71a8f79e9be4b94f9a75f9ad21 .
Ruediger Meier [Mon, 9 Feb 2015 15:11:02 +0000 (16:11 +0100)]
setarch: fix typo (missing braces) for ppcle
Introduced in
77eb13b9 , noticed on ppc64le.
CC: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Ruediger Meier [Mon, 9 Feb 2015 15:11:01 +0000 (16:11 +0100)]
cal: use int64_t instead of long
Followup
26f3a386 , bigyear test was broken on ppc.
CC: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Stanislav Brabec [Fri, 6 Feb 2015 18:59:14 +0000 (19:59 +0100)]
Fix "Script started" buffering race
script -c "echo Hallo World" </dev/null >script.log ; cat script.log
Before:
Hallo World
Script started, file is typescript
Script started, file is typescript
Script done, file is typescript
After:
Script started, file is typescript
Hallo World
Script done, file is typescript
Fridolin Pokorny [Fri, 6 Feb 2015 14:55:21 +0000 (15:55 +0100)]
libmount: MNT_OMODE_FORCE usage
Hi,
I have found out that libmount does not respect MNT_OMODE_FORCE mode.
I don't see any usage in sources and libmount does not respect this mode
when calling library functions. I'm proposing a patch to fix this.
Have a nice day!
Fridolin Pokorny
Benno Schulenberg [Fri, 6 Feb 2015 11:44:02 +0000 (12:44 +0100)]
docs: fix two paths of the v2.20-ReleaseNotes
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Benno Schulenberg [Fri, 6 Feb 2015 11:44:01 +0000 (12:44 +0100)]
docs: improve the grammar of the "see the changelog" phrase
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Benno Schulenberg [Fri, 6 Feb 2015 11:44:00 +0000 (12:44 +0100)]
docs: retrofit the dates on some old release announcements
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Benno Schulenberg [Fri, 6 Feb 2015 11:43:59 +0000 (12:43 +0100)]
docs: fix the link to the rc1 changelog
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Sami Kerola [Tue, 3 Feb 2015 18:51:03 +0000 (18:51 +0000)]
fsck: use monotonic time to fsck run time measurement
Earlier use of gettimeofday() resulted to wrong measurement if system
administrator did manual time changes, or NTP or adjtime(3) adjusment
happen during fsck run.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Karel Zak [Mon, 9 Feb 2015 11:03:18 +0000 (12:03 +0100)]
lscpu: fix typos in ppc code
Reported-by: David Gibson <dgibson@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
J William Piggott [Sun, 8 Feb 2015 21:44:26 +0000 (16:44 -0500)]
hwclock: add checking kernel vars to man-page
How to check kernel clock variables with either
adjtimex or ntptime added to man-page.
Signed-off-by: J William Piggott <elseifthen@gmx.com>
J William Piggott [Sun, 8 Feb 2015 01:44:02 +0000 (20:44 -0500)]
hwclock: Add ntptime reference to man-page
Some distros do not have an adjtimex package;
ntptime can be used as an alternate.
Signed-off-by: J William Piggott <elseifthen@gmx.com>
Karel Zak [Fri, 6 Feb 2015 10:23:40 +0000 (11:23 +0100)]
lscpu: cleanup ppc virtualization detection
References: https://bugzilla.redhat.com/show_bug.cgi?id=
1151604
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 6 Feb 2015 09:34:06 +0000 (10:34 +0100)]
libfdisk: fix compiler warning
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 6 Feb 2015 09:31:03 +0000 (10:31 +0100)]
lscpu: fix compiler error [-Werror=format-security]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 6 Feb 2015 09:24:18 +0000 (10:24 +0100)]
libfdisk: make code more readable
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 5 Feb 2015 15:50:29 +0000 (16:50 +0100)]
lscpu: detect also QEMU emulation on ppc
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 4 Feb 2015 10:50:19 +0000 (11:50 +0100)]
build-sys: release++ (v2.26-rc2)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 4 Feb 2015 10:48:33 +0000 (11:48 +0100)]
docs: update v2.26-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 4 Feb 2015 10:45:20 +0000 (11:45 +0100)]
docs: update AUTHORS file
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 4 Feb 2015 10:42:08 +0000 (11:42 +0100)]
po: merge changes
Signed-off-by: Karel Zak <kzak@redhat.com>
Yuri Chornoivan [Wed, 4 Feb 2015 10:38:16 +0000 (11:38 +0100)]
po: update uk.po (from translationproject.org)
Jakub Bogusz [Wed, 4 Feb 2015 10:38:16 +0000 (11:38 +0100)]
po: update pl.po (from translationproject.org)
Benno Schulenberg [Wed, 4 Feb 2015 10:38:16 +0000 (11:38 +0100)]
po: update nl.po (from translationproject.org)
Takeshi Hamasaki [Wed, 4 Feb 2015 10:38:16 +0000 (11:38 +0100)]
po: update ja.po (from translationproject.org)
Antonio Ceballos Roa [Wed, 4 Feb 2015 10:38:16 +0000 (11:38 +0100)]
po: update es.po (from translationproject.org)
Mario Blättermann [Wed, 4 Feb 2015 10:38:16 +0000 (11:38 +0100)]
po: update de.po (from translationproject.org)
Karel Zak [Wed, 4 Feb 2015 10:34:39 +0000 (11:34 +0100)]
tests: update build-sys tests
The systemd libs are merged into one shared library only.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 3 Feb 2015 13:20:53 +0000 (14:20 +0100)]
tests: don't hardcode devnames
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 3 Feb 2015 13:05:05 +0000 (14:05 +0100)]
libmount: fix type pointer usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 3 Feb 2015 12:44:16 +0000 (13:44 +0100)]
libfdisk: grain is in bytes, fix previous patches
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 3 Feb 2015 12:28:50 +0000 (13:28 +0100)]
tests: update MBR sort test
Now libfdisk writes empty disk labels too. See commit
3d919d95838241aa7ddfe8df7d17ea0fc7d0f5e7 .
Signed-off-by: Karel Zak <kzak@redhat.com>
Benno Schulenberg [Mon, 2 Feb 2015 20:44:34 +0000 (21:44 +0100)]
libfdisk: (dos) make a helpful message fit within 80 characters
Also add a hint for translators.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Karel Zak [Tue, 3 Feb 2015 12:20:45 +0000 (13:20 +0100)]
libfdisk: don't align very small partitions
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 3 Feb 2015 12:06:20 +0000 (13:06 +0100)]
cfdisk: improve ui_get_size() warnings
- don't reset to default after error
- clean previous warnings after users response
- remove unnecessary warning
Reported-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 3 Feb 2015 11:44:00 +0000 (12:44 +0100)]
libfdisk: fix issues with very small partitions
- cfdisk: minimal partitions size is 1 sector
- dos: when align last sector then don't set partition size to zero
for very small partitions.
- don't ignore tiny partitions before free space when define
free-space start offset
- improve some debug messages
Reported-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 3 Feb 2015 11:03:12 +0000 (12:03 +0100)]
libfdisk: (dos) write new empty label too
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 3 Feb 2015 10:22:21 +0000 (11:22 +0100)]
docs: add new cfdisk request to TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 3 Feb 2015 10:16:46 +0000 (11:16 +0100)]
docs: add info about *_DEBUG= to man pages
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 3 Feb 2015 10:04:37 +0000 (11:04 +0100)]
cfdisk: print "wrong order" warning after startup, colorize info messages
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 3 Feb 2015 09:37:33 +0000 (10:37 +0100)]
cfdisk: force main menu to default to Quit/New menu items
Reported-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 2 Feb 2015 12:05:48 +0000 (13:05 +0100)]
cfdisk: disable some KEY_* in ui_get_wqstring()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 2 Feb 2015 11:47:50 +0000 (12:47 +0100)]
cfdisk: default to Quit menu item
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 2 Feb 2015 11:20:44 +0000 (12:20 +0100)]
libfdisk: (dos) fix logical partitions errors handling
The current code in add_partition() de-increment number of partitions
on error when logical partition requested and add_logical() does the
same. The result is mess in partitions array.
The another fixed issue is that add_logical() is called if all primary
partitions are already used although 'pa->start' (the template) is
explicitly defined outside the extended partition. The right behavior
is to end with error message.
Signed-off-by: Karel Zak <kzak@redhat.com>
Benno Schulenberg [Thu, 29 Jan 2015 20:21:48 +0000 (21:21 +0100)]
textual: grammarize and harmonize the stat error message
The message "stat failed %s" seems to say that stat() failed to
do something, or failed to pass a test, but of course it means
that the statting of something failed. So say so. Also make
two very similar messages equal to this one.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Sami Kerola [Thu, 29 Jan 2015 07:52:27 +0000 (07:52 +0000)]
docs: mention nice(1) in renice(1) manual page
Addresses: https://bugs.debian.org/260984
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Jan Kara [Wed, 28 Jan 2015 09:50:53 +0000 (10:50 +0100)]
mount: Further FAT mount option update
Add some mount options mentioned in Documentation/filesystems/vfat.txt.
Signed-off-by: Jan Kara <jack@suse.cz>
Jan Kara [Wed, 28 Jan 2015 09:00:25 +0000 (10:00 +0100)]
mount: Add documentation of FAT mount option time_offset
Signed-off-by: Jan Kara <jack@suse.cz>
Karel Zak [Mon, 2 Feb 2015 10:15:47 +0000 (11:15 +0100)]
whereis: lookup also info docs
Signed-off-by: Karel Zak <kzak@redhat.com>
Benno Schulenberg [Sun, 1 Feb 2015 21:12:14 +0000 (22:12 +0100)]
sfdisk: actually translate the table headers by calling gettext()
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Benno Schulenberg [Sun, 1 Feb 2015 14:00:13 +0000 (15:00 +0100)]
docs: add the Sort command to the man page of cfdisk
Also sort T into its proper position, improve the wording of U,
and add the Left and Right arrow keys.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Benno Schulenberg [Sun, 1 Feb 2015 14:00:12 +0000 (15:00 +0100)]
build-sys: improve wording and punctuation of several messages
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Benno Schulenberg [Sun, 1 Feb 2015 14:00:11 +0000 (15:00 +0100)]
libfdisk: actually translate the human-readable name of the partition type
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>