]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
mkfs: use suboption processing for -p
authorDarrick J. Wong <djwong@kernel.org>
Wed, 1 Mar 2023 16:05:39 +0000 (08:05 -0800)
committerCarlos Maiolino <cem@kernel.org>
Fri, 3 Mar 2023 11:35:57 +0000 (12:35 +0100)
commitfb22e1b1bd5222ae8f7a5d81634311976915df8b
tree3d8b62b591a22756979463f8dbf8e232613318b6
parentc3fce4f9ba69db41185bfb42654e6546029f7071
mkfs: use suboption processing for -p

Use suboption processing for -p so that we can add a few behavioral
variants to protofiles in the next patch.  As a side effect of this
change, one can now provide the path to a protofile in the config
file:

[proto]
file=/tmp/protofile

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
man/man8/mkfs.xfs.8.in
mkfs/xfs_mkfs.c