]> git.ipfire.org Git - thirdparty/util-linux.git/commit
findmnt: revert --fstab behavior, add --tab-file option
authorKarel Zak <kzak@redhat.com>
Fri, 20 Jan 2012 11:15:37 +0000 (12:15 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 20 Jan 2012 11:15:37 +0000 (12:15 +0100)
commit2f1ac44b4b938b5a57ff368e29216102b856475c
tree54d7a07687d27777532609ccac04e0484ca41cee
parent1bbf82037795bb4ed2b2af21f2ae2e43d3e20f50
findmnt: revert --fstab behavior, add --tab-file option

The optional argument for -s, --fstab options (--fstab=file) is not
backwardly compatible, because command line with short options (e.g.
findmnt -snr) will be interpreted incorrectly.

This patch removes support for the optional --fstab argument and
introduces a new option --tab-file, for example:

findmnt --fstab --tab-file=/etc/fstab.foo

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