]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: reimplement mnt_match_options()
authorKarel Zak <kzak@redhat.com>
Tue, 20 Dec 2016 14:31:33 +0000 (15:31 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 20 Dec 2016 14:35:50 +0000 (15:35 +0100)
commitdb17f201b88903267175be4671efc6b7f71d9b88
tree2c44614f6d4ae026f0d65826b224916a0c8ab6d5
parent421cfd356514005bf1e71b0d64c925e971b3a9aa
libmount: reimplement mnt_match_options()

Let's use optstr.c functions to parse pattern and options strings.
It's more robust that the old original mount(8) code and it supports
quotes in the options strings.

Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/docs/libmount-sections.txt
libmount/src/optstr.c
libmount/src/utils.c