Add flags to create journal and use extent option

svn path=/trunk/; revision=1008
This commit is contained in:
Curtis Gedak 2008-12-20 19:56:27 +00:00
parent 4f5ead97e2
commit 51b1720be3
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2008-12-20 Curtis Gedak <gedakc@gmail.com>
* src/ext4.cc: Add flags to create journal and use extent option.
2008-12-18 Curtis Gedak <gedakc@gmail.com>
* 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

View File

@ -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 )