]> git.ipfire.org Git - thirdparty/util-linux.git/log
thirdparty/util-linux.git
3 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>
3 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>
3 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>
3 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

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

3 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)

3 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)

3 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)

3 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)

3 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)

3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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

3 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>
3 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>
3 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>
3 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>
3 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>
3 years agogithub: fix asciidoctror dependence
Karel Zak [Mon, 29 Mar 2021 16:56:12 +0000 (18:56 +0200)] 
github: fix asciidoctror dependence

Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agogithub: add ruby-asciidoctor to CI-build
Karel Zak [Mon, 29 Mar 2021 13:26:37 +0000 (15:26 +0200)] 
github: add ruby-asciidoctor to CI-build

Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agodocs: update Documentation/howto-man-page.txt
Karel Zak [Mon, 29 Mar 2021 13:04:15 +0000 (15:04 +0200)] 
docs: update Documentation/howto-man-page.txt

Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agoAsciidoc: Incorporate latest changes in findmnt.8
Karel Zak [Mon, 29 Mar 2021 12:41:26 +0000 (14:41 +0200)] 
Asciidoc: Incorporate latest changes in findmnt.8

Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agoMerge remote-tracking branch 'mariobl/topic/asciidoc'
Karel Zak [Mon, 29 Mar 2021 13:09:27 +0000 (15:09 +0200)] 
Merge remote-tracking branch 'mariobl/topic/asciidoc'

* mariobl/topic/asciidoc: (71 commits)
  Asciidoc: Update .pot template
  Asciidoc: Reorder example command sequence
  Asciidoc: Update .pot template
  Asciidoc: Better gettext message splitting in nsenter.1.adoc
  Asciidoc: Update .pot template
  Asciidoc: Fix typo and remove invisible spaces which confuse po4a
  Asciidoc: Update .pot template
  Asciidoc: Fix typo
  Asciidoc: Fix artifact from initial import, sixth attempt
  Asciidoc: Update .pot template
  Asciidoc: Fix artifacts from initial import, fifth attempt
  Asciidoc: Fix artifacts from initial import, fourth attempt
  Asciidoc: Update .pot template
  Asciidoc: Fix artifacts from initial import, third attempt
  Asciidoc: Fix artifacts from initial import, second attempt
  Asciidoc: Fix artifacts from initial import
  Asciidoc: Add po4a config file and initial translation template for man pages
  Asciidoc: Small indentation fix in mount.8.adoc
  Asciidoc: Review sys-utils man pages, part 2
  build-sys: fix out-of-tree build
  ...

Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agoAsciidoc: Update .pot template
Mario Blättermann [Sun, 28 Mar 2021 12:31:13 +0000 (14:31 +0200)] 
Asciidoc: Update .pot template

3 years agoAsciidoc: Reorder example command sequence
Mario Blättermann [Sun, 28 Mar 2021 12:29:45 +0000 (14:29 +0200)] 
Asciidoc: Reorder example command sequence

3 years agoAsciidoc: Update .pot template
Mario Blättermann [Sun, 28 Mar 2021 10:00:01 +0000 (12:00 +0200)] 
Asciidoc: Update .pot template

3 years agoAsciidoc: Better gettext message splitting in nsenter.1.adoc
Mario Blättermann [Sun, 28 Mar 2021 09:58:08 +0000 (11:58 +0200)] 
Asciidoc: Better gettext message splitting in nsenter.1.adoc

3 years agoAsciidoc: Update .pot template
Mario Blättermann [Sun, 28 Mar 2021 08:47:42 +0000 (10:47 +0200)] 
Asciidoc: Update .pot template

3 years agoAsciidoc: Fix typo and remove invisible spaces which confuse po4a
Mario Blättermann [Sun, 28 Mar 2021 08:47:00 +0000 (10:47 +0200)] 
Asciidoc: Fix typo and remove invisible spaces which confuse po4a

3 years agoAsciidoc: Update .pot template
Mario Blättermann [Fri, 26 Mar 2021 23:45:15 +0000 (00:45 +0100)] 
Asciidoc: Update .pot template

