Commit Graph

14506 Commits

Author SHA1 Message Date
Michael Kerrisk (man-pages) 8be2cc8171 Manual pages: raw.8: Minor formatting and wording fixes
Signed-off-by: Michael Kerrisk (man-pages) <mtk.manpages@gmail.com>
2020-07-24 14:41:49 +02:00
Michael Kerrisk (man-pages) 342af74630 Manual pages: blockdev.8: Minor wording and formatting fixes
Signed-off-by: Michael Kerrisk (man-pages) <mtk.manpages@gmail.com>
2020-07-24 14:41:49 +02:00
Chris Hofstaedtler dcd77a69da fdisk: fix expected test output on alpha
The last test output update inadvertedly replaced "ext2" with "MS-DOS"
in the alpha-specific data.

Fixes: 3c36438f0
Broken build log: https://buildd.debian.org/status/fetch.php?pkg=util-linux&arch=alpha&ver=2.36-1&stamp=1595550493&raw=0
Signed-off-by: Chris Hofstaedtler <zeha@debian.org>
2020-07-24 09:09:43 +02:00
Chris Hofstaedtler 7259f318b9 manpages: fix "The example command" in AVAILABILITY section
Signed-off-by: Chris Hofstaedtler <zeha@debian.org>
2020-07-24 09:09:43 +02:00
Soumendra Ganguly 00a09d78ea scriptreplay: enable special character handling
Calling cfmakeraw disables terminal special character handling. For
example, Ctrl-C does not send SIGINT to scriptreplay. The following
fixes this.

 tattr.c_lflag |= ISIG;

where tattr is the struct termios with which we are working.
2020-07-23 12:23:56 +02:00
Luca Boccassi b725361adf libmount (verity): let crypt_deactivate_by_name handle its own data structure
It's not necessary to initialize a crypt_device, the function will do it
on its own if NULL is passed. Removes a few extra library calls.

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
2020-07-23 12:23:56 +02:00
Luca Boccassi e0b6f5a7c8 libmount (verity): plug libcryptsetup logger into our logging system
Allows logs from the library to be printed by our system:

731814: libmount:   VERITY: crypsetup: Device libmnt_img.raw already exists.

If the mount context is in verbose mode, enable all debug logs from
libcrypsetup as well.

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
2020-07-23 12:23:56 +02:00
SOUMENDRA GANGULY edb088ffbe Make scriptreplay set terminal to raw mode 2020-07-23 12:23:56 +02:00
Karel Zak 6e7fb6c49a bash-completion: add irqtop/lsirq --softirq
Signed-off-by: Karel Zak <kzak@redhat.com>
2020-07-23 12:23:56 +02:00
zhenwei pi 635ac7dad8 irqtop/lsirq: add softirq for man page
Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
2020-07-23 12:23:56 +02:00
zhenwei pi b2a49bc243 irqtop/lsirq: add additional desc for softirq
Suggested by Karel, add additional description to make softirq more
friendly to end-user. Discuss about this:
    https://github.com/karelzak/util-linux/pull/1079

Note that, we should keep softirqs table align to kernel source code.

Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
2020-07-23 12:23:56 +02:00
zhenwei pi b6ce063b04 irqtop/lsirq: support softirq
Add '-S' or '--softirq' for irqtop/lsirq, instead of interrupts, show
softirqs infomation. Because there is no more description of softirq,
do not show 'NAME' column by default.

Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
2020-07-23 12:23:56 +02:00
Shin'ichiro Kawasaki e5ad3a6ad0 blkzone: add capacity field to zone report
NVMe ZNS specification defines zone capacity. The report zone interface
of Linux kernel supports it. Expose it in report zone by blkzone command.

Signed-off-by: Hans Holmberg <hans.holmberg@wdc.com>
Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
2020-07-23 12:23:56 +02:00
Chris Hofstaedtler d0aa83147a hexdump: automatically use -C when called as hd
When invoking hexdump as hd enable the "Canonical" format to by
default, implying the -C option.

This is historic behaviour on Debian and apparently also on FreeBSD.
Some Debian users have asked for this to be restored, after Debian
switched to util-linux' hexdump and hd.

