[PATCH] Add --mkfsoptions to btrfs, logvol, partition, and raid commands.

David Lehman dlehman at redhat.com
Wed Jun 17 23:42:10 UTC 2015


On 06/17/2015 12:40 PM, Chris Lumens wrote:
> Only ext* supports filesystem profiles, so we need some other way to let
> users provide arbitrary arguments when making filesystems.
>
> Resolves: rhbz#1218260
> ---
>   pykickstart/commands/btrfs.py     | 34 ++++++++++++++++++++++++++++++++++
>   pykickstart/commands/logvol.py    | 34 ++++++++++++++++++++++++++++++++--
>   pykickstart/commands/partition.py | 32 ++++++++++++++++++++++++++++++++
>   pykickstart/commands/raid.py      | 33 +++++++++++++++++++++++++++++++++
>   pykickstart/handlers/rhel7.py     | 14 +++++++-------
>   tests/commands/btrfs.py           | 12 ++++++++++++
>   tests/commands/logvol.py          | 12 +++++++++++-
>   tests/commands/partition.py       | 11 +++++++++++
>   tests/commands/raid.py            | 12 ++++++++++++
>   9 files changed, 184 insertions(+), 10 deletions(-)
>

Looks good to me. We'll probably also want to raise an exception if
mkfsoptions appears without fstype (including those implied via special
mountpoints), but that will probably have to be in anaconda.

David


More information about the anaconda-patches mailing list