3 years agoAsciidoc: Fix typo
Mario Blättermann [Fri, 26 Mar 2021 23:30:37 +0000 (00:30 +0100)] 
Asciidoc: Fix typo

3 years agoAsciidoc: Fix artifact from initial import, sixth attempt
Mario Blättermann [Fri, 26 Mar 2021 23:10:27 +0000 (00:10 +0100)] 
Asciidoc: Fix artifact from initial import, sixth attempt

3 years agoAsciidoc: Update .pot template
Mario Blättermann [Fri, 26 Mar 2021 20:42:47 +0000 (21:42 +0100)] 
Asciidoc: Update .pot template

3 years agoAsciidoc: Fix artifacts from initial import, fifth attempt
Mario Blättermann [Fri, 26 Mar 2021 20:41:03 +0000 (21:41 +0100)] 
Asciidoc: Fix artifacts from initial import, fifth attempt

3 years agoAsciidoc: Fix artifacts from initial import, fourth attempt
Mario Blättermann [Fri, 26 Mar 2021 20:11:25 +0000 (21:11 +0100)] 
Asciidoc: Fix artifacts from initial import, fourth attempt

3 years agoAsciidoc: Update .pot template
Mario Blättermann [Fri, 26 Mar 2021 19:55:26 +0000 (20:55 +0100)] 
Asciidoc: Update .pot template

3 years agoAsciidoc: Fix artifacts from initial import, third attempt
Mario Blättermann [Fri, 26 Mar 2021 19:54:06 +0000 (20:54 +0100)] 
Asciidoc: Fix artifacts from initial import, third attempt

3 years agoAsciidoc: Fix artifacts from initial import, second attempt
Mario Blättermann [Fri, 26 Mar 2021 19:17:45 +0000 (20:17 +0100)] 
Asciidoc: Fix artifacts from initial import, second attempt

3 years agoAsciidoc: Fix artifacts from initial import
Mario Blättermann [Fri, 26 Mar 2021 19:12:42 +0000 (20:12 +0100)] 
Asciidoc: Fix artifacts from initial import

3 years agoAsciidoc: Add po4a config file and initial translation template for man pages
Mario Blättermann [Fri, 26 Mar 2021 16:32:17 +0000 (17:32 +0100)] 
Asciidoc: Add po4a config file and initial translation template for man pages

3 years agoAsciidoc: Small indentation fix in mount.8.adoc
Mario Blättermann [Fri, 26 Mar 2021 16:29:16 +0000 (17:29 +0100)] 
Asciidoc: Small indentation fix in mount.8.adoc

3 years agoAsciidoc: Review sys-utils man pages, part 2
Mario Blättermann [Fri, 26 Mar 2021 16:19:27 +0000 (17:19 +0100)] 
Asciidoc: Review sys-utils man pages, part 2

3 years agoMerge pull request #1 from karelzak/asciidoc-for-mario
Mario Blättermann [Fri, 26 Mar 2021 13:35:55 +0000 (14:35 +0100)] 
Merge pull request #1 from karelzak/asciidoc-for-mario

Asciidoc for mario

3 years agobuild-sys: fix out-of-tree build
Karel Zak [Fri, 26 Mar 2021 13:20:03 +0000 (14:20 +0100)] 
build-sys: fix out-of-tree build

asciidoctor cannot write to source directory, we need to force it to
use $builddir.

Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agobuild-sys: add man-common/Makemodule.am
Karel Zak [Fri, 26 Mar 2021 11:42:12 +0000 (12:42 +0100)] 
build-sys: add man-common/Makemodule.am

Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agoAsciidoc: Incorporate latest changes in rfkill.8 and umount.8
Mario Blättermann [Fri, 26 Mar 2021 12:35:42 +0000 (13:35 +0100)] 
Asciidoc: Incorporate latest changes in rfkill.8 and umount.8

3 years agoAsciidoc: Remove old man page links
Mario Blättermann [Fri, 26 Mar 2021 12:26:16 +0000 (13:26 +0100)] 
Asciidoc: Remove old man page links

3 years agobuild-sys: fix typo
Karel Zak [Fri, 26 Mar 2021 10:57:07 +0000 (11:57 +0100)] 
build-sys: fix typo

Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agobuild-sys: cleanup .gitignore files
Karel Zak [Fri, 26 Mar 2021 10:55:01 +0000 (11:55 +0100)] 
build-sys: cleanup .gitignore files

Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agobuild-sys: split man pages and man page links
Karel Zak [Fri, 26 Mar 2021 10:49:59 +0000 (11:49 +0100)] 
build-sys: split man pages and man page links

The symlinks are generated by asciidoctor and current dist_man_MANS
depends on order (nan page before man link). This solutions is useless
when execute "make -j". The real solution is to keep man pages in
separate variable and use only this variable evaluate what we need to
generate.

Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agobuild-sys: remove man page link files
Karel Zak [Fri, 26 Mar 2021 10:03:35 +0000 (11:03 +0100)] 
build-sys: remove man page link files

It seems asciidoctor generates all necessary files.

Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agobuild-sys: remove duplicate hook
Karel Zak [Fri, 26 Mar 2021 09:31:29 +0000 (10:31 +0100)] 
build-sys: remove duplicate hook

Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agobuild-sys: remove some man pages from PATHFILES
Karel Zak [Fri, 26 Mar 2021 09:13:17 +0000 (10:13 +0100)] 
build-sys: remove some man pages from PATHFILES

fix warnings:

 Makefile:15936: warning: overriding recipe for target 'misc-utils/uuidd.8'
 Makefile:15928: warning: ignoring old recipe for target 'misc-utils/uuidd.8'
 Makefile:15936: warning: overriding recipe for target 'misc-utils/getopt.1'
 Makefile:15928: warning: ignoring old recipe for target 'misc-utils/getopt.1'

Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agoAsciidoc: Review sys-utils man pages,part 1
Mario Blättermann [Thu, 25 Mar 2021 19:27:34 +0000 (20:27 +0100)] 
Asciidoc: Review sys-utils man pages,part 1

3 years agoAsciidoc: Review text-utils man pages
Mario Blättermann [Thu, 25 Mar 2021 18:17:48 +0000 (19:17 +0100)] 
Asciidoc: Review text-utils man pages

3 years agoAsciidoc: Review term-utils man pages
Mario Blättermann [Thu, 25 Mar 2021 17:22:30 +0000 (18:22 +0100)] 
Asciidoc: Review term-utils man pages

3 years agottymsg: fix resource leak [coverity scan]
Karel Zak [Thu, 25 Mar 2021 11:39:23 +0000 (12:39 +0100)] 
ttymsg: fix resource leak [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agolsmem: use ul_path_readf_string() readable for analysers [coverity scan]
Karel Zak [Thu, 25 Mar 2021 11:23:21 +0000 (12:23 +0100)] 
lsmem: use ul_path_readf_string() readable for analysers [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agolsirq: fix resources leak [coverity scan]
Karel Zak [Thu, 25 Mar 2021 11:14:46 +0000 (12:14 +0100)] 
lsirq: fix resources leak [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agolsirq: fix resources leak [coverity scan]
Karel Zak [Thu, 25 Mar 2021 11:13:00 +0000 (12:13 +0100)] 
lsirq: fix resources leak [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agomeson: add irq utils
Karel Zak [Thu, 25 Mar 2021 11:12:11 +0000 (12:12 +0100)] 
meson: add irq utils

Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agofstrim: fix memory leak [coverity scan]
Karel Zak [Thu, 25 Mar 2021 10:53:02 +0000 (11:53 +0100)] 
fstrim: fix memory leak [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agolibmount: fix memory leak [coverity scan]
Karel Zak [Thu, 25 Mar 2021 10:03:03 +0000 (11:03 +0100)] 
libmount: fix memory leak [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agolibmount: add assert() to umount lookup code
Karel Zak [Thu, 25 Mar 2021 09:51:54 +0000 (10:51 +0100)] 
libmount: add assert() to umount lookup code

Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agolibfdisk: make labels allocations readable for analysers [coverity scan]
Karel Zak [Thu, 25 Mar 2021 09:43:20 +0000 (10:43 +0100)] 
libfdisk: make labels allocations readable for analysers [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agosfdisk: fix resources leak [coverity scan]
Karel Zak [Thu, 25 Mar 2021 09:25:12 +0000 (10:25 +0100)] 
sfdisk: fix resources leak [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agoAdd missing backslash to Makefile.am
Mario Blättermann [Wed, 24 Mar 2021 19:28:08 +0000 (20:28 +0100)] 
Add missing backslash to Makefile.am

3 years agoAsciidoc: Review login-utils man pages
Mario Blättermann [Wed, 24 Mar 2021 19:01:34 +0000 (20:01 +0100)] 
Asciidoc: Review login-utils man pages

3 years agoAsciidoc: Review disk-utils man pages
Mario Blättermann [Wed, 24 Mar 2021 17:53:27 +0000 (18:53 +0100)] 
Asciidoc: Review disk-utils man pages

3 years agoAsciidoc: Review terminal-colors.d.5.adoc
Mario Blättermann [Wed, 24 Mar 2021 16:37:34 +0000 (17:37 +0100)] 
Asciidoc: Review terminal-colors.d.5.adoc

3 years agoMerge branch 'topic/rfkill'
Karel Zak [Wed, 24 Mar 2021 11:54:41 +0000 (12:54 +0100)] 
Merge branch 'topic/rfkill'

3 years agolibsmartcols: introduce default sort column
Karel Zak [Wed, 24 Mar 2021 11:43:17 +0000 (12:43 +0100)] 
libsmartcols: introduce default sort column

* add default sort column, set by scols_sort_table()

* sort tree according to default sort column also in scols_sort_table_by_tree()

The function scols_sort_table() does not sort tree branches if tree
is not enabled. The function scols_sort_table_by_tree() does not care
if tree is enabled and it always follows parent->child relations. For
scols_sort_table_by_tree() we need to follow order in branches if
previously scols_sort_table() has been called.

For example lsblk calls

scols_sort_table(tb, cl);
scols_sort_table_by_tree(tb);

for list-like output (for example lsblk -P) and users assume the
same order as for tree (lsblk --tree).

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1940607
Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agolibsmartcols: add sort sunction to the sample
Karel Zak [Wed, 24 Mar 2021 11:42:58 +0000 (12:42 +0100)] 
libsmartcols: add sort sunction to the sample

Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agoDefine the asciidoctor command in configure.ac
Mario Blättermann [Tue, 23 Mar 2021 20:09:22 +0000 (21:09 +0100)] 
Define the asciidoctor command in configure.ac

3 years agoAsciidoc: Review schedutils man pages
Mario Blättermann [Tue, 23 Mar 2021 19:43:52 +0000 (20:43 +0100)] 
Asciidoc: Review schedutils man pages

3 years agoAsciidoc: Incorporate latest change in findmnt.8
Mario Blättermann [Tue, 23 Mar 2021 19:10:02 +0000 (20:10 +0100)] 
Asciidoc: Incorporate latest change in findmnt.8

3 years agoAsciidoc: Review misc-utils man pages
Mario Blättermann [Tue, 23 Mar 2021 19:07:15 +0000 (20:07 +0100)] 
Asciidoc: Review misc-utils man pages

3 years agorfkill: add "toggle" command
Karel Zak [Tue, 23 Mar 2021 14:20:44 +0000 (15:20 +0100)] 
rfkill: add "toggle" command

Addresses: https://github.com/karelzak/util-linux/issues/1269
Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agotests: make it compatible with meson
Karel Zak [Mon, 22 Mar 2021 14:15:52 +0000 (15:15 +0100)] 
tests: make it compatible with meson

Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agofindmnt: add --shadowed
Karel Zak [Mon, 22 Mar 2021 13:58:05 +0000 (14:58 +0100)] 
findmnt: add --shadowed

Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agolibmount: mnt_table_over_fs() make child optional
Karel Zak [Mon, 22 Mar 2021 13:57:07 +0000 (14:57 +0100)] 
libmount: mnt_table_over_fs() make child optional

Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agofindmnt: sort columns
Karel Zak [Mon, 22 Mar 2021 11:41:37 +0000 (12:41 +0100)] 
findmnt: sort columns

Let's make "Available columns" in --help more readable.

Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agoumount: support over-mounts for --recursive
Karel Zak [Mon, 22 Mar 2021 10:29:28 +0000 (11:29 +0100)] 
umount: support over-mounts for --recursive

For example for hierarchy:

  $ findmnt -oTARGET,ID,PARENT
  TARGET                      ID PARENT
  /mnt/A                     802     62
  └─/mnt/A/B                 937    802
    ├─/mnt/A/B/C             964    937
    │ └─/mnt/A/B/C           991    964
    └─/mnt/A/B              1018    937
      └─/mnt/A/B            1045   1018

we need umount in order (id): 1045, 1018, 991, 964, 937, 802. The current
code first tries 991 in 937 branch.

Reported-by: Lennart Poettering <lennart@poettering.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agolibmount: add mnt_table_over_fs()
Karel Zak [Mon, 22 Mar 2021 10:24:49 +0000 (11:24 +0100)] 
libmount: add mnt_table_over_fs()

The function returns the first over-mount for specified filesystem.

Signed-off-by: Karel Zak <kzak@redhat.com>
3 years agoAsciidoc: Yet another formatting fix
Mario Blättermann [Sun, 21 Mar 2021 17:24:47 +0000 (18:24 +0100)] 
Asciidoc: Yet another formatting fix

3 years agoAsciidoc: Formatting cleanup
Mario Blättermann [Sun, 21 Mar 2021 12:02:56 +0000 (13:02 +0100)] 
Asciidoc: Formatting cleanup

3 years agoAsciidoc: Remove already imported text-utils *roff man pages
Mario Blättermann [Sun, 21 Mar 2021 11:50:16 +0000 (12:50 +0100)] 
Asciidoc: Remove already imported text-utils *roff man pages

3 years agoAsciidoc: Unify spelling of »User Commands«
Mario Blättermann [Sun, 21 Mar 2021 09:00:16 +0000 (10:00 +0100)] 
Asciidoc: Unify spelling of »User Commands«

3 years agoAsciidoc: Add Po4a hint to file headers
Mario Blättermann [Sat, 20 Mar 2021 15:42:47 +0000 (16:42 +0100)] 
Asciidoc: Add Po4a hint to file headers

3 years agoAsciidoc: Small fix in nsenter.1.adoc
Mario Blättermann [Sat, 20 Mar 2021 14:23:32 +0000 (15:23 +0100)] 
Asciidoc: Small fix in nsenter.1.adoc

3 years agoAsciidoc: Some more man page formatting improvements
Mario Blättermann [Sat, 20 Mar 2021 08:45:23 +0000 (09:45 +0100)] 
Asciidoc: Some more  man page formatting improvements

Besides some formatting tweaks, I've changed »lsblk(1)« into »lsblk(8)«
in the SEE ALSO section of mount.8.adoc. At least Archlinux and Debian
ship lsblk as a system administration command.

3 years agoAsciidoc: Re-add empty lines to man pages
Mario Blättermann [Fri, 19 Mar 2021 19:52:00 +0000 (20:52 +0100)] 
Asciidoc: Re-add empty lines to man pages

3 years agoAsciidoc: Some formatting cleanup in man pages
Mario Blättermann [Fri, 19 Mar 2021 17:25:50 +0000 (18:25 +0100)] 
Asciidoc: Some formatting cleanup in man pages

3 years agoAsciidoc: Remove already imported misc-utils *roff man pages
Mario Blättermann [Fri, 19 Mar 2021 16:16:40 +0000 (17:16 +0100)] 
Asciidoc: Remove already imported misc-utils *roff man pages

3 years agoAsciidoc: Import misc-utils man pages
Mario Blättermann [Fri, 19 Mar 2021 16:12:57 +0000 (17:12 +0100)] 
Asciidoc: Import misc-utils man pages

3 years agofindmnt: add PARENT column
Karel Zak [Fri, 19 Mar 2021 15:39:27 +0000 (16:39 +0100)] 
findmnt: add PARENT column

Signed-off-by: Karel Zak <kzak@redhat.com>