Tizen product and reference targets embed the NAND flash device as the
primary storage. The btrfs filesystem uses the metadata single option as
default if a NAND storage is detected. For this, create btrfs images
with the metadata single option.
Change-Id: I99a3ad08589e51cd7ff8cb6e0275aa03ecdad035
Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
return
msger.verbose("Formating %s filesystem on %s" % (self.fstype, self.disk.device))
- rc = runner.show([self.mkfscmd, "-L", self.fslabel, self.disk.device])
+ rc = runner.show([self.mkfscmd, "-L", self.fslabel, "-m", "single", self.disk.device])
if rc != 0:
raise MountError("Error creating %s filesystem on disk %s" % (self.fstype,self.disk.device))