]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: add "+" prefix for options pattern (e.g findmnt -O)
authorKarel Zak <kzak@redhat.com>
Thu, 1 Dec 2011 17:28:42 +0000 (18:28 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 1 Dec 2011 17:28:42 +0000 (18:28 +0100)
commitede8a60e05598ce1cf27889ce9293f8facf94278
treec6dfa2962639f6cadf9def5fe6fd2207c2b6de1a
parent190c342a838b24eda4dacf722f3aae133eff7ab2
libmount: add "+" prefix for options pattern (e.g findmnt -O)

Examples:

 * findmnt --fstab -O noauto
   Returns all entries where is not "auto" option (including entries
   with "noauto" option.

 * findmnt --fstab -O +noauto
   Returns all entries where is literally "noauto" option.

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=758457
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/utils.c
misc-utils/findmnt.8