]> git.ipfire.org Git - thirdparty/util-linux.git/log
thirdparty/util-linux.git
4 years agotest_uuid_parser: fix time_t=long assumptions
Karel Zak [Thu, 6 May 2021 08:13:27 +0000 (10:13 +0200)] 
test_uuid_parser: fix time_t=long assumptions

References: http://github.com/karelzak/util-linux/commit/ce3355cc54d97711bc240783324f7ab51fd6e371
Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agofsck: fix time_t=long assumptions
Karel Zak [Thu, 6 May 2021 08:13:27 +0000 (10:13 +0200)] 
fsck: fix time_t=long assumptions

References: http://github.com/karelzak/util-linux/commit/ce3355cc54d97711bc240783324f7ab51fd6e371
Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agoscriptplay: fix time_t=long assumptions
Karel Zak [Thu, 6 May 2021 08:13:27 +0000 (10:13 +0200)] 
scriptplay: fix time_t=long assumptions

Fixes: https://github.com/karelzak/util-linux/issues/1069
References: http://github.com/karelzak/util-linux/commit/ce3355cc54d97711bc240783324f7ab51fd6e371
Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agolib/pty-session: fix time_t=long assumptions
Karel Zak [Thu, 6 May 2021 08:13:27 +0000 (10:13 +0200)] 
lib/pty-session: fix time_t=long assumptions

Fixes: https://github.com/karelzak/util-linux/issues/1069
References: http://github.com/karelzak/util-linux/commit/ce3355cc54d97711bc240783324f7ab51fd6e371
Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agoflock: fix time_t=long assumptions
Karel Zak [Thu, 6 May 2021 08:13:27 +0000 (10:13 +0200)] 
flock: fix time_t=long assumptions

This also fixes flock for archs (e.g. sparc64) where suseconds_t is not long.

Fixes: https://github.com/karelzak/util-linux/issues/1069
References: http://github.com/karelzak/util-linux/commit/ce3355cc54d97711bc240783324f7ab51fd6e371
Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agobuild-sys: keep adoc files in dist_noinst_DATA
Karel Zak [Wed, 5 May 2021 11:35:30 +0000 (13:35 +0200)] 
build-sys: keep adoc files in dist_noinst_DATA

* rename MANPAGES_EXTRA= to ADOCFILES_COMMON=

* keep track about individual adoc files by dist_noinst_DATA=
  This variable is not effected by automake conditions, so the files
  are always distributed.

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agotests: update sparc lscpu tests
Karel Zak [Mon, 3 May 2021 18:30:42 +0000 (20:30 +0200)] 
tests: update sparc lscpu tests

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agolscpu: assume L1d, L1i, L2, L3 for sparc
Karel Zak [Mon, 3 May 2021 18:28:30 +0000 (20:28 +0200)] 
lscpu: assume L1d, L1i, L2, L3 for sparc

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agolscpu: read Sparc caches files
Karel Zak [Mon, 3 May 2021 14:27:35 +0000 (16:27 +0200)] 
lscpu: read Sparc caches files

Fixes: https://github.com/karelzak/util-linux/issues/1296
Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agomeson: fix systemd dependence
Karel Zak [Mon, 3 May 2021 09:10:10 +0000 (11:10 +0200)] 
meson: fix systemd dependence

Fixes: https://github.com/karelzak/util-linux/issues/1301
Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agoMerge branch 'master' of https://github.com/arbego/util-linux
Karel Zak [Fri, 30 Apr 2021 11:12:26 +0000 (13:12 +0200)] 
Merge branch 'master' of https://github.com/arbego/util-linux

* 'master' of https://github.com/arbego/util-linux:
  Fixed wrongful time_t=long assumptions in hwclock.c and timeutils.c
  Changed int64_t casts to long long int casts
  Fixed format strings and type casts in hwclock to work with 64-bit time_t on 32-bit linux

4 years agoFixed wrongful time_t=long assumptions in hwclock.c and timeutils.c
Armin Begovic [Thu, 29 Apr 2021 11:55:52 +0000 (11:55 +0000)] 
Fixed wrongful time_t=long assumptions in hwclock.c and timeutils.c

4 years agobuild-sys: add configure options to disable individual utils
heitbaum [Thu, 29 Apr 2021 08:19:50 +0000 (08:19 +0000)] 
build-sys: add configure options to disable individual utils

4 years agolscpu: fix "caches" header
Karel Zak [Wed, 28 Apr 2021 08:51:07 +0000 (10:51 +0200)] 
lscpu: fix "caches" header

It's possible that lscpu does not print any caches if full caches size
is zero. In this case we do not need the header.

Addresses: https://github.com/karelzak/util-linux/issues/1207
Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agodocs/TODO: Minor update and fix typo
Mario Blättermann [Sat, 24 Apr 2021 10:20:08 +0000 (12:20 +0200)] 
docs/TODO: Minor update and fix typo

4 years agoChanged int64_t casts to long long int casts
Armin Begovic [Fri, 23 Apr 2021 21:28:37 +0000 (23:28 +0200)] 
Changed int64_t casts to long long int casts

4 years agoFixed format strings and type casts in hwclock to work with 64-bit time_t on 32-bit...
Armin Begovic [Fri, 23 Apr 2021 20:48:13 +0000 (22:48 +0200)] 
Fixed format strings and type casts in hwclock to work with 64-bit time_t on 32-bit linux

4 years agozramctl: (man) fix streams default number
Karel Zak [Fri, 23 Apr 2021 11:01:57 +0000 (13:01 +0200)] 
zramctl: (man) fix streams default number

References: https://www.kernel.org/doc/html/latest/admin-guide/blockdev/zram.html#set-max-number-of-compression-streams
References: https://github.com/torvalds/linux/commit/da9556a2367cf2261ab4d3e100693c82fb1ddb26
Fixes: https://github.com/karelzak/util-linux/issues/1283
Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agoscriptlive: (man) add missing parenthesis
Karel Zak [Fri, 23 Apr 2021 09:35:20 +0000 (11:35 +0200)] 
scriptlive: (man) add missing parenthesis

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agoMerge branch 'fix-misspellings' of https://github.com/rffontenelle/util-linux
Karel Zak [Fri, 23 Apr 2021 08:49:10 +0000 (10:49 +0200)] 
Merge branch 'fix-misspellings' of https://github.com/rffontenelle/util-linux

4 years agoMerge branch 'master' of https://github.com/mariobl/util-linux
Karel Zak [Fri, 23 Apr 2021 08:44:46 +0000 (10:44 +0200)] 
Merge branch 'master' of https://github.com/mariobl/util-linux

* 'master' of https://github.com/mariobl/util-linux:
  po-man: Fix typos in de.po and po4a.cfg
  hardlink: fix typo

4 years agodocs: update TODO
Karel Zak [Fri, 23 Apr 2021 08:43:06 +0000 (10:43 +0200)] 
docs: update TODO

Addresses: https://github.com/karelzak/util-linux/issues/1291
Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agobuild-sys: add .stamp to gitignore
Karel Zak [Fri, 23 Apr 2021 08:39:35 +0000 (10:39 +0200)] 
build-sys: add .stamp to gitignore

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agobuild-sys: fix typo
Karel Zak [Thu, 22 Apr 2021 14:11:51 +0000 (16:11 +0200)] 
build-sys: fix typo

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agoFix misspellings
Rafael Fontenelle [Thu, 22 Apr 2021 23:31:05 +0000 (20:31 -0300)] 
Fix misspellings

4 years agopo-man: Fix typos in de.po and po4a.cfg
Mario Blättermann [Thu, 22 Apr 2021 16:50:46 +0000 (18:50 +0200)] 
po-man: Fix typos in de.po and po4a.cfg

4 years agoMerge remote-tracking branch 'upstream/master'
Mario Blättermann [Thu, 22 Apr 2021 16:41:50 +0000 (18:41 +0200)] 
Merge remote-tracking branch 'upstream/master'

4 years agobuild-sys: disable po-man by default, cleanup summary
Karel Zak [Thu, 22 Apr 2021 13:59:54 +0000 (15:59 +0200)] 
build-sys: disable po-man by default, cleanup summary

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agobuild-sys: add uninstall to po-man
Karel Zak [Thu, 22 Apr 2021 08:19:50 +0000 (10:19 +0200)] 
build-sys: add uninstall to po-man

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agobuild-sys: add targets to generated translated man pages
Karel Zak [Wed, 21 Apr 2021 17:55:27 +0000 (19:55 +0200)] 
build-sys: add targets to generated translated man pages

* add --enable-poman (disabled by default)
* add po-man/Makefile.am for "make all" and "make install"
* install man pages to $mandir/$lang/man{1,3,5,8}

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agoMerge branch 'topic/po4a' of https://github.com/mariobl/util-linux
Karel Zak [Thu, 22 Apr 2021 13:23:27 +0000 (15:23 +0200)] 
Merge branch 'topic/po4a' of https://github.com/mariobl/util-linux

* 'topic/po4a' of https://github.com/mariobl/util-linux:
  mount.a.adoc: Fix markup
  Asciidoc: Add missing macro definition in uclampset.1
  Asciidoc: Fix markup in example man page
  Asciidoc: Fix markup
  Asciidoc: Remove artifact from merge conflict
  Asciidoc: Convert man-common/README to Markdown
  po-man: Fix the example man page
  po-man: Fix typos in po-man/README.md
  po-man: Update the example man page
  po-man: Add po-man/README.md
  po-man: Add (incomplete) de.po for testing purposes
  po-man: Add (incomplete) de.po for testing purposes
  po-man: Adjust paths in po4a.cfg and update .pot file
  po-man: Move Po4a config file and translation template to po-man

4 years agobuild-sys: cleanup Makefiles
Karel Zak [Tue, 20 Apr 2021 12:39:32 +0000 (14:39 +0200)] 
build-sys: cleanup Makefiles

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agobuild-sys: fix test_loopdev build
Karel Zak [Tue, 20 Apr 2021 12:22:34 +0000 (14:22 +0200)] 
build-sys: fix test_loopdev build

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agolib/loopdev: fix is_loopdev() to be usable with partitions
Karel Zak [Tue, 20 Apr 2021 11:20:12 +0000 (13:20 +0200)] 
lib/loopdev: fix is_loopdev() to be usable with partitions

The current implementation of the function does not care if the device
is whole-disk device or partition, all is loopdev. This is regression
as the original is_loopdev() version was based on whole-disk devices
major numbers only.

Fixes: https://github.com/karelzak/util-linux/issues/1202
Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agohardlink: fix typo again
Karel Zak [Mon, 19 Apr 2021 13:30:57 +0000 (15:30 +0200)] 
hardlink: fix typo again

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agolibfdisk: do not reset default if undefined by script
Karel Zak [Mon, 19 Apr 2021 11:19:23 +0000 (13:19 +0200)] 
libfdisk: do not reset default if undefined by script

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agohardlink: fix typo
Karel Zak [Mon, 19 Apr 2021 08:09:08 +0000 (10:09 +0200)] 
hardlink: fix typo

Reported-by: Mario Blättermann <mario.blaettermann@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agoMerge branch 'fix-swapon-summary-heading-alignment' of https://github.com/sebras...
Karel Zak [Mon, 19 Apr 2021 08:05:05 +0000 (10:05 +0200)] 
Merge branch 'fix-swapon-summary-heading-alignment' of https://github.com/sebras/util-linux

* 'fix-swapon-summary-heading-alignment' of https://github.com/sebras/util-linux:
  swapon: Keep headings and fields aligned in summary output.

4 years agoMerge branch 'fix-typo' of https://github.com/sebras/util-linux
Karel Zak [Mon, 19 Apr 2021 08:00:42 +0000 (10:00 +0200)] 
Merge branch 'fix-typo' of https://github.com/sebras/util-linux

* 'fix-typo' of https://github.com/sebras/util-linux:
  Fix typo in help message.

4 years agoMerge branch 'fix-first-lba' of https://github.com/samueldr/util-linux
Karel Zak [Mon, 19 Apr 2021 07:59:42 +0000 (09:59 +0200)] 
Merge branch 'fix-first-lba' of https://github.com/samueldr/util-linux

* 'fix-first-lba' of https://github.com/samueldr/util-linux:
  libfdisk: Include table-length in first-lba checks

4 years agoMerge branch 'lsblk-E-completion' of https://github.com/scop/util-linux
Karel Zak [Mon, 19 Apr 2021 07:33:28 +0000 (09:33 +0200)] 
Merge branch 'lsblk-E-completion' of https://github.com/scop/util-linux

* 'lsblk-E-completion' of https://github.com/scop/util-linux:
  bash-completion: (lsblk) fix -E/-M arg (non-)completion

4 years agoMerge branch 'update-lsns-man-page' of https://github.com/masatake/util-linux
Karel Zak [Mon, 19 Apr 2021 07:32:12 +0000 (09:32 +0200)] 
Merge branch 'update-lsns-man-page' of https://github.com/masatake/util-linux

* 'update-lsns-man-page' of https://github.com/masatake/util-linux:
  man: add ioctl_ns(2) to SEE ALSO of lsns(2)

4 years agomount.a.adoc: Fix markup
Mario Blättermann [Sun, 18 Apr 2021 10:16:37 +0000 (12:16 +0200)] 
mount.a.adoc: Fix markup

4 years agohardlink: fix typo
Mario Blättermann [Sun, 18 Apr 2021 07:17:31 +0000 (09:17 +0200)] 
hardlink: fix typo

4 years agoswapon: Keep headings and fields aligned in summary output.
Sebastian Rasmussen [Sun, 18 Apr 2021 01:41:50 +0000 (03:41 +0200)] 
swapon: Keep headings and fields aligned in summary output.

Because the headings are aligned with tabs the fields must
always be a multiple of 8 characters. Moreover if the field
values are shorter than 8 characters, extra tabs must be
inserted before the succeding field to keep alignment.

swapon parses /proc/swaps, generated by the Linux kernel in
mm/swapfile.c. Its function swap_show() and its recent fix in
commit 6f7939405f61de7d0da7f6c90182e96c4f5ff6c1 were used as
inspiration for this commit.

Additionally inform the translators about the requirements of
formatting and relationship between the heading and entry strings.

4 years agolibfdisk: Include table-length in first-lba checks
Samuel Dionne-Riel [Sat, 17 Apr 2021 06:17:53 +0000 (02:17 -0400)] 
libfdisk: Include table-length in first-lba checks

Otherwise, sfdisk would error out on its own dump, as first-lba would be
earlier than "plausible" assuming the default table size.

This is because it did not look for `table-length` when using an sfdisk
script. This means that using `--dump` on a valid image, could not be
unserialized back into a valid image.

This is helpful in exotic situations, where a partition has to be
created earlier than the conventional "first-lba" (2048). For example,
on Allwinner A64 boards, where a firmware is stored at LBA16. With this
it is possible to ask for `first-lba` at or earlier than 16, by reducing
the number of entries to e.g. 48.

4 years agoFix typo in help message.
Sebastian Rasmussen [Sat, 17 Apr 2021 12:40:13 +0000 (14:40 +0200)] 
Fix typo in help message.

4 years agobash-completion: (lsblk) fix -E/-M arg (non-)completion
Ville Skyttä [Fri, 16 Apr 2021 19:08:48 +0000 (22:08 +0300)] 
bash-completion: (lsblk) fix -E/-M arg (non-)completion

Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
4 years agoman: add ioctl_ns(2) to SEE ALSO of lsns(2)
Masatake YAMATO [Thu, 15 Apr 2021 22:51:45 +0000 (07:51 +0900)] 
man: add ioctl_ns(2) to SEE ALSO of lsns(2)

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
4 years agolibfdisk: use open(O_EXCL) to detect if device is used
Karel Zak [Thu, 15 Apr 2021 13:11:44 +0000 (15:11 +0200)] 
libfdisk: use open(O_EXCL) to detect if device is used

It's seems detection by BLKRRPART is broken in recent kernels
(probably regression), and it's also overkill to force kernel re-read
all and generate all the events. It seems more elegant to use O_EXCL.

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agofdisk: warn if disk in use
Karel Zak [Thu, 15 Apr 2021 12:43:15 +0000 (14:43 +0200)] 
fdisk: warn if disk in use

Fixes: https://github.com/karelzak/util-linux/issues/1278
Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agocfdisk: warn if disk on use
Karel Zak [Thu, 15 Apr 2021 12:39:11 +0000 (14:39 +0200)] 
cfdisk: warn if disk on use

Fixes: https://github.com/karelzak/util-linux/issues/1278
Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agodocs: add kernel version and commit to info about mountinfo workaround
Karel Zak [Thu, 15 Apr 2021 10:29:27 +0000 (12:29 +0200)] 
docs: add kernel version and commit to info about mountinfo workaround

Fixes: https://github.com/karelzak/util-linux/issues/1280
Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agolibsmartcols: make buffers append function more robust
Karel Zak [Wed, 14 Apr 2021 14:25:30 +0000 (16:25 +0200)] 
libsmartcols: make buffers append function more robust

Fixes: https://github.com/karelzak/util-linux/issues/1279
Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agoprlimit: make code more robust
Karel Zak [Wed, 14 Apr 2021 14:15:34 +0000 (16:15 +0200)] 
prlimit: make code more robust

The prlimit description are always defined as static strings, but it
seems better to make the code more readable and robust for static
analyzers and readers.

Fix also missing gettext() call for description help.

Fixes: https://github.com/karelzak/util-linux/issues/1277
Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agotests: small change to the lsns/ioctl_ns
Karel Zak [Tue, 13 Apr 2021 08:40:00 +0000 (10:40 +0200)] 
tests: small change to the lsns/ioctl_ns

* make description short
* chmod a+x to make script executable

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agoMerge branch 'ioctl_ns' of https://github.com/masatake/util-linux
Karel Zak [Tue, 13 Apr 2021 08:34:49 +0000 (10:34 +0200)] 
Merge branch 'ioctl_ns' of https://github.com/masatake/util-linux

* 'ioctl_ns' of https://github.com/masatake/util-linux:
  lsns: add columns for parent namespaces and owner namespaces

4 years agopo: use msgmerge --previous
Karel Zak [Tue, 13 Apr 2021 08:23:26 +0000 (10:23 +0200)] 
po: use msgmerge --previous

Reported-by: Mario Blättermann <mario.blaettermann@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agohexdump: add "hd" program name to man page
Chris Hofstaedtler [Mon, 12 Apr 2021 15:49:26 +0000 (15:49 +0000)] 
hexdump: add "hd" program name to man page

Signed-off-by: Chris Hofstaedtler <zeha@debian.org>
Bug-Debian: https://bugs.debian.org/978977

4 years agolsns: add columns for parent namespaces and owner namespaces
Masatake YAMATO [Tue, 6 Apr 2021 19:28:32 +0000 (04:28 +0900)] 
lsns: add columns for parent namespaces and owner namespaces

See ioctl_ns(2) about parent and owner namespaces.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
4 years agochrt: non-Linux fix
Karel Zak [Mon, 12 Apr 2021 14:21:18 +0000 (16:21 +0200)] 
chrt: non-Linux fix

Reported-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agolslogins: non-Linux fix
Karel Zak [Mon, 12 Apr 2021 14:20:01 +0000 (16:20 +0200)] 
lslogins: non-Linux fix

Reported-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agobuild-sys: fix typo
Karel Zak [Mon, 12 Apr 2021 10:46:51 +0000 (12:46 +0200)] 
build-sys: fix typo

s/Aug/Apr/ ... move back in time ;-)

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agobuild-sys: release++ (v2.37-rc1) v2.37-rc1
Karel Zak [Mon, 12 Apr 2021 09:26:02 +0000 (11:26 +0200)] 
build-sys: release++ (v2.37-rc1)

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agopo: update
Karel Zak [Mon, 12 Apr 2021 09:22:53 +0000 (11:22 +0200)] 
po: update

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agodocs: fix typo
Karel Zak [Mon, 12 Apr 2021 09:22:37 +0000 (11:22 +0200)] 
docs: fix typo

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agomesg: use only stat() to get the current terminal status
Karel Zak [Mon, 12 Apr 2021 07:39:59 +0000 (09:39 +0200)] 
mesg: use only stat() to get the current terminal status

open()+stat() does not work for example after su(1) (from root to
non-root). It seems better to use only stat() to get the current
terminal status.

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1906157
Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agoAsciidoc: Add missing macro definition in uclampset.1
Mario Blättermann [Fri, 9 Apr 2021 20:55:21 +0000 (22:55 +0200)] 
Asciidoc: Add missing macro definition in uclampset.1

4 years agodocs: update v2.37-ReleaseNotes
Karel Zak [Fri, 9 Apr 2021 13:30:19 +0000 (15:30 +0200)] 
docs: update v2.37-ReleaseNotes

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agofindmnt: add --shadowed to the man page
Karel Zak [Fri, 9 Apr 2021 13:07:45 +0000 (15:07 +0200)] 
findmnt: add --shadowed to the man page

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agoblkid: document --hint
Karel Zak [Fri, 9 Apr 2021 13:07:11 +0000 (15:07 +0200)] 
blkid: document --hint

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agolibblkid: remove workaround for FAT+MBR on whole-disk
Karel Zak [Fri, 9 Apr 2021 12:42:18 +0000 (14:42 +0200)] 
libblkid: remove workaround for FAT+MBR on whole-disk

The current libblkid ignores FAT when created on the same whole-disk
device as valid MBR. This restriction is not compatible with many
devices (like USB flash disk) created by Windows or the latest
dosfstools where the first partition is used for entire device and
where is also valid FAT. The filesystem is accessible from partition
as well as from whole-disk device.

The conclusion (between util-linux, dosfstools and udisks) is that
libblkid has to provide all details, not hide anything and the proper
policy (hide/show) has to be implemented by udisks (or so).

CC: Tomáš Bžatek <tbzatek@redhat.com>
CC: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agodocs: update AUTHORS file
Karel Zak [Fri, 9 Apr 2021 09:00:58 +0000 (11:00 +0200)] 
docs: update AUTHORS file

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agopo: merge changes
Karel Zak [Fri, 9 Apr 2021 08:09:19 +0000 (10:09 +0200)] 
po: merge changes

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agotravis: cleanup before autogen
Karel Zak [Fri, 9 Apr 2021 06:02:10 +0000 (08:02 +0200)] 
travis: cleanup before autogen

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agotools: add missing stuff to Makefile.am
Karel Zak [Fri, 9 Apr 2021 05:53:21 +0000 (07:53 +0200)] 
tools: add missing stuff to Makefile.am

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agoMerge branch 'fix-typo' of https://github.com/paullaffitte/util-linux
Karel Zak [Fri, 9 Apr 2021 05:48:02 +0000 (07:48 +0200)] 
Merge branch 'fix-typo' of https://github.com/paullaffitte/util-linux

* 'fix-typo' of https://github.com/paullaffitte/util-linux:
  fix typo in findmnt help

4 years agofix typo in findmnt help
Paul Laffitte [Thu, 8 Apr 2021 17:09:30 +0000 (19:09 +0200)] 
fix typo in findmnt help

4 years agopo: add sr.po (from translationproject.org)
Мирослав Николић [Thu, 8 Apr 2021 12:52:52 +0000 (14:52 +0200)] 
po: add sr.po (from translationproject.org)

4 years agopo: update sv.po (from translationproject.org)
Sebastian Rasmussen [Thu, 8 Apr 2021 12:52:52 +0000 (14:52 +0200)] 
po: update sv.po (from translationproject.org)

4 years agopo: update hr.po (from translationproject.org)
Božidar Putanec [Thu, 8 Apr 2021 12:52:51 +0000 (14:52 +0200)] 
po: update hr.po (from translationproject.org)

4 years agopo: update es.po (from translationproject.org)
Antonio Ceballos Roa [Thu, 8 Apr 2021 12:52:51 +0000 (14:52 +0200)] 
po: update es.po (from translationproject.org)

4 years agopo: update cs.po (from translationproject.org)
Petr Písař [Thu, 8 Apr 2021 12:52:51 +0000 (14:52 +0200)] 
po: update cs.po (from translationproject.org)

4 years agotools: replace checkmans.sh with adoc scripts
Karel Zak [Thu, 8 Apr 2021 12:19:52 +0000 (14:19 +0200)] 
tools: replace checkmans.sh with adoc scripts

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agotests: update fdisk dumps
Karel Zak [Thu, 8 Apr 2021 10:46:47 +0000 (12:46 +0200)] 
tests: update fdisk dumps

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agofdisk: always skips zeros in dumps
Karel Zak [Thu, 8 Apr 2021 10:42:36 +0000 (12:42 +0200)] 
fdisk: always skips zeros in dumps

The expert command 'D'ump skips zeros when print label hexdump on
terminal, but for non-terminal it prints all buffer. It seems
better to use the same semantic everywhere and skip zeros.

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agobuild-sys: add UL_REQUIRES_PROGRAM() macro, use it for asciidoc
Karel Zak [Wed, 7 Apr 2021 08:19:03 +0000 (10:19 +0200)] 
build-sys: add UL_REQUIRES_PROGRAM() macro, use it for asciidoc

* use our generic UL_BUILD_INIT() stuff for ENABLE_ASCIIDOC
* add UL_REQUIRES_PROGRAM()
* add "Manual pages: yes|no" to ./configure summary

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agoAsciidoc: Fix markup in example man page
Mario Blättermann [Tue, 6 Apr 2021 15:51:24 +0000 (17:51 +0200)] 
Asciidoc: Fix markup in example man page

4 years agobuild-sys: make man pages optional, add --disable-asciidoc
Karel Zak [Tue, 6 Apr 2021 15:17:42 +0000 (17:17 +0200)] 
build-sys: make man pages optional, add --disable-asciidoc

* don't use dist_noinst_DATA= for generated man pages (use man_MANS=)

* make asciidoctor optional

* add --disable-asciidoc to explicitly disable man pages

Addresses: https://github.com/karelzak/util-linux/issues/1257
Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agomeson: generate man pages from asciidoc
Karel Zak [Tue, 6 Apr 2021 13:32:46 +0000 (15:32 +0200)] 
meson: generate man pages from asciidoc

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agoMerge branch 'more-fixes' of https://github.com/h-c-mueller/util-linux
Karel Zak [Tue, 6 Apr 2021 09:24:40 +0000 (11:24 +0200)] 
Merge branch 'more-fixes' of https://github.com/h-c-mueller/util-linux

* 'more-fixes' of https://github.com/h-c-mueller/util-linux:
  more: fix ARROW_DOWN and PAGE_DOWN behaviour to not skip lines
  more: fix command 'f' (screen forward) behaviour

4 years agoAsciidoc: Fix markup
Mario Blättermann [Sun, 4 Apr 2021 13:33:56 +0000 (15:33 +0200)] 
Asciidoc: Fix markup

4 years agotests: update lscpu output
Karel Zak [Thu, 1 Apr 2021 10:30:25 +0000 (12:30 +0200)] 
tests: update lscpu output

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agolscpu: report also number of cache instances
Karel Zak [Thu, 1 Apr 2021 10:27:05 +0000 (12:27 +0200)] 
lscpu: report also number of cache instances

Caches (sum of all):
  L1d:                   128 KiB (4 instances)
  L1i:                   128 KiB (4 instances)
  L2:                    1 MiB (4 instances)
  L3:                    8 MiB (1 instance)

Suggested-by: John Henning <john.henning@oracle.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agobuild-sys: improve asciidoc generic rule
Karel Zak [Thu, 1 Apr 2021 09:47:21 +0000 (11:47 +0200)] 
build-sys: improve asciidoc generic rule

* keep it based on suffixes to make possible to generate individual
  pages in dependence on original .adoc
* use absolute builddir to be robust enough for 'make distcheck'
* make man page links depend on man pages

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agoAsciidoc: Remove artifact from merge conflict
Mario Blättermann [Wed, 31 Mar 2021 15:48:21 +0000 (17:48 +0200)] 
Asciidoc: Remove artifact from merge conflict

4 years agoAsciidoc: Resolve merge conflict
Mario Blättermann [Wed, 31 Mar 2021 15:46:27 +0000 (17:46 +0200)] 
Asciidoc: Resolve merge conflict

4 years agobuild-sys: cleanup distcheck options
Karel Zak [Wed, 31 Mar 2021 09:57:22 +0000 (11:57 +0200)] 
build-sys: cleanup distcheck options

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agobuild-sys: make man pages location independent
Karel Zak [Wed, 31 Mar 2021 09:33:06 +0000 (11:33 +0200)] 
build-sys: make man pages location independent

We need to evaluate "include::" directive relatively to project
top-level source directory rather than to the current document
location.

Signed-off-by: Karel Zak <kzak@redhat.com>
4 years agoAsciidoc: Convert man-common/README to Markdown
Mario Blättermann [Mon, 29 Mar 2021 18:19:59 +0000 (20:19 +0200)] 
Asciidoc: Convert man-common/README to Markdown