Signed-off-by: Chris Hofstaedtler <zeha@debian.org>
2020-07-23 12:23:56 +02:00
Karel Zak c8b8326b07 build-sys: release++ (v2.36)
Signed-off-by: Karel Zak <kzak@redhat.com>
2020-07-23 11:26:04 +02:00
Frédéric Marchal 85c7548381 po: update fr.po (from translationproject.org) 2020-07-23 11:25:41 +02:00
Karel Zak 63f4e19928 tools: remove changes merged by accident
Signed-off-by: Karel Zak <kzak@redhat.com>
2020-07-23 11:22:42 +02:00
Karel Zak a95ffa17b7 docs: update v2.36-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2020-07-22 14:40:18 +02:00
Karel Zak 87b403df58 docs: update AUTHORS file
Signed-off-by: Karel Zak <kzak@redhat.com>
2020-07-22 14:38:31 +02:00
Karel Zak d35d646f17 po: merge changes
Signed-off-by: Karel Zak <kzak@redhat.com>
2020-07-22 12:20:36 +02:00
Boyuan Yang 64e5d6f40f po: update zh_CN.po (from translationproject.org) 2020-07-22 12:04:53 +02:00
Yuri Chornoivan 2cf86fa443 po: update uk.po (from translationproject.org) 2020-07-22 12:04:53 +02:00
Pedro Albuquerque b2c7933b18 po: update pt.po (from translationproject.org) 2020-07-22 12:04:53 +02:00
Rafael Fontenelle eac6f956c2 po: update pt_BR.po (from translationproject.org) 2020-07-22 12:04:53 +02:00
Jakub Bogusz d413489e31 po: update pl.po (from translationproject.org) 2020-07-22 12:04:53 +02:00
Takeshi Hamasaki a8c1c27d3c po: update ja.po (from translationproject.org) 2020-07-22 12:04:53 +02:00
Božidar Putanec 5fe18106ee po: update hr.po (from translationproject.org) 2020-07-22 12:04:53 +02:00
Frédéric Marchal 89862b8659 po: update fr.po (from translationproject.org) 2020-07-22 12:04:53 +02:00
Antonio Ceballos Roa 7149d940ef po: update es.po (from translationproject.org) 2020-07-22 12:04:53 +02:00
Mario Blättermann 677e35cfd1 po: update de.po (from translationproject.org) 2020-07-22 12:04:53 +02:00
Petr Písař c3666cb29b po: update cs.po (from translationproject.org) 2020-07-22 12:04:53 +02:00
Karel Zak 7d0d2842b7 docs: add blkdiscard to ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2020-07-22 11:23:18 +02:00
Karel Zak 1ac70bf5a5 libsmartcols: (docs) fix reference
Signed-off-by: Karel Zak <kzak@redhat.com>
2020-07-22 11:22:51 +02:00
Karel Zak c709dbcdb5 libfdisk: (docs) add missing comment
Signed-off-by: Karel Zak <kzak@redhat.com>
2020-07-22 10:44:47 +02:00
Karel Zak 323e923950 libmount: (docs) fix typo, remove unused reference
Signed-off-by: Karel Zak <kzak@redhat.com>
2020-07-22 10:44:33 +02:00
Karel Zak 40a4845693 libsmartcols: (docs) add missing references
Signed-off-by: Karel Zak <kzak@redhat.com>
2020-07-22 10:34:14 +02:00
Karel Zak e0d9243a14 libmount: (docs) add missing references
Signed-off-by: Karel Zak <kzak@redhat.com>
2020-07-22 10:34:03 +02:00
Karel Zak f11fe35f5e libfdisk: (docs) add missing references
Signed-off-by: Karel Zak <kzak@redhat.com>
2020-07-22 10:33:53 +02:00
Karel Zak bd64c5a3f1 libblkid: (docs) add missing references
Signed-off-by: Karel Zak <kzak@redhat.com>
2020-07-22 10:33:44 +02:00
Karel Zak 09fd73e9e0 Merge branch 'documentation_typo' of https://github.com/8vasu/util-linux
* 'documentation_typo' of https://github.com/8vasu/util-linux:
  fix typo: yourbranch -> yourgit
2020-07-20 10:32:44 +02:00
Michael Kerrisk (man-pages) 0ddd83c703 Manual pages: scriptreplay.1: Miscellaneous wording, grammar, and formatting fixes
Nothing too contentious here, I think, so I'm rolling all
of the edits into one patch.

