From: Saulin Tuhin Date: Thu, 20 Feb 2025 06:39:02 +0000 (+0600) Subject: Enable mixed mode for formatting on Btrfs filesystems to support small devices X-Git-Tag: accepted/tools/devbase/tools/20250527.103804~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=66d5bc6906159e4c4c7a61255a725180b2be6d46;p=tools%2Fmic.git Enable mixed mode for formatting on Btrfs filesystems to support small devices Change-Id: I3caa64d020e46e4434d06c380cfeb7cca2527c9d Signed-off-by: Saulin Tuhin --- diff --git a/mic/utils/fs_related.py b/mic/utils/fs_related.py index f3d16e4..a6e2af3 100755 --- a/mic/utils/fs_related.py +++ b/mic/utils/fs_related.py @@ -823,7 +823,7 @@ class BtrfsDiskMount(DiskMount): return msger.verbose("Formating %s filesystem on %s" % (self.fstype, self.disk.device)) - rc = runner.show([self.mkfscmd, "-L", self.fslabel, "-m", "single", self.disk.device]) + rc = runner.show([self.mkfscmd, "-L", self.fslabel, "-m", "single", "-M", self.disk.device]) if rc != 0: raise MountError("Error creating %s filesystem on disk %s" % (self.fstype,self.disk.device))