]> git.ipfire.org Git - thirdparty/util-linux.git/commit - misc-utils/findmnt.c
findmnt: filter filesystems and actions for --poll
authorKarel Zak <kzak@redhat.com>
Wed, 27 Apr 2011 20:39:44 +0000 (22:39 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 27 Apr 2011 20:59:00 +0000 (22:59 +0200)
commit582a5006d4ccac6131ad9e3eb3f391f4904bf4e3
tree158e113fc07a4d9e4c31a99045a93c0824c54848
parent77a1c5f7c9c6ff3f73940967a173ba24ca0e8eda
findmnt: filter filesystems and actions for --poll

The patch allows to filter by:

 * actions name:
$ findmnt --poll=umount

 * target, source, fstype, options:
$ findmnt --poll /mnt/test
$ findmnt --poll -O ro
$ findmnt --poll -t ext4

 * --first-only option to wait only for the first matching change:

$ findmnt --poll=umount --first-only /mnt/test

Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/findmnt.8
misc-utils/findmnt.c