Signed-off-by: Michael Kerrisk (man-pages) <mtk.manpages@gmail.com>
2020-07-20 09:58:13 +02:00
Michael Kerrisk (man-pages) c2edaa8d50 Manual pages: scriptlive.1: Miscellaneous wording, grammar, and formatting fixes
Nothing too contentious here, I think, so I'm rolling all
of the edits into one patch.

Signed-off-by: Michael Kerrisk (man-pages) <mtk.manpages@gmail.com>
2020-07-20 09:58:13 +02:00
Michael Kerrisk (man-pages) 1dd82d5491 Manual pages: script.1: Miscellaneous wording, grammar, and formatting fixes
Nothing too contentious here, I think, so I'm rolling all
of the edits into one patch.

Signed-off-by: Michael Kerrisk (man-pages) <mtk.manpages@gmail.com>
2020-07-20 09:58:13 +02:00
Karel Zak 3575089b16 libmount: fix condition for mountinfo filter
The filter has to be used for valid entries.

References: fe0d12d4f8
Signed-off-by: Karel Zak <kzak@redhat.com>
2020-07-17 10:45:40 +02:00
Soumendra Ganguly ca8a129abc fix typo: yourbranch -> yourgit 2020-07-16 21:03:15 -05:00
Mauricio Faria de Oliveira ff84ba8b03 rename: tests: add more symlink checks
Add a few checks to the symlink test, including for the fix
in commit 477239ce0d ("rename: fix regression for symlink
with non-existing target").

Tested with './tests/run.sh rename/symlink' before/after that
commit with FAILED/OK results (and '--show-diff') as expected:

After:
       rename: symlink check                  ... OK

Before:
       rename: symlink check                  ... FAILED (rename/symlink)

With --show-diff:

    diff-{{{
    --- /home/mfo/git/util-linux/tests/expected/rename/symlink	2020-07-14 15:21:06.412792160 -0300
    +++ /home/mfo/git/util-linux/tests/output/rename/symlink	2020-07-14 15:45:10.980927233 -0300
    @@ -3,5 +3,3 @@
     rename_slink.3: `old' -> `new'
     `rename_slink.1' -> `rename_symlink.1'
     target
    -`rename_slink.2' -> `rename_symlink.2'
    -target
    }}}-diff

    diff-{{{
    --- /home/mfo/git/util-linux/tests/expected/rename/symlink.err	2020-07-14 15:37:42.466207786 -0300
    +++ /home/mfo/git/util-linux/tests/output/rename/symlink.err	2020-07-14 15:45:10.984927251 -0300
    @@ -1 +1,2 @@
    +rename: rename_slink.2: not accessible: No such file or directory
     rename: rename_slink.3: No such file or directory
    }}}-diff

Signed-off-by: Mauricio Faria de Oliveira <mfo@canonical.com>
2020-07-14 15:51:47 -03:00
Michael Kerrisk (man-pages) 70dae020c9 Manual pages: runuser.1, su.1: miscellaneous wording and formatting fixes
Various wording and formatting fixes. Nothing too contentnious, I think,
so I rolled these changes into one patch.

Since there is much common text in su.1 and runuser.1, I've combined
the changes to both pages into one patch, and, as far as possible,
ensured that changes to the common pieces of text match across the
two pages.

Signed-off-by: Michael Kerrisk (man-pages) <mtk.manpages@gmail.com>
2020-07-14 14:37:26 +02:00
Karel Zak cdc08221ac Manual pages: reword su.1 description
Reported-by: "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2020-07-14 14:33:49 +02:00
Karel Zak 29e204d117 docs: reword others "allow to"
Signed-off-by: Karel Zak <kzak@redhat.com>
2020-07-14 14:31:29 +02:00
Michael Kerrisk (man-pages) 4f68c8b179 Manual pages: various: reword "allow(s) to"
The wording "allow(s) to" is not grammatical English. Reword various
pages to use a more correct form such "can be use to" or "allows
the [noun] of".

Aklong the way, fix a few nearby wording errors in some pages.

Signed-off-by: Michael Kerrisk (man-pages) <mtk.manpages@gmail.com>
2020-07-14 14:08:54 +02:00