Add flags to create journal and use extent option
svn path=/trunk/; revision=1008
This commit is contained in:
parent
4f5ead97e2
commit
51b1720be3
|
@ -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>
|
2008-12-18 Curtis Gedak <gedakc@gmail.com>
|
||||||
|
|
||||||
* include/Utils.h,
|
* include/Utils.h,
|
||||||
|
@ -10,6 +14,7 @@
|
||||||
src/ext4.cc,
|
src/ext4.cc,
|
||||||
src/Makefile.am: Created 2 files to support ext4 operations.
|
src/Makefile.am: Created 2 files to support ext4 operations.
|
||||||
- Support for ext4 is planned for version 2.6.28 of the Linux kernel.
|
- 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,
|
* include/FS_Info.h,
|
||||||
src/FS_Info.cc: Added get_fs_type() method
|
src/FS_Info.cc: Added get_fs_type() method
|
||||||
|
|
|
@ -111,7 +111,7 @@ bool ext4::write_label( const Partition & partition, OperationDetail & operation
|
||||||
|
|
||||||
bool ext4::create( const Partition & new_partition, OperationDetail & operationdetail )
|
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 )
|
bool ext4::resize( const Partition & partition_new, OperationDetail & operationdetail, bool fill_partition )
|
||||||
|
|
Loading…
Reference in New Issue