On Wed, Feb 06, 2019 at 05:33:59PM +0200, Nikolay Borisov wrote: > [ "$FSTYP" = "xfs" ] && MKFS_OPTIONS="-f $MKFS_OPTIONS" > +[ "$FSTYP" = "btrfs" ] && MKFS_OPTIONS="-f -dsingle -msingle" This would drop anything that the original MKFS_OPTIONS had, eg. -O features or -K, that's an example what I use.