diff --git a/ChangeLog b/ChangeLog index 770aaf2a..bfad9dfa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-12-20 Curtis Gedak + + * src/ext4.cc: Add flags to create journal and use extent option. + 2008-12-18 Curtis Gedak * include/Utils.h, @@ -10,6 +14,7 @@ src/ext4.cc, src/Makefile.am: Created 2 files to support ext4 operations. - Support for ext4 is planned for version 2.6.28 of the Linux kernel. + - e2fsprogs version 1.41.0 or higher is required. * include/FS_Info.h, src/FS_Info.cc: Added get_fs_type() method diff --git a/src/ext4.cc b/src/ext4.cc index 2869db74..b798e5d0 100644 --- a/src/ext4.cc +++ b/src/ext4.cc @@ -111,7 +111,7 @@ bool ext4::write_label( const Partition & partition, OperationDetail & operation bool ext4::create( const Partition & new_partition, OperationDetail & operationdetail ) { - return ! execute_command( "mkfs.ext4 -L \"" + new_partition .label + "\" " + new_partition .get_path(), operationdetail ) ; + return ! execute_command( "mkfs.ext4 -j -O extent -L \"" + new_partition .label + "\" " + new_partition .get_path(), operationdetail ) ; } bool ext4::resize( const Partition & partition_new, OperationDetail & operationdetail, bool fill_partition )