While we're on ext4 things, I wonder whether we could change the name of the container file for the root filesystem? Currently it's called 'ext3.img', and contains an ext4 filesystem. It's not exactly a major issue, but it does annoy me a little...

It would be better to call it 'fsroot.img' or something descriptive, to avoid this kind of thing when ext94 comes out.

James

On Tue, 2011-03-08 at 21:43 +0000, Frederick Grose wrote:
Author: Frederick Grose <fgrose@gmail.com>
Date:   Tue Mar 8 16:37:16 2011 -0500


    Create an ext4 filesystem by default for home.img


diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh
index b7cee72..071943c 100755
--- a/tools/livecd-iso-to-disk.sh
+++ b/tools/livecd-iso-to-disk.sh
@@ -1134,14 +1134,14 @@ if [ "$homesizemb" -gt 0 -a -z "$skipcopy" ]; then
             cryptsetup luksOpen $loop EncHomeFoo
             setupworked=$?
         done
-        mke2fs -j /dev/mapper/EncHomeFoo
+        mke2fs -j -T ext4 /dev/mapper/EncHomeFoo
         tune2fs -c0 -i0 -ouser_xattr,acl /dev/mapper/EncHomeFoo
         sleep 2
         cryptsetup luksClose EncHomeFoo
         losetup -d $loop
     else
         echo "Formatting unencrypted /home"
-        mke2fs -F -j $TGTMNT/$LIVEOS/$HOMEFILE
+        mke2fs -F -j -T ext4 $TGTMNT/$LIVEOS/$HOMEFILE
         tune2fs -c0 -i0 -ouser_xattr,acl $TGTMNT/$LIVEOS/$HOMEFILE
     fi
 fi