On Thu, Oct 22, 2020 at 7:52 PM Goldwyn Rodrigues <rgoldwyn@xxxxxxx> wrote: > > btrfs does not have options of defining mkfs options via the > environment. Use BTRFS_MKFS_OPTIONS environment variable to set > MKFS_OPTIONS for btrfs. > > Signed-off-by: Goldwyn Rodrigues <rgoldwyn@xxxxxxxx> Looks good, Reviewed-by: Filipe Manana <fdmanana@xxxxxxxx> Since this is btrfs specific, in the future please cc the btrfs mailing list as well. Thanks. > --- > common/config | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/common/config b/common/config > index 285b7d1f..d83dfb28 100644 > --- a/common/config > +++ b/common/config > @@ -410,6 +410,9 @@ _mkfs_opts() > f2fs) > export MKFS_OPTIONS="$F2FS_MKFS_OPTIONS" > ;; > + btrfs) > + export MKFS_OPTIONS="$BTRFS_MKFS_OPTIONS" > + ;; > *) > ;; > esac > -- > 2.26.2 -- Filipe David Manana, “Whether you think you can, or you think you can't — you're right.”