chiark / gitweb /
fstab-generator: Allow mount.usr without mount.usrflags, honor rw/ro
authorMichael Marineau <michael.marineau@coreos.com>
Mon, 8 Dec 2014 19:05:31 +0000 (11:05 -0800)
committerLennart Poettering <lennart@poettering.net>
Tue, 9 Dec 2014 01:24:26 +0000 (02:24 +0100)
commiteb5800026d5a6754514fb8f8a8561b49974fc879
tree374b781e85038bc185f3b00bdc55b50de2d196a0
parent59cfa62f20f566b2c0279405b302e890812b3334
fstab-generator: Allow mount.usr without mount.usrflags, honor rw/ro

There is no need to require mount.usrflags. The original implementation
assumed that a btrfs subvolume would always be needed but that is not
applicable to systems that do not use btrfs for /usr.

Similar to using rootflags= for the default of mount.usrflags=, append
the classic 'ro' and 'rw' flags to the mount options.
src/fstab-generator/fstab-generator.c