From 4f79aa01679b22eab650ae67c3e08f2fefd5f458 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Mon, 11 Jun 2012 11:01:16 +0000 Subject: create_fs: remove the filesystem size options --- morphlib/fsutils.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'morphlib/fsutils.py') diff --git a/morphlib/fsutils.py b/morphlib/fsutils.py index d4f9f474..1a833599 100644 --- a/morphlib/fsutils.py +++ b/morphlib/fsutils.py @@ -53,10 +53,7 @@ def setup_device_mapping(runcmd, image_name): return line[:i] def create_fs(runcmd, partition): - # FIXME: the hardcoded size of 4GB is icky but the default broke - # when we used mkfs -t ext4 - runcmd(['mkfs.btrfs', '-L', 'baserock', - '-b', '4294967296', partition]) + runcmd(['mkfs.btrfs', '-L', 'baserock', partition]) def mount(runcmd, partition, mount_point): if not os.path.exists(mount_point): -- cgit v1.2.1