chiark / gitweb /
Support negated fstab options
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 11 Jan 2015 05:04:00 +0000 (00:04 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 12 Jan 2015 04:41:41 +0000 (23:41 -0500)
commitb9f111b93f9f442f00266f338b14f25ca8685352
treeb181920cabc924b56810502bef2a4a270f414932
parenta6dba97829e345772fae7c1d859e9fe0570ac42b
Support negated fstab options

We would ignore options like "fail" and "auto", and for any option
which takes a value the first assignment would win. Repeated and
options equivalent to the default are rarely used, but they have been
documented forever, and people might use them. Especially on the
kernel command line it is easier to append a repeated or negated
option at the end.
src/cryptsetup/cryptsetup-generator.c
src/cryptsetup/cryptsetup.c
src/fstab-generator/fstab-generator.c
src/shared/fstab-util.h
src/test/test-fstab-util.c