From: Thierry Parmentelat Date: Sun, 22 Dec 2013 09:50:37 +0000 (+0100) Subject: Thomas's fix about calling mkfs.btrfs with the -f option X-Git-Tag: bootmanager-5.2-2~4 X-Git-Url: http://git.onelab.eu/?p=bootmanager.git;a=commitdiff_plain;h=46b7e125c111fd15cbd6942023095e6e3f861002 Thomas's fix about calling mkfs.btrfs with the -f option --- diff --git a/source/steps/InstallPartitionDisks.py b/source/steps/InstallPartitionDisks.py index f0d3d97..f5382d1 100644 --- a/source/steps/InstallPartitionDisks.py +++ b/source/steps/InstallPartitionDisks.py @@ -181,7 +181,7 @@ def Run( vars, log ): utils.sysexec_noerr( "tune2fs -c -1 -i 0 %s" % devname, log) else: log.write("formatting %s btrfs partition (%s).\n" % (fs,devname)) - utils.sysexec( "mkfs.btrfs %s" % (devname), log ) + utils.sysexec( "mkfs.btrfs -f %s" % (devname), log ) # as of 2013/02 it looks like there's not yet an option to set fsck frequency with btrfs # save the list of block devices in the log