Skip to content

Commit

Permalink
findmnt: (man) write about -Q,--filter option
Browse files Browse the repository at this point in the history
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
  • Loading branch information
masatake committed Jun 19, 2024
1 parent 1edbdb8 commit 4c91a8e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions misc-utils/findmnt.8.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,15 @@ Print only pseudo filesystems.
*--shadow*::
Print only filesystems over-mounted by another filesystem.

*-Q*, *--filter* _expr_::
Print only the filesystems that meet the conditions specified by the expr.
+
This feature is EXPERIMENTAL. See also *scols-filter*(5).
For example, include xfs having more than 50% free space:
____
findmnt -Q 'INO.USED < INO.AVAIL && FSTYPE == "xfs"'
____

*-R*, *--submounts*::
Print recursively all submounts for the selected filesystems. The restrictions defined by options *-t*, *-O*, *-S*, *-T* and *--direction* are not applied to submounts. All submounts are always printed in tree-like order. The option enables the tree-like output format by default. This option has no effect for *--mtab* or *--fstab*.

Expand Down Expand Up @@ -243,6 +252,7 @@ mailto:kzak@redhat.com[Karel Zak]

*fstab*(5),
*mount*(8)
*scols-filter*(5)

include::man-common/bugreports.adoc[]

Expand Down

0 comments on commit 4c91a8e

Please sign in to comment.