Changes between v2.37-rc1 and v2.37-rc2 -------------------------------------------- commit d637ca3e173825f553b98de57d7c1c4b51e8d7de Author: Karel Zak Date: Mon May 10 13:12:02 2021 +0200 build-sys: release++ (v2.37-rc2) Signed-off-by: Karel Zak NEWS | 4 ++++ configure.ac | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit a6b49e89ed6850ee173bce114c9d5c1e31060fdd Author: Karel Zak Date: Mon May 10 13:10:21 2021 +0200 docs: update v2.37-ReleaseNotes Signed-off-by: Karel Zak Documentation/releases/v2.37-ReleaseNotes | 99 ++++++++++++++++++++++++++++++- 1 file changed, 98 insertions(+), 1 deletion(-) commit 524897ed637da1861fbfdcf0182a1636ae122e7c Author: Karel Zak Date: Mon May 10 13:09:13 2021 +0200 docs: update AUTHORS file Signed-off-by: Karel Zak AUTHORS | 5 +++++ 1 file changed, 5 insertions(+) commit 2994605fba584779a458793739ac82986772ce25 Author: Karel Zak Date: Mon May 10 12:21:25 2021 +0200 po: merge changes Signed-off-by: Karel Zak po/ca.po | 1304 +++++------ po/cs.po | 1367 +++++------ po/da.po | 1358 +++++------ po/de.po | 1368 +++++------ po/es.po | 1366 +++++------ po/et.po | 1298 +++++------ po/eu.po | 1286 +++++------ po/fi.po | 1307 +++++------ po/fr.po | 1368 +++++------ po/gl.po | 1290 +++++------ po/hr.po | 1367 +++++------ po/hu.po | 1307 +++++------ po/id.po | 1306 +++++------ po/it.po | 1303 +++++------ po/ja.po | 1326 +++++------ po/nl.po | 1338 +++++------ po/pl.po | 1367 +++++------ po/pt.po | 1366 +++++------ po/pt_BR.po | 1366 +++++------ po/ru.po | 1312 +++++------ po/sl.po | 1303 +++++------ po/sv.po | 6545 ++++++++++++++++++++++++++++++----------------------- po/tr.po | 1337 +++++------ po/uk.po | 1366 +++++------ po/util-linux.pot | 1290 +++++------ po/vi.po | 1319 +++++------ po/zh_CN.po | 1337 +++++------ po/zh_TW.po | 1313 +++++------ 28 files changed, 22274 insertions(+), 20206 deletions(-) commit b93b8f42dfe4723787d0284dbda4d67848fa44ac Author: Sebastian Rasmussen Date: Mon May 10 12:15:03 2021 +0200 po: update sv.po (from translationproject.org) po/sv.po | 6526 +++++++++++++++++++++++++++----------------------------------- 1 file changed, 2845 insertions(+), 3681 deletions(-) commit c916e84380880d9c104e7e1171de370376f0c406 Author: Karel Zak Date: Mon May 10 12:13:09 2021 +0200 tests: update build tests Signed-off-by: Karel Zak tests/expected/build-sys/config-non-libblkid | 18 ++++++++++++++++++ tests/expected/build-sys/config-non-libs | 1 + 2 files changed, 19 insertions(+) commit 58739eb0a74bfac24696a39f0703f3c2c8629709 Author: Karel Zak Date: Mon May 10 11:24:24 2021 +0200 build-sys: fix libblkid dependence Signed-off-by: Karel Zak sys-utils/Makemodule.am | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 21b16433a1cf771d40b4f4fc928594405b12e740 Author: Karel Zak Date: Mon May 10 10:46:51 2021 +0200 column: add placeholder '0' to specify all columns Fixes: https://github.com/karelzak/util-linux/issues/1306 Signed-off-by: Karel Zak text-utils/column.1.adoc | 2 +- text-utils/column.c | 22 ++++++++++++++++++---- 2 files changed, 19 insertions(+), 5 deletions(-) commit b6464f8dc5fdecd1418eb16ec3f8a1cfb151e61b Author: Karel Zak Date: Fri May 7 20:38:26 2021 +0200 blkdiscard: fix compilation without libblkid Signed-off-by: Karel Zak sys-utils/blkdiscard.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 3773bb151ad9f24747827b957fff7db16a45ba5d Author: Karel Zak Date: Fri May 7 20:37:51 2021 +0200 mkswap: remove unused variable when compile without libblkid Signed-off-by: Karel Zak disk-utils/mkswap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 0ee5fcd2e89e74d5b61aa1e8f1d0b2194e7b2e57 Author: Karel Zak Date: Fri May 7 11:26:33 2021 +0200 docs: add #1266 to TODO file References: https://github.com/karelzak/util-linux/issues/1266 Signed-off-by: Karel Zak Documentation/TODO | 7 +++++++ 1 file changed, 7 insertions(+) commit 9b657529cc886976adef2ec8b2fe5a224e929ffd Author: Johan Herland Date: Fri May 7 00:53:29 2021 +0200 unshare: Fix error message when setting proc mount propagation The mount() command associated with this error message is not about unmounting the proc fs, but rather about changing the propagation of mount events for the proc fs. Rewrite the error message to reflect this. sys-utils/unshare.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 185bc3a832c4cf7b337bcaf38c7b30791ec089e3 Author: Karel Zak Date: Thu May 6 17:10:46 2021 +0200 rfkill: make RFKILL_EVENT_SIZE_V1 use more portable The old linux/rfkill.h uses "int", new versions use sizeof() for the macro ... Signed-off-by: Karel Zak sys-utils/rfkill.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit fe58418e9de9a9404e25cbcfd19c129807f39266 Author: Karel Zak Date: Thu May 6 17:02:40 2021 +0200 tests: update libfdisk JSON outputs Signed-off-by: Karel Zak tests/expected/sfdisk/dos-write-json | 48 +++++++++++++++++++++++++++--------- tests/expected/sfdisk/gpt-write-json | 44 ++++++++++++++++++++++++--------- 2 files changed, 70 insertions(+), 22 deletions(-) commit 940f9def456766ddbcc772bdff207a98e87f7a22 Author: Karel Zak Date: Thu May 6 17:01:48 2021 +0200 libfdisk: (script) print bootable flag only when set Signed-off-by: Karel Zak libfdisk/src/script.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 787af7ce7c5789298d8238cb02a3e191bd808f28 Author: Karel Zak Date: Thu May 6 16:44:20 2021 +0200 rfkill: fix compiler warning [-Wsign-compare] Signed-off-by: Karel Zak sys-utils/rfkill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 64a89adaa16461bd58730c1408b30aa7244b4f66 Author: Karel Zak Date: Thu May 6 16:35:50 2021 +0200 lib/jsonwrt: don't use ctype.h for ASCII chars tolower() does not work "as expected" for tr_TR.UTF-8 (Turkish). Fortunately, we need to convert only objects and variables names in JSON output, and this is always old good ASCII. Anyway, for more details: $ cat a.c #include #include #include int main(void) { int in, out; setlocale(LC_ALL, ""); in ='I'; out = tolower(in); printf("%1$c [%1$d] --> %2$c [%2$d]\n", in, out); return 0; } $ make a cc a.c -o a $ LANG=en_US.utf8 ./a I [73] --> i [105] $ LANG=tr_TR.UTF-8 ./a I [73] --> I [73] Fixes: https://github.com/karelzak/util-linux/issues/1302 Signed-off-by: Karel Zak lib/jsonwrt.c | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) commit 3a07505a397c9d31cde6c2812b3800227442f7c0 Author: Karel Zak Date: Thu May 6 16:05:56 2021 +0200 lib/jsonwrt: remove fputs_quoted_json_* functions from include/carefulputc.h Signed-off-by: Karel Zak include/carefulputc.h | 80 --------------------------------------------------- lib/jsonwrt.c | 79 +++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 78 insertions(+), 81 deletions(-) commit d124a780348a7123a92b9138cba2c4982e1b7491 Author: Karel Zak Date: Thu May 6 15:58:02 2021 +0200 lib/jsonwrt: remove 'islast' from API The code should be able to keep track about previous content and print JSON objects separator automatically. Signed-off-by: Karel Zak include/jsonwrt.h | 20 ++++++++-------- lib/jsonwrt.c | 56 ++++++++++++++++++++++---------------------- libfdisk/src/script.c | 34 ++++++++++++--------------- libsmartcols/src/print-api.c | 4 ++-- libsmartcols/src/print.c | 26 ++++++++++---------- 5 files changed, 67 insertions(+), 73 deletions(-) commit 4b9abd11ebb6273eaf47d73de7ed7780d74a5fe3 Author: Karel Zak Date: Thu May 6 15:02:14 2021 +0200 libfdisk: use lib/jsonwrt.s for JSON formatting Signed-off-by: Karel Zak libfdisk/src/script.c | 124 ++++++++++++++++---------------------------------- 1 file changed, 40 insertions(+), 84 deletions(-) commit f798aed128f8ccdcd30bd3d82d577f6d1115e37a Author: Karel Zak Date: Thu May 6 12:24:41 2021 +0200 rfkill: fix compiler warning [-Wformat=] * `RFKILL_EVENT_SIZE_V1` is defined as sizeof(struct rfkill_event), so let's use %zu * cast `len` to size_t to make it usable with %zu Signed-off-by: Karel Zak sys-utils/rfkill.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit c8d931ebe2bc75862ca5d48ab5694570d4c89662 Author: Masatake YAMATO Date: Thu May 6 13:39:30 2021 +0900 lib/fileutils: close fd if fdopen is failed Signed-off-by: Masatake YAMATO include/fileutils.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit f6c11689258a33cf59b04984e8751e71df17e54f Author: Karel Zak Date: Thu May 6 11:56:14 2021 +0200 hwclock: follow timespec and use long int for nsec Signed-off-by: Karel Zak sys-utils/hwclock-parse-date.y | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 9406284a92707dc9fcccc03a026e37d85fdbc231 Author: Karel Zak Date: Thu May 6 10:13:27 2021 +0200 script: fix time_t=long assumptions References: http://github.com/karelzak/util-linux/commit/ce3355cc54d97711bc240783324f7ab51fd6e371 Signed-off-by: Karel Zak term-utils/script.c | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) commit 01b37affc1f09dd11a983d15e30bfa523281a3d4 Author: Karel Zak Date: Thu May 6 10:13:27 2021 +0200 rtcwake: fix time_t=long assumptions References: http://github.com/karelzak/util-linux/commit/ce3355cc54d97711bc240783324f7ab51fd6e371 Signed-off-by: Karel Zak sys-utils/rtcwake.c | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) commit 35c84bf76a4776a00d0bb782ceef6182170c5a7a Author: Karel Zak Date: Thu May 6 11:06:45 2021 +0200 lib/strutils: assume 64-bit time_t Signed-off-by: Karel Zak include/strutils.h | 3 +++ lib/strutils.c | 35 ++++++++++++++++++++++++++++++++--- 2 files changed, 35 insertions(+), 3 deletions(-) commit 634636301e22165688142366c1843caf8019e628 Author: Karel Zak Date: Thu May 6 10:13:27 2021 +0200 hardlink: fix time_t=long assumptions References: http://github.com/karelzak/util-linux/commit/ce3355cc54d97711bc240783324f7ab51fd6e371 Signed-off-by: Karel Zak misc-utils/hardlink.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7e349033e0cfd95178e09d6df0e278ecaec10f39 Author: Karel Zak Date: Thu May 6 10:13:27 2021 +0200 test_uuid_parser: fix time_t=long assumptions References: http://github.com/karelzak/util-linux/commit/ce3355cc54d97711bc240783324f7ab51fd6e371 Signed-off-by: Karel Zak libuuid/src/uuid_time.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c13ce8f4d6cf8997e8f2bb1ae8a40f15c51ced5a Author: Karel Zak Date: Thu May 6 10:13:27 2021 +0200 fsck: fix time_t=long assumptions References: http://github.com/karelzak/util-linux/commit/ce3355cc54d97711bc240783324f7ab51fd6e371 Signed-off-by: Karel Zak disk-utils/fsck.c | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) commit 7b20bb1acc5ef42c17b198c68e033cdb5d33a634 Author: Karel Zak Date: Thu May 6 10:13:27 2021 +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 term-utils/script-playutils.c | 39 +++++++++++++++++++++------------------ term-utils/scriptreplay.c | 5 ++--- 2 files changed, 23 insertions(+), 21 deletions(-) commit f02286fd89a09438dff15a829d48727da234c917 Author: Karel Zak Date: Thu May 6 10:13:27 2021 +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 lib/pty-session.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 4fb27d5c624dd938c6dd73320243824faa39a822 Author: Karel Zak Date: Thu May 6 10:13:27 2021 +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 sys-utils/flock.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit d8d54e4bfcbaf72780541fc34cee87425647ff6c Author: Karel Zak Date: Wed May 5 13:35:30 2021 +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 Makefile.am | 12 ++++++------ disk-utils/Makemodule.am | 22 +++++++++++++++++++++- lib/Makemodule.am | 2 +- libblkid/Makemodule.am | 7 +++++-- libuuid/man/Makemodule.am | 11 +++++++++++ login-utils/Makemodule.am | 15 +++++++++++++++ man-common/Makemodule.am | 2 +- misc-utils/Makemodule.am | 20 ++++++++++++++++++++ schedutils/Makemodule.am | 4 ++++ sys-utils/Makemodule.am | 47 +++++++++++++++++++++++++++++++++++++++++++++++ term-utils/Makemodule.am | 8 ++++++++ text-utils/Makemodule.am | 10 ++++++++++ 12 files changed, 149 insertions(+), 11 deletions(-) commit 62009e0d2f2cb6a016b62265ed3e0059077932fa Author: Karel Zak Date: Mon May 3 20:30:42 2021 +0200 tests: update sparc lscpu tests Signed-off-by: Karel Zak tests/expected/lscpu/lscpu-sparc64 | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) commit 5c09ab260e0aab6c81fcc36b21ce237a107bb03b Author: Karel Zak Date: Mon May 3 20:28:30 2021 +0200 lscpu: assume L1d, L1i, L2, L3 for sparc Signed-off-by: Karel Zak sys-utils/lscpu-topology.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) commit 57fee04c14e7a681f8d2ae2565b871aef1daaeb8 Author: Karel Zak Date: Mon May 3 16:27:35 2021 +0200 lscpu: read Sparc caches files Fixes: https://github.com/karelzak/util-linux/issues/1296 Signed-off-by: Karel Zak sys-utils/lscpu-topology.c | 74 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 73 insertions(+), 1 deletion(-) commit fcbcb0cdaad26bda55984eda2630130095a2e5b8 Author: Karel Zak Date: Mon May 3 11:10:10 2021 +0200 meson: fix systemd dependence Fixes: https://github.com/karelzak/util-linux/issues/1301 Signed-off-by: Karel Zak meson.build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 4e56c68abe53ab8f388cb89ffddb66611d9c548b Merge: 5ec1108c0 ce3355cc5 Author: Karel Zak Date: Fri Apr 30 13:12:26 2021 +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 commit ce3355cc54d97711bc240783324f7ab51fd6e371 Author: Armin Begovic Date: Thu Apr 29 11:55:52 2021 +0000 Fixed wrongful time_t=long assumptions in hwclock.c and timeutils.c lib/timeutils.c | 9 ++-- sys-utils/hwclock.c | 116 +++++++++++++++++++++++++--------------------------- 2 files changed, 60 insertions(+), 65 deletions(-) commit 5ec1108c0022a156bf6d796e3d50243bbaff75a5 Author: heitbaum Date: Thu Apr 29 08:19:50 2021 +0000 build-sys: add configure options to disable individual utils configure.ac | 36 ++++++++++++++++++++++++++++++------ 1 file changed, 30 insertions(+), 6 deletions(-) commit 071d3135d37f8f1dd1c5a994e0eda23ddeeddafc Author: Karel Zak Date: Wed Apr 28 10:51:07 2021 +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 sys-utils/lscpu.c | 45 ++++++++++++++++++++++++--------------------- 1 file changed, 24 insertions(+), 21 deletions(-) commit 1f54d9cc09079b7aac3f0e578b52dcee3a377d0a Author: Mario Blättermann Date: Sat Apr 24 12:20:08 2021 +0200 docs/TODO: Minor update and fix typo Documentation/TODO | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 56702ef2eab80248f392b4c5f1c335ac86ef02b6 Author: Armin Begovic Date: Fri Apr 23 23:28:37 2021 +0200 Changed int64_t casts to long long int casts sys-utils/hwclock.c | 58 ++++++++++++++++++++++++++--------------------------- 1 file changed, 29 insertions(+), 29 deletions(-) commit a937ef831891c30bb7adfc945dee439d192b3476 Author: Armin Begovic Date: Fri Apr 23 22:48:13 2021 +0200 Fixed format strings and type casts in hwclock to work with 64-bit time_t on 32-bit linux sys-utils/hwclock.c | 109 ++++++++++++++++++++++++++++------------------------ 1 file changed, 59 insertions(+), 50 deletions(-) commit b9081962efbcf835487dfc491c8bdd7de4592949 Author: Karel Zak Date: Fri Apr 23 13:01:57 2021 +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 sys-utils/zramctl.8.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d77714dcb96db7041b02e20f07818c03a410a85d Author: Karel Zak Date: Fri Apr 23 11:35:20 2021 +0200 scriptlive: (man) add missing parenthesis Signed-off-by: Karel Zak term-utils/scriptlive.1.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ad0963685b8105920abd38e6878cc2cdfa427ea4 Merge: a51aadb34 993556aaa Author: Karel Zak Date: Fri Apr 23 10:49:10 2021 +0200 Merge branch 'fix-misspellings' of https://github.com/rffontenelle/util-linux commit a51aadb348f9a8a873503676e297aa396bbd51f9 Merge: 638d1277c 74699e0e9 Author: Karel Zak Date: Fri Apr 23 10:44:46 2021 +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 commit 638d1277cc3859a61697928e68f5c9b042b04285 Author: Karel Zak Date: Fri Apr 23 10:43:06 2021 +0200 docs: update TODO Addresses: https://github.com/karelzak/util-linux/issues/1291 Signed-off-by: Karel Zak Documentation/TODO | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit da5d1468c1797a0c1fb735fe9983f23cea9d6ffd Author: Karel Zak Date: Fri Apr 23 10:39:35 2021 +0200 build-sys: add .stamp to gitignore Signed-off-by: Karel Zak .gitignore | 1 + 1 file changed, 1 insertion(+) commit 5e42ec32fbbbf54e77ed5c082747cf1be1b97f42 Author: Karel Zak Date: Thu Apr 22 16:11:51 2021 +0200 build-sys: fix typo Signed-off-by: Karel Zak configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 993556aaa509ac763d82a7fd5ac64e0989a3f686 Author: Rafael Fontenelle Date: Thu Apr 22 20:31:05 2021 -0300 Fix misspellings libfdisk/src/dos.c | 2 +- man-common/manpage-stub.adoc | 2 +- meson.build | 2 +- misc-utils/lsblk-mnt.c | 2 +- schedutils/uclampset.c | 2 +- sys-utils/hwclock.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) commit 74699e0e9432097ad72216b5fc0e383e52bf5d71 Author: Mario Blättermann Date: Thu Apr 22 18:50:46 2021 +0200 po-man: Fix typos in de.po and po4a.cfg po-man/de.po | 2 +- po-man/po4a.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 113f0b346492f569d1b600b4a63aa3306a09003d Merge: 0a1cd4c1e a73035dc7 Author: Mario Blättermann Date: Thu Apr 22 18:41:50 2021 +0200 Merge remote-tracking branch 'upstream/master' commit a73035dc74f8f65c5e0becac265fda5c98142608 Author: Karel Zak Date: Thu Apr 22 15:59:54 2021 +0200 build-sys: disable po-man by default, cleanup summary Signed-off-by: Karel Zak configure.ac | 71 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 36 insertions(+), 35 deletions(-) commit 64936a9ddba1c1f7ff5e5d1e074bac240984b9e2 Author: Karel Zak Date: Thu Apr 22 10:19:50 2021 +0200 build-sys: add uninstall to po-man Signed-off-by: Karel Zak po-man/Makefile.am | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit 8f5fff5350f2b41ca960c37c165b525745552f57 Author: Karel Zak Date: Wed Apr 21 19:55:27 2021 +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 Makefile.am | 6 ++++++ configure.ac | 11 ++++++++++ po-man/Makefile.am | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 80 insertions(+) commit 2b84ac2dbd41d894bc9bb5d50173b5de1f08e4b7 Merge: e5bde19ae b4c04b3da Author: Karel Zak Date: Thu Apr 22 15:23:27 2021 +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 commit e5bde19ae29c3f0459a5934f1c6f3d5982dcbaad Author: Karel Zak Date: Tue Apr 20 14:39:32 2021 +0200 build-sys: cleanup Makefiles Signed-off-by: Karel Zak disk-utils/Makemodule.am | 4 ++-- misc-utils/Makemodule.am | 4 ++-- sys-utils/Makemodule.am | 10 +++++----- text-utils/Makemodule.am | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) commit 0216836e8b8529421385e6f1072c8bff20f51445 Author: Karel Zak Date: Tue Apr 20 14:22:34 2021 +0200 build-sys: fix test_loopdev build Signed-off-by: Karel Zak lib/Makemodule.am | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit d4423cce9b9001c9de7ebc6f64f6cc2bb854944c Author: Karel Zak Date: Tue Apr 20 13:20:12 2021 +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 lib/Makemodule.am | 9 ++++++++- lib/loopdev.c | 21 ++++++++++++++++++++- 2 files changed, 28 insertions(+), 2 deletions(-) commit 01480c61e139bc37ee5df348309c2c6e9b0f63d1 Author: Karel Zak Date: Mon Apr 19 15:30:57 2021 +0200 hardlink: fix typo again Signed-off-by: Karel Zak misc-utils/hardlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9f17b992e37fc41ff7abfdb6ee94dd03d4431a37 Author: Karel Zak Date: Mon Apr 19 13:19:23 2021 +0200 libfdisk: do not reset default if undefined by script Signed-off-by: Karel Zak libfdisk/src/gpt.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 35d5db6ebb58ed74606c4e4a288afd9711885fcc Author: Karel Zak Date: Mon Apr 19 10:09:08 2021 +0200 hardlink: fix typo Reported-by: Mario Blättermann Signed-off-by: Karel Zak misc-utils/hardlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 20ac96ffe2812cef525b2d540153925ad776bc74 Merge: 7c35325c4 5fba3d7b4 Author: Karel Zak Date: Mon Apr 19 10:05:05 2021 +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. commit 7c35325c49a044ed29d993f64bf9a5ddfd444075 Merge: 60f2d1f0a 9b825bde8 Author: Karel Zak Date: Mon Apr 19 10:00:42 2021 +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. commit 60f2d1f0a7902b351195418f2116d7ea39a35369 Merge: a7ca67034 fb64d9328 Author: Karel Zak Date: Mon Apr 19 09:59:42 2021 +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 commit a7ca67034650f875065adf2f60fb6723ac9d4de3 Merge: fcff5b4f9 ca59e01e3 Author: Karel Zak Date: Mon Apr 19 09:33:28 2021 +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 commit fcff5b4f9bbb2793f815e277a3e980a88ee3ae9f Merge: 1c75a8510 64e8df5d4 Author: Karel Zak Date: Mon Apr 19 09:32:12 2021 +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) commit b4c04b3dab528d4f12abb40c15982461548b4735 Author: Mario Blättermann Date: Sun Apr 18 12:16:37 2021 +0200 mount.a.adoc: Fix markup sys-utils/mount.8.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0a1cd4c1e21c6df7b2d73b3f2cb52f5f27716ff9 Author: Mario Blättermann Date: Sun Apr 18 09:17:31 2021 +0200 hardlink: fix typo misc-utils/hardlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5fba3d7b4e1d6c47ef3c96301541ea290b452d7b Author: Sebastian Rasmussen Date: Sun Apr 18 03:41:50 2021 +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. sys-utils/swapon.c | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) commit fb64d9328870737502c6ff94b38a084c28bfd008 Author: Samuel Dionne-Riel Date: Sat Apr 17 02:17:53 2021 -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. libfdisk/src/gpt.c | 36 +++++++++++++++++++++++------------- 1 file changed, 23 insertions(+), 13 deletions(-) commit 9b825bde80bdf5859fa38fffef0da971fd234c81 Author: Sebastian Rasmussen Date: Sat Apr 17 14:40:13 2021 +0200 Fix typo in help message. sys-utils/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ca59e01e39767e8a4b77c3c13cb311c722930f48 Author: Ville Skyttä Date: Fri Apr 16 22:08:48 2021 +0300 bash-completion: (lsblk) fix -E/-M arg (non-)completion Signed-off-by: Ville Skyttä bash-completion/lsblk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 64e8df5d47fb837c30b7f39460e97ce0e0e4a169 Author: Masatake YAMATO Date: Fri Apr 16 07:51:45 2021 +0900 man: add ioctl_ns(2) to SEE ALSO of lsns(2) Signed-off-by: Masatake YAMATO sys-utils/lsns.8.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 1c75a85101e36ebc193183733821546f0fa430fc Author: Karel Zak Date: Thu Apr 15 15:11:44 2021 +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 libfdisk/src/context.c | 88 +++++++++++++++++++++++---------------- libfdisk/src/fdiskP.h | 3 +- tests/expected/fdisk/oddinput.err | 2 +- tests/helpers/test_strerror.c | 3 +- tests/ts/fdisk/oddinput | 2 +- 5 files changed, 59 insertions(+), 39 deletions(-) commit dee0c29c6f9fa72a8d19c2336ea8b7f8cac2c81e Author: Karel Zak Date: Thu Apr 15 14:43:15 2021 +0200 fdisk: warn if disk in use Fixes: https://github.com/karelzak/util-linux/issues/1278 Signed-off-by: Karel Zak disk-utils/fdisk.c | 6 ++++++ 1 file changed, 6 insertions(+) commit d527e8cf701fd324b70cec75ca6dd683b6572a20 Author: Karel Zak Date: Thu Apr 15 14:39:11 2021 +0200 cfdisk: warn if disk on use Fixes: https://github.com/karelzak/util-linux/issues/1278 Signed-off-by: Karel Zak disk-utils/cfdisk.c | 2 ++ 1 file changed, 2 insertions(+) commit 82e5156a380e03088b84b4fbd1bfe6a70f064e55 Author: Karel Zak Date: Thu Apr 15 12:29:27 2021 +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 Documentation/releases/v2.37-ReleaseNotes | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit aac716f50355395ad2ba06524b19f690e321f118 Author: Karel Zak Date: Wed Apr 14 16:25:30 2021 +0200 libsmartcols: make buffers append function more robust Fixes: https://github.com/karelzak/util-linux/issues/1279 Signed-off-by: Karel Zak libsmartcols/src/buffer.c | 2 ++ 1 file changed, 2 insertions(+) commit 91f6895fffe37257729c93a350344da296a59cb0 Author: Karel Zak Date: Wed Apr 14 16:15:34 2021 +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 sys-utils/prlimit.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit e741653d22ac7a42cc80a3720da1edc7def5ad73 Author: Karel Zak Date: Tue Apr 13 10:40:00 2021 +0200 tests: small change to the lsns/ioctl_ns * make description short * chmod a+x to make script executable Signed-off-by: Karel Zak tests/ts/lsns/ioctl_ns | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9698f399427e1373c85d065e694a33b0855c14fc Merge: 724d844c1 d652d4c66 Author: Karel Zak Date: Tue Apr 13 10:34:49 2021 +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 commit 724d844c126c0a9a0bf543d0d348df226da1bd70 Author: Karel Zak Date: Tue Apr 13 10:23:26 2021 +0200 po: use msgmerge --previous Reported-by: Mario Blättermann Signed-off-by: Karel Zak po/Makevars | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fdf734f7f359a4c439e6cdbb3bfa4b91e117a35c Author: Chris Hofstaedtler Date: Mon Apr 12 15:49:26 2021 +0000 hexdump: add "hd" program name to man page Signed-off-by: Chris Hofstaedtler Bug-Debian: https://bugs.debian.org/978977 text-utils/hexdump.1.adoc | 2 ++ 1 file changed, 2 insertions(+) commit d652d4c666d61bdd4b5f44d2d377d35ab51b6c9a Author: Masatake YAMATO Date: Wed Apr 7 04:28:32 2021 +0900 lsns: add columns for parent namespaces and owner namespaces See ioctl_ns(2) about parent and owner namespaces. Signed-off-by: Masatake YAMATO configure.ac | 1 + sys-utils/lsns.c | 75 ++++++++++++++++++++++++++++-- tests/commands.sh | 1 + tests/expected/lsns/ioctl_ns | 1 + tests/ts/lsns/ioctl_ns | 108 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 181 insertions(+), 5 deletions(-) commit a96932103e6e1d124c86911d894268a0eff2c152 Author: Karel Zak Date: Mon Apr 12 16:21:18 2021 +0200 chrt: non-Linux fix Reported-by: Samuel Thibault Signed-off-by: Karel Zak schedutils/chrt.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit e51c9822a9d068fa822cc8333f5c24ee380b5a54 Author: Karel Zak Date: Mon Apr 12 16:20:01 2021 +0200 lslogins: non-Linux fix Reported-by: Samuel Thibault Signed-off-by: Karel Zak login-utils/lslogins.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 331584dbbf206d1adac66979946a2817d9f30abb Author: Karel Zak Date: Mon Apr 12 12:46:51 2021 +0200 build-sys: fix typo s/Aug/Apr/ ... move back in time ;-) Signed-off-by: Karel Zak NEWS | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 56af5af4053c6763740443ebcc86b441e8f811c9 Author: Mario Blättermann Date: Fri Apr 9 22:55:21 2021 +0200 Asciidoc: Add missing macro definition in uclampset.1 schedutils/uclampset.1.adoc | 1 + 1 file changed, 1 insertion(+) commit 681f4a1e3103c3ff3ffed439240c5ed724058b57 Author: Mario Blättermann Date: Tue Apr 6 17:51:24 2021 +0200 Asciidoc: Fix markup in example man page man-common/manpage-stub.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 360946bb930990cba344d4f79fb16f65df5cc21c Author: Mario Blättermann Date: Sun Apr 4 15:33:56 2021 +0200 Asciidoc: Fix markup misc-utils/findmnt.8.adoc | 2 +- misc-utils/logger.1.adoc | 14 ++++++++------ sys-utils/fstab.5.adoc | 4 ++-- 3 files changed, 11 insertions(+), 9 deletions(-) commit 69378d9bf471c7238ddbea1941704fd09c045658 Author: Mario Blättermann Date: Wed Mar 31 17:48:21 2021 +0200 Asciidoc: Remove artifact from merge conflict man-common/manpage-stub.adoc | 1 - 1 file changed, 1 deletion(-) commit 67467c9891f72f191de72e5abc80905eed2e6357 Merge: 7f29a25af e185f57e3 Author: Mario Blättermann Date: Wed Mar 31 17:46:27 2021 +0200 Asciidoc: Resolve merge conflict commit 7f29a25af94fe2deaddd201e9b407169a14c1aec Author: Mario Blättermann Date: Mon Mar 29 20:19:59 2021 +0200 Asciidoc: Convert man-common/README to Markdown man-common/{README => README.md} | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) commit 3da93af26b74b6160246b500fedaeeddb9276c4f Author: Mario Blättermann Date: Mon Mar 29 19:51:51 2021 +0200 po-man: Fix the example man page man-common/manpage-stub.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b09a9007fd5345a65829dae962e8b77d208486a1 Author: Mario Blättermann Date: Mon Mar 29 19:47:36 2021 +0200 po-man: Fix typos in po-man/README.md po-man/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit cde653e0f50e638ace022041d1bdc98a8c82c94d Author: Mario Blättermann Date: Mon Mar 29 19:45:19 2021 +0200 po-man: Update the example man page man-common/manpage-stub.adoc | 36 ++++++++++++++++++++++++++++-------- 1 file changed, 28 insertions(+), 8 deletions(-) commit f99003fb3542fc4f58ebb75a2ab9b5f6a5f68972 Author: Mario Blättermann Date: Mon Mar 29 19:30:04 2021 +0200 po-man: Add po-man/README.md po-man/README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) commit 8a66f3345187934dacf47628324dd7a62031da89 Author: Mario Blättermann Date: Mon Mar 29 19:13:54 2021 +0200 po-man: Add (incomplete) de.po for testing purposes man-common/README | 11 +- po-man/.gitignore | 1 + po-man/de.po | 43499 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 43509 insertions(+), 2 deletions(-) commit 0a5bc730548f9f43d7716e4654de982803f09863 Author: Mario Blättermann Date: Mon Mar 29 18:55:08 2021 +0200 po-man: Add (incomplete) de.po for testing purposes po-man/po4a.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2bee5365d3d66cdf5ab8b062df9bf0a63679008b Author: Mario Blättermann Date: Mon Mar 29 18:31:26 2021 +0200 po-man: Adjust paths in po4a.cfg and update .pot file po-man/po4a.cfg | 270 ++++++++++++++++++++++---------------------- po-man/util-linux-man.pot | 281 ++++++++++++++++++++++++---------------------- 2 files changed, 279 insertions(+), 272 deletions(-) commit 61459fe4a436bbd50a1505e8dbdef7296e79e2cb Author: Mario Blättermann Date: Mon Mar 29 18:21:17 2021 +0200 po-man: Move Po4a config file and translation template to po-man {man-common => po-man}/po4a.cfg | 0 {man-common => po-man}/util-linux-man.pot | 0 2 files changed, 0 insertions(+), 0 deletions(-)