summaryrefslogtreecommitdiff
path: root/morphlib/fsutils.py
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-06-11 11:01:16 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-06-13 13:49:39 +0100
commit4f79aa01679b22eab650ae67c3e08f2fefd5f458 (patch)
tree7a0b15fd676b9770b30ec1a7d13f94f957d0a9f0 /morphlib/fsutils.py
parentb088e31b740c62b90ddf9c3342b876736790c1e8 (diff)
downloadmorph-4f79aa01679b22eab650ae67c3e08f2fefd5f458.tar.gz
create_fs: remove the filesystem size options
Diffstat (limited to 'morphlib/fsutils.py')
-rw-r--r--morphlib/fsutils.py5
1 files changed, 1 insertions, 4 deletions
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):