summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | libsmartcols: fixes issue with 0 width columnstaiyu2018-02-151-0/+4
| | | | | | | | | | | | | | | | [kzak@redhat.com: - it's possible that column has zero width when minimal width is reduced due to very small terminal. In this case make sure that we do not use such column at all.] Signed-off-by: Karel Zak <kzak@redhat.com>
* | libsmartcols: set minimal column width to 1Karel Zak2018-02-151-0/+2
| | | | | | | | | | | | | | | | | | The default is to use header width or relative width setting as the minimal column width. The problem are columns where is no header or relative width. Let's set minimal width to 1 in this case. Addresses: https://github.com/karelzak/util-linux/pull/577 Signed-off-by: Karel Zak <kzak@redhat.com>
* | libsmartcols: interpret zero width for pending data as errorKarel Zak2018-02-151-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | The command $ column -t -W2 -c11 <<< "cat dog bird" causes finite loop, because there is no minimal column width (missing header). The print functions should be robust enough to return -EINVAL when nonsense is requested. Addresses: https://github.com/karelzak/util-linux/pull/577 Signed-off-by: Karel Zak <kzak@redhat.com>
* | lscpu-arm: add Faraday And Brahma coresRiku Voipio2018-02-131-1/+8
|/ | | | | | | | Add a handful of more rare cores. Broadcom Brahma cores are used in Access Points and Faraday was used on some Network Storage Devices. Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
* docs: update v2.32-ReleaseNotesKarel Zak2018-02-131-0/+405
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: update AUTHORS fileKarel Zak2018-02-131-0/+23
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* po: merge changesKarel Zak2018-02-1327-45770/+48131
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* po: update uk.po (from translationproject.org)Yuri Chornoivan2018-02-131-602/+450Star
|
* po: update pt_BR.po (from translationproject.org)Rafael Fontenelle2018-02-131-174/+176
|
* po: update pl.po (from translationproject.org)Jakub Bogusz2018-02-131-174/+176
|
* po: update ja.po (from translationproject.org)Takeshi Hamasaki2018-02-131-302/+1106
|
* po: update fi.po (from translationproject.org)Lauri Nurmi2018-02-131-728/+940
|
* po: update es.po (from translationproject.org)Antonio Ceballos Roa2018-02-131-602/+454Star
|
* po: update cs.po (from translationproject.org)Petr Písař2018-02-131-625/+474Star
|
* dmesg: use xstrdup() in xalloc.h based utilKarel Zak2018-02-131-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update build-sys testsKarel Zak2018-02-1316-16/+14Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: make mpool independent on libuuidKarel Zak2018-02-131-3/+1Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: column(1) test for space-char separatorKarel Zak2018-02-123-0/+15
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: column(1) test non-space separator at begin of lineKarel Zak2018-02-122-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* column: don't ignore space-char separators at begin of the lineKarel Zak2018-02-121-1/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | Non-space separator: $ echo -e ",col1,col2\nrow,1,2" | column -t -s "," --table-columns A,B,C A B C col1 col2 row 1 2 Space-char (\t) separator: $ echo -e "\tcol1\tcol2\nrow\t1\t2" | column -t -s "$(echo -e '\t')" --table-columns A,B,C A B C col1 col2 row 1 2 Fixed version: $ echo -e "\tcol1\tcol2\nrow\t1\t2" | column -t -s "$(echo -e '\t')" --table-columns A,B,C A B C col1 col2 row 1 2 Addresses: https://github.com/karelzak/util-linux/issues/575 Signed-off-by: Karel Zak <kzak@redhat.com>
* su: build fix for the case where USE_PTY is not definedSamuel Thibault2018-02-121-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lsblk: try device/dev to read devnoKarel Zak2018-02-091-43/+54
| | | | | | | | | Now sysfs_devname_to_devno() reads devno from /dev or /sys/block/<name>/dev, but it seems that NVME uses /sys/block/<name>/device/dev. Reported-by: Potnuri Bharat Teja <bharat@chelsio.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: update TODOKarel Zak2018-02-071-0/+6
| | | | | | | Let's think about "mount --onlyonce". Addresses: https://github.com/karelzak/util-linux/issues/448 Signed-off-by: Karel Zak <kzak@redhat.com>
* cal: clean up man page synopsis syntaxKarel Zak2018-02-071-1/+1
| | | | | | | | | Let's use '[ ]' rather than '< >' to be compatible with our another man pages. Note that all time addressing on cal(1) command line is optional. Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1542883 Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: update TODOKarel Zak2018-02-071-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: add note about "already mounted" behaviorKarel Zak2018-02-051-0/+7
| | | | | Addresses: https://github.com/karelzak/util-linux/issues/448 Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add mpool blkid test imageKarel Zak2018-02-052-0/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* findmnt.8: remove spurious spaces before "--tree" and "--verbose"Jakub Wilk2018-02-041-2/+2
| | | | Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
* tests: rewrite cal(1) bigyear testKarel Zak2018-02-0228-384/+269Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: use TS_HELPER_CALKarel Zak2018-02-023-4/+11
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* cal: add ifdef TEST_CALKarel Zak2018-02-022-2/+25
| | | | | | | | | | The test program follows CAL_TEST_TIME=<sec> rather than libc time(). It allows to use cal(1) in regression tests in cases where output depends on the current time. (We already use the same for example for logger.) Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update setarch testKarel Zak2018-02-011-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: fix debug messageKarel Zak2018-02-011-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* sys-utils: use errexec()Karel Zak2018-02-019-14/+12Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* vipw: use errexec()Karel Zak2018-02-011-2/+1Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* newgrp: use errexec()Karel Zak2018-02-011-4/+1Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* schedutils: use errexec()Karel Zak2018-02-013-3/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* text-utils: use errexec()Karel Zak2018-02-012-4/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib/exec_shell: (and pager) use errexec()Karel Zak2018-02-012-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* su: use errexec()Karel Zak2018-02-011-9/+1Star
| | | | | | The new macro is fully compatible with original (coreutils) code. Signed-off-by: Karel Zak <kzak@redhat.com>
* include/c: add errexec()Karel Zak2018-02-011-0/+6
| | | | | | | | | | | | | | | | The new errexec() macro consolidate and unify the way how util-linux tools react to failed exec()-like functions: * exit code 126 when program located, but not usable * exit code 127 when could not find program to exec The exit codes are compatible with coreutils. Note that all the change is located in c.h; the file exitcodes.h contains API specific (mkfs, fsck, ...) codes only. Addresses: https://github.com/karelzak/util-linux/pull/311 Signed-off-by: Karel Zak <kzak@redhat.com>
* findfs: don't include exitcodes.hKarel Zak2018-02-011-1/+0Star
| | | | | | The code uses findfs return codes only. Signed-off-by: Karel Zak <kzak@redhat.com>
* fstrim: don't include exitcodes.hKarel Zak2018-02-011-1/+0Star
| | | | | | The code uses generic and libmount return codes only. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: gtkdoc-fixxref v1.27 requires module optionKarel Zak2018-02-011-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* misc: remove %p from debug messagesKarel Zak2018-02-0110-55/+44Star
| | | | | | From libs where suid program may be executed by non-root user. Signed-off-by: Karel Zak <kzak@redhat.com>
* lib/exec_shell: cleanup function attributesKarel Zak2018-02-012-2/+7
| | | | | Reported-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* Merge branch 'libblkid-atari' of https://github.com/yontalcar/util-linuxKarel Zak2018-01-3110-1/+310
|\ | | | | | | | | | | | | | | | | | | | | * 'libblkid-atari' of https://github.com/yontalcar/util-linux: libblkid: atari - reject devices with blocksize != 512 libblkid: atari - don't add duplicate entries libblkid: atari - test if any partition fits disk size tests: added missing expected outputs for partx (atari) libblkid: atari - fix bad variable name tests: added test for libblkid atari pt libblkid: Support for Atari partitioning scheme
| * libblkid: atari - reject devices with blocksize != 512Vaclav Dolezal2018-01-301-0/+4
| | | | | | | | Signed-off-by: Vaclav Dolezal <vdolezal@redhat.com>
| * libblkid: atari - don't add duplicate entriesVaclav Dolezal2018-01-241-1/+8
| | | | | | | | | | | | This should protect against looped XGMs. Signed-off-by: Vaclav Dolezal <vdolezal@redhat.com>
| * libblkid: atari - test if any partition fits disk sizeVaclav Dolezal2018-01-241-3/+9
| | | | | | | | Signed-off-by: Vaclav Dolezal <vdolezal@redhat.com>