]>
git.ipfire.org Git - thirdparty/util-linux.git/log
Sami Kerola [Wed, 23 Apr 2014 21:59:29 +0000 (22:59 +0100)]
dmesg: move get_boot_time() to lib/timeutils
In future the last(1) will use get_boot_time() as well.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Karel Zak [Tue, 29 Apr 2014 08:37:26 +0000 (10:37 +0200)]
uuidd: remove timeout from systemd service file
It seems that SAP does not like the timeout, for performance is
better to keep the daemon permanently running. This is no problem
because uuidd is used only on systems with very unusual requirements
to UUID.
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=
1092039
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 28 Apr 2014 10:01:37 +0000 (12:01 +0200)]
tests: add kill_functions.sh to avoid duplicate code
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 28 Apr 2014 09:10:40 +0000 (11:10 +0200)]
Merge branch 'kill-tests-v4' of git://github.com/kerolasa/lelux-utiliteetit
* 'kill-tests-v4' of git://github.com/kerolasa/lelux-utiliteetit:
lib/procutils: notice setuid() process ownership changes
lib/procutils: reset errno before strtol() call
kill: add --verbose option to display what is killed
tests: check kill all user processes
tests: check kill print pid option
tests: check various ways to specify kill signal
tests: check kill is converting signals names correctly
tests: add signal receiver program
kill: remove unnecessary indirection
kill: make options --pid and --queue mutually exclusive
Sami Kerola [Sun, 20 Apr 2014 09:36:05 +0000 (10:36 +0100)]
lib/procutils: notice setuid() process ownership changes
Earlier the owner of a process was determined by owner of the
/proc/<pid>/stat file. When changes user ID privileges with setuid() the
stat file ownership is not updated, that resulted kill(1) to consider
such processes where running using same uid as the present process.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Tue, 15 Apr 2014 10:54:21 +0000 (11:54 +0100)]
lib/procutils: reset errno before strtol() call
When going through /proc the last entry made readdir() to alter errno,
which made the strtol() to think something went wrong, resulting kill(1)
tests to fail when running in --parallel mode.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Tue, 15 Apr 2014 10:40:33 +0000 (11:40 +0100)]
kill: add --verbose option to display what is killed
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Fri, 11 Apr 2014 23:59:31 +0000 (00:59 +0100)]
tests: check kill all user processes
CC: Bernhard Voelker <mail@bernhard-voelker.de>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Fri, 11 Apr 2014 23:33:55 +0000 (00:33 +0100)]
tests: check kill print pid option
CC: Bernhard Voelker <mail@bernhard-voelker.de>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Wed, 9 Apr 2014 20:43:56 +0000 (21:43 +0100)]
tests: check various ways to specify kill signal
CC: Bernhard Voelker <mail@bernhard-voelker.de>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Wed, 9 Apr 2014 20:13:51 +0000 (21:13 +0100)]
tests: check kill is converting signals names correctly
CC: Bernhard Voelker <mail@bernhard-voelker.de>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Tue, 8 Apr 2014 21:36:30 +0000 (22:36 +0100)]
tests: add signal receiver program
Target to kill with a check that will be written later.
CC: Bernhard Voelker <mail@bernhard-voelker.de>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Mon, 7 Apr 2014 21:41:00 +0000 (22:41 +0100)]
kill: remove unnecessary indirection
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Mon, 7 Apr 2014 21:32:44 +0000 (22:32 +0100)]
kill: make options --pid and --queue mutually exclusive
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Karel Zak [Fri, 25 Apr 2014 08:07:24 +0000 (10:07 +0200)]
mount: note that -c unused for mount.<type> in man page
Addresses: https://github.com/karelzak/util-linux/issues/70
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 24 Apr 2014 11:42:54 +0000 (13:42 +0200)]
wipefs: don't erase nested partition tables by default
It's possible the partition contains a partition table (BSD, or hybrid
boot images). It could be unexpected for users that the lost all (or
another) partitions when work with non-whole disk device. Let's
require --force.
For example:
# wipefs --all /dev/sdb
erases all including partition table, but on hybrid disk where the
first partition starts at first sector (so partition table is within
the first partition):
# wipefs --all /dev/sdb1
/dev/sdb1: ignore nested "dos" partition table on non-whole disk device
wipefs: Use the --force option to force erase.
asks for --force.
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=
1077310
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 23 Apr 2014 13:28:09 +0000 (15:28 +0200)]
docs: update TODO
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 23 Apr 2014 10:34:48 +0000 (12:34 +0200)]
tests: update Py parse mountinfo test
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 23 Apr 2014 10:34:24 +0000 (12:34 +0200)]
tests: rely on ts_init_py only
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 23 Apr 2014 10:21:29 +0000 (12:21 +0200)]
tests: update fdisk sun test
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 23 Apr 2014 09:09:44 +0000 (11:09 +0200)]
Revert "dmesg: don't use brow/yellow in output"
It will be better to support colors customization than use
ugly blue color. BTW, for example git-log uses brow/yellow too
by default.
This reverts commit
0b6fbc25990d9498956e06bfcf699fca094e24a9 .
Karel Zak [Wed, 23 Apr 2014 07:27:13 +0000 (09:27 +0200)]
tests: add fdisk 'f' command MBR test
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 22 Apr 2014 19:11:03 +0000 (21:11 +0200)]
libfdisk: (dos) improve logical partition reorder command
- use qsort to sort by EBR offsets
- sort by EBR data partition start sectors
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 22 Apr 2014 12:54:44 +0000 (14:54 +0200)]
libfdisk: (mbr) fix logical chain termination
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 22 Apr 2014 11:11:23 +0000 (13:11 +0200)]
Merge branch 'test-fdisk' of https://github.com/rudimeier/util-linux
Bjarni Ingi Gislason [Mon, 21 Apr 2014 00:30:27 +0000 (00:30 +0000)]
swaplabel: Improve the typesetting of the manual
Change macro 'IR' to 'I' if it has only one (italic) argument
Remove space at end of lines
Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Bjarni Ingi Gislason [Mon, 21 Apr 2014 00:30:26 +0000 (00:30 +0000)]
sfdisk: Improve the typesetting of the manual
FIXME
Units KB, MB, GB, etc. are ambiguous (not necessarily used here)
Prefixes kilo, mega, giga, etc. are ambiguous with the unit byte (ditto)
Change ' \- ' to ' \(en ' (an en-dash), if it is a dash (pause,
separation)
Change ' - ' to ' \(en ' (an en-dash), if it is a dash (pause,
separation)
Change '\-' to '-' (code "hyphen-minus", rendered with the glyph
hyphen in troff), if it is a part of a compound name.
A minus is not used in words. People using UTF-8 and copy-and-paste
can(?) (may?) use "info", "man --ascii" or the command "man" should
have an option to display the '-' ("hyphen-minus") in names of options
with the code (character name) "hyphen-minus" (u002D) instead of
"u2010" (code (character) name "hyphen").
Change '-' to '\-', if it indicates an option
Protect a full stop (.), that begins or ends a string, with \&
Correct space between sentences to two space characters (or begin
each sentence on a new line).
Change '--' to '\-\-', if it indicates an option
Add \~ (no-break space) around '|' (means "or")
Change ' -- ' to ' \(en ' (an en-dash), if it is a dash (pause,
separation)
Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Bjarni Ingi Gislason [Mon, 21 Apr 2014 00:30:25 +0000 (00:30 +0000)]
raw: Improve the typesetting of the manual
Remove space at end of lines
Change '-' to '\-', if it indicates an option
Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Bjarni Ingi Gislason [Mon, 21 Apr 2014 00:30:24 +0000 (00:30 +0000)]
partx: Improve the typesetting of the manual
Add a space character around '|' (means "or")
Add "(hyphen-minus)" after "\-" to show character name for input
Change '\-\-' to '\en', when it is used as a dash (pause, separation)
Add a comma before "or" in a series of words (3 or more)
Change '-' to '\(en' (an en-dash), if it means a range
Protect a full stop (.), that begins or ends a string, with \&
Change '--' to '\-\-', if it indicates an option
Change '-' to '\-', if it indicates an option
Change '-' to '\-', if means a minus
Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Ruediger Meier [Fri, 18 Apr 2014 16:01:26 +0000 (18:01 +0200)]
tests: fdisk added a partitions order message (
8b60872e )
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Karel Zak [Fri, 18 Apr 2014 12:00:39 +0000 (14:00 +0200)]
libfdisk: (gpt) implement 'fix order' commnad
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 18 Apr 2014 11:26:08 +0000 (13:26 +0200)]
libfdisk: add partitions reorder operation to label API
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 18 Apr 2014 11:12:24 +0000 (13:12 +0200)]
nsenter: add + to getopt_long()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 18 Apr 2014 11:12:13 +0000 (13:12 +0200)]
unshare: add + to getopt_long()
Signed-off-by: Karel Zak <kzak@redhat.com>
Lukas Czerner [Wed, 2 Apr 2014 11:31:05 +0000 (13:31 +0200)]
fallocate: add FALLOC_FL_ZERO_RANGE support
Recent Linux kernel supports FALLOC_FL_ZERO_RANGE in fallocate(2).
This patch adds FALLOC_FL_ZERO_RANGE support to fallocate utility,
by introducing a new option -z|--zero-range.
Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Dongsu Park [Thu, 27 Feb 2014 10:35:07 +0000 (11:35 +0100)]
fallocate: introduce an option -c to support COLLAPSE_RANGE
Introduce a new option -c (or --collapse-range) to support a new flag
FALLOC_FL_COLLAPSE_RANGE for fallocate(2). It will nullify a particular
range [offset, offset+len] by shifting extents beyond the range to the
beginning of the hole.
Cc: Lukas Czerner <lczerner@redhat.com>
Cc: Namjae Jeon <namjae.jeon@samsung.com>
Cc: Ashish Sangwan <a.sangwan@samsung.com>
Signed-off-by: Dongsu Park <dongsu.park@profitbricks.com>
Karel Zak [Fri, 18 Apr 2014 10:01:59 +0000 (12:01 +0200)]
libsmartcols: fix buffer usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 18 Apr 2014 10:01:42 +0000 (12:01 +0200)]
libblkid: make new_partition() more robust
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 18 Apr 2014 09:48:53 +0000 (11:48 +0200)]
libfdisk: fix logical partition reorder command
Reported-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 16 Apr 2014 10:51:08 +0000 (12:51 +0200)]
libfdisk: add generic function to check partitions order
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 15 Apr 2014 13:25:45 +0000 (15:25 +0200)]
libsmartcols: don't colorize tree ascii art
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 15 Apr 2014 13:25:18 +0000 (15:25 +0200)]
lib/mbalign: report also size in bytes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 15 Apr 2014 12:23:34 +0000 (14:23 +0200)]
libsmartcols: don't mix width (in cells) and size (in bytes)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 15 Apr 2014 11:59:46 +0000 (13:59 +0200)]
libsmartcols: resuse buffer for encoded data
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 15 Apr 2014 11:58:34 +0000 (13:58 +0200)]
lib/mbsalign: split mbs_safe_encode()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 15 Apr 2014 11:09:20 +0000 (13:09 +0200)]
libblkid: fix return codes from PART_ENTRY_* probing
The partitions prober does two step:
1) probe the assigned device for partition table
2) probe whole-disk device for partition table if the assigned device is a
partition (this generates PART_ENTRY_* results for blkid -p -o udev))
The step 2) is optional and the return code from this probing should
not override success (rc=0) from the step 1) -- except situations when
the step 2) ends with I/O error or when the step 1) found nothing, but
2) was successful.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 14 Apr 2014 14:59:44 +0000 (16:59 +0200)]
libsmartcols: fix padding
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 14 Apr 2014 14:41:20 +0000 (16:41 +0200)]
libsmartcols: use buffer struct in table_print.c
* consolidate code in table_print.c
* make the code easy to extend
* use return codes everywhere
Signed-off-by: Karel Zak <kzak@redhat.com>
Ondrej Oprala [Tue, 8 Apr 2014 07:48:49 +0000 (09:48 +0200)]
delpart: minor man page improvements
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Ondrej Oprala [Tue, 8 Apr 2014 07:48:48 +0000 (09:48 +0200)]
cfdisk: minor man page improvements
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Ondrej Oprala [Tue, 8 Apr 2014 07:48:47 +0000 (09:48 +0200)]
addpart: minor man page improvements
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Ondrej Oprala [Tue, 8 Apr 2014 07:48:46 +0000 (09:48 +0200)]
vipw: minor man page improvements
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Ondrej Oprala [Tue, 8 Apr 2014 07:48:45 +0000 (09:48 +0200)]
nologin: minor man page improvements
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Ondrej Oprala [Tue, 8 Apr 2014 07:48:44 +0000 (09:48 +0200)]
utmpdump: minor man page improvements
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Ondrej Oprala [Tue, 8 Apr 2014 07:48:43 +0000 (09:48 +0200)]
sulogin: minor man page improvements
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Ondrej Oprala [Tue, 8 Apr 2014 07:48:42 +0000 (09:48 +0200)]
su: fix minor typos in the man page
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Ondrej Oprala [Tue, 8 Apr 2014 07:48:41 +0000 (09:48 +0200)]
runuser: fix minor typos in the man page
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Ondrej Oprala [Tue, 8 Apr 2014 07:48:40 +0000 (09:48 +0200)]
last: fix minor typos in the man page
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Karel Zak [Mon, 14 Apr 2014 11:44:23 +0000 (13:44 +0200)]
libsmartcols: improve line and cell separators
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 14 Apr 2014 11:24:24 +0000 (13:24 +0200)]
Merge branch 'scols' of git://github.com/ooprala/util-linux
Ondrej Oprala [Wed, 9 Apr 2014 14:58:28 +0000 (16:58 +0200)]
libsmartcols: add separator getters/setters
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Karel Zak [Thu, 10 Apr 2014 07:58:36 +0000 (09:58 +0200)]
fstrim: add hint to man page
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 10 Apr 2014 07:38:17 +0000 (09:38 +0200)]
fstrim: daily -> weekly in systemd timer
* add link to fstrimg man page
* less aggressive frequency
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 9 Apr 2014 12:27:26 +0000 (14:27 +0200)]
Revert "build-sys: gettexts 0.18 -> 0.18.2 due to MKDIR_P"
This reverts commit
0576dbd3ea114dc35b797ad7216f1ed5814e7c6b .
There is two possible ways:
1/ autotools complains that gettext 0.18 uses deprecated macro
2/ users complain that 0.18.2 is too new and they cannot rebuild
We care about users and project contributors, so let's live for the
next util-linux release with the old stupid gettext 0.18.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 9 Apr 2014 10:23:30 +0000 (12:23 +0200)]
build-sys: consolidate systemd support
* systemd (since v209) uses only one library (when compiled
without --enable-compat-libs)
* all systemd build-sys stuff is merged into HAVE_SYSTEMD
(automake) and HAVE_LIBSYSTEMD (C macro) now
* all is controlled by --with-systemd, default is to automatically
check for systemd libs
* no more --enable-socket-activation and --enable-journald
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 8 Apr 2014 17:19:14 +0000 (19:19 +0200)]
build-sys: fix fstrim systemd stuff
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 8 Apr 2014 10:13:02 +0000 (12:13 +0200)]
libsmartcols: rewrite test code to tree(1)-like util
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 8 Apr 2014 08:14:12 +0000 (10:14 +0200)]
libfdisk: (dos) make EBR parser more robust
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 7 Apr 2014 12:07:49 +0000 (14:07 +0200)]
libsmartcols: improve docs
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 7 Apr 2014 11:43:50 +0000 (13:43 +0200)]
libsmartcols: add debug and version functions
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 7 Apr 2014 11:27:24 +0000 (13:27 +0200)]
libblkid: remove private function from docs
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 7 Apr 2014 11:26:56 +0000 (13:26 +0200)]
build-sys: fix .h.in usage in libblkid and libmount
Signed-off-by: Karel Zak <kzak@redhat.com>
Anton Blanchard [Sun, 6 Apr 2014 23:18:13 +0000 (09:18 +1000)]
setarch: Fix ppc64le architectures
setarch currently fails on ppc64le because it tries to
use big endian architecture names. Fix it.
Signed-off-by: Anton Blanchard <anton@samba.org>
Jonathan Liu [Fri, 4 Apr 2014 13:08:01 +0000 (00:08 +1100)]
umount: fix typo in usage
Signed-off-by: Jonathan Liu <net147@gmail.com>
Thomas Bächler [Thu, 3 Apr 2014 21:41:51 +0000 (23:41 +0200)]
fstrim: add systemd units
This adds a timer and a service for systemd that runs
fstrim -a once a day.
The Persistent=true option used will only work on systemd 212
or newer.
Ondrej Oprala [Thu, 3 Apr 2014 16:08:21 +0000 (18:08 +0200)]
login: fix minor typos in the man page
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Bjarni Ingi Gislason [Thu, 3 Apr 2014 02:29:48 +0000 (02:29 +0000)]
mkswap: Some minor typographical corrections to the manual
-- changed to \(en (an en-dash) if it is a dash (pause, separation)
- changed to \- if it indicates an option
A full stop (.), that begins or ends a string, protected with \&
Space between sentences corrected to two word spaces
-- changed to \-\- if it indicates an option
Signed-off-by: Karel Zak <kzak@redhat.com>
Bjarni Ingi Gislason [Thu, 3 Apr 2014 02:28:27 +0000 (02:28 +0000)]
mkfs.minix: Some typographical changes in the manual
- between numbers changed to \(en if it is a range
Signed-off-by: Karel Zak <kzak@redhat.com>
Bjarni Ingi Gislason [Thu, 3 Apr 2014 02:25:58 +0000 (02:25 +0000)]
mkfs.cramfs: Some typographical corrections to the manual
The unit "MB" is ambigous. Use "MiB" if "M" does not mean 10^6.
Otherwise add "(M = 10^6)" after it.
Changes:
Unpaddable space (\ ) added between a number and an unit. A nuber
and a unit are not one word. Is "16MB" written "sixteenmegabytes"?
Signed-off-by: Karel Zak <kzak@redhat.com>
Bjarni Ingi Gislason [Thu, 3 Apr 2014 02:23:04 +0000 (02:23 +0000)]
mkfs.bfs: One typographical correction to the manual
- between numbers changed to \(en (an en-dash)
Signed-off-by: Karel Zak <kzak@redhat.com>
Bjarni Ingi Gislason [Wed, 2 Apr 2014 23:42:06 +0000 (23:42 +0000)]
mkfs: Some typographical changes to the manual
- changed to \- if it means an option
A full stop (.), that begins or ends a string, protected with \&
No line adjustment used for section "SEE ALSO" (.na/.ad)
Signed-off-by: Karel Zak <kzak@redhat.com>
Bjarni Ingi Gislason [Wed, 2 Apr 2014 23:37:26 +0000 (23:37 +0000)]
isosize: A few typographical changes to the manual
A full stop (.), that begins or ends a string, protected with \&
A space between a number and an unit changed to an unpaddable space
"\ "
Signed-off-by: Karel Zak <kzak@redhat.com>
Bjarni Ingi Gislason [Wed, 2 Apr 2014 23:35:29 +0000 (23:35 +0000)]
fsck.minix: A few typographical corrections to the manual
- between numbers changed to \(en if it means a range
A full stop (.), that begins or ends a string, protected with \&
Signed-off-by: Karel Zak <kzak@redhat.com>
Bjarni Ingi Gislason [Wed, 2 Apr 2014 23:30:12 +0000 (23:30 +0000)]
fsck: Some typographical corrections to the manual
The word "kilobytes" is ambiguous. Change it to "kibibytes" if kilo
does not mean 1000. Otherwise add "(1000 B)" after it.
A string, that begins or ends with a full stop (.), protected with \&
- changed to \- if it shows an option
-- change to \(en if it means a dash (pause, separation)
Space between sentences is two word spaces in *roff. Thus it is
better to begin each sentence on a new line when the file contains
formatting commands
--- changed to \(en if it means a dash (pause, separation)
Punctuation separated from a word with a space, if it is an argument
to a macro like "BR" (two font styles used alternately)
Adjusting inhibited for the section "SEE ALSO" with ".na/.ad"
Signed-off-by: Karel Zak <kzak@redhat.com>
Bjarni Ingi Gislason [Wed, 2 Apr 2014 23:25:08 +0000 (23:25 +0000)]
fdformat: Some minor change to the manual
\- changed to - (code "hyphen-minus", rendered with the glyph hyphen
in troff) if it is a part of a compound name. A minus is not used in
words. People using UTF-8 and copy-and-pase can(?) (may?) use "info",
"man --ascii" or the command "man" should have an option to display the
- in names of options with the code (character name) "hyphen-minus"
(u002D) instead of "u2010" (code (character) name "hyphen")
Signed-off-by: Karel Zak <kzak@redhat.com>
Bjarni Ingi Gislason [Wed, 2 Apr 2014 23:23:32 +0000 (23:23 +0000)]
blockdev: Some minor corrections to the manual
Macro, that alternately changes the input between two font styles,
changed to the macro for one font style change, if there is only one
argument
Text string, that begins or ends with a full stop (.) protected with \&
-- changed to \-\- if it is an option
- changed to \(en if it is a dash (pause, seperation)
Signed-off-by: Karel Zak <kzak@redhat.com>
Bjarni Ingi Gislason [Tue, 1 Apr 2014 17:26:40 +0000 (17:26 +0000)]
mount.8: Some typographical and prefix corrections to the manual
I forgot to add the patch to the attachment.
Additional changes to "Changes:"
" \(em " changed to " \(en ", as the em-dash with a word space on each
side is to long (troff)
".na/.ad" is not used but .nf/.fi for a long command line and it is
split into two lines
Word "illegal" is changed to "invalid"
Word "hyphen-separated" is changed to '"hyphen-minus"-separated' as
the meaning is the code and not the glyph (on the command line) (beware
of UTF-8)
--
Bjarni I. Gislason
Karel Zak [Mon, 7 Apr 2014 10:09:11 +0000 (12:09 +0200)]
mount: apply "nofail" to MNT_ERR_NOSOURCE libmount error
fstab:
UUID=nonexist /mnt/nonexist1 ext4 nofail 0 1
# mount -av
mount: can't find UUID=nonexist
.. this is bug of course.
Reported-by: Patrick McLean <chutzpah@gentoo.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 7 Apr 2014 09:59:30 +0000 (11:59 +0200)]
umount: more robust success message for --all
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 7 Apr 2014 09:53:05 +0000 (11:53 +0200)]
mount: fix --all and nofail return code
Now the "nofail" affects warnings warning messages only. That's wrong
and regression (against original non-libmount version). The nofail has
to control return code too.
Reported-by: Patrick McLean <chutzpah@gentoo.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 7 Apr 2014 09:29:09 +0000 (11:29 +0200)]
kill: fix bug in --all semantic
Introduces by
2ab6683f59cd3371b1c3ac8b5c248d5104ed4d41 .
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 7 Apr 2014 09:22:12 +0000 (11:22 +0200)]
kill: make kill-by-name more obvious in man page
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 7 Apr 2014 09:12:14 +0000 (11:12 +0200)]
kill: add copyrights, etc.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 7 Apr 2014 09:07:00 +0000 (11:07 +0200)]
kill: return 64 on partial success
Return 64 (aka SOME_OK) when more than process specified and the
operation success only for subset of the processes.
# kill -s 0 firefox mutt xxx; echo $?
kill: cannot find process "xxx"
64
We already use this concept for chcpu(8) or mount(8).
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 7 Apr 2014 08:35:30 +0000 (10:35 +0200)]
kill: tiny change in man page
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 7 Apr 2014 08:17:23 +0000 (10:17 +0200)]
kill: coding style, simplify code
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 7 Apr 2014 08:10:43 +0000 (10:10 +0200)]
kill: rename printsig() to print_signal_name()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 7 Apr 2014 08:05:14 +0000 (10:05 +0200)]
docs: add pid alis to deprecated.txt
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 7 Apr 2014 08:03:50 +0000 (10:03 +0200)]
kill: rename printsignals() to print_all_signalsprint_all_signals()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 7 Apr 2014 07:59:51 +0000 (09:59 +0200)]
kill: reorder functions to make it more readable
Signed-off-by: Karel Zak <kzak@redhat.com>