]> git.ipfire.org Git - thirdparty/util-linux.git/commit
findmnt: revise the code for -I and -D option
authorMasatake YAMATO <yamato@redhat.com>
Fri, 5 Apr 2024 13:40:36 +0000 (22:40 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Mon, 8 Apr 2024 18:48:12 +0000 (03:48 +0900)
commitaa0c45e8686df509c169121473d2cfb4fe18c3ea
tree3c71ce5e81117accd6ce605292317da1b1c32a9f
parent07aacb371470b5561f13b95e399e5ff77e417b8f
findmnt: revise the code for -I and -D option

Fixes #2913.

3dd79293b5b655da9d913dedd8facb08959a7826 added -I option.
However, the code used bit flags (FL_DF and FL_DF_INODES) wrongly;
the code broke the output of -D option.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
misc-utils/findmnt.c
misc-utils/findmnt.h
tests/expected/findmnt/df-options [new file with mode: 0644]
tests/ts/findmnt/df-options [new file with mode: 0755]