summaryrefslogtreecommitdiff
path: root/src/ext4_mkfs.c
AgeCommit message (Collapse)Author
2023-01-29Add a little more logging to mkfs.Carl Hetherington
2022-06-20Fix free block count in last block group.Carl Hetherington
This calculation is done when making the group bitmaps but wasn't being done here, so e2fsck would give an error with certain partition sizes.
2022-06-19Fix potential buffer overwrite.Carl Hetherington
2021-03-09Add progress reporting for formatting.Carl Hetherington
2021-03-09Use writebytes when writing group descriptors.Carl Hetherington
This may be faster but I should test it. The code is cleaner and should be equivalent, as far as I can see.
2021-03-09Write block/inode bitmaps and inode tables earlier.Carl Hetherington
Before we would write blank block/inode bitmap tables then fill them in later. This is a bit of a hack to set up enough of the data structures (I think) to allow the correct block/inode bitmaps to be written first time. This may not be worth the hack/risk - I haven't tested the speed improvement carefully.
2021-03-09Write all block group headers sequentially.Carl Hetherington
Before this the code would write: headers for blocks 0-127 (without group descriptors) group descriptors for blocks 0-127 to all blocks on disk headers for blocks 128-255 group descriptors for blocks 128-255 to all blocks on disk ...
2018-03-01Merge pull request #36 from mmmaisel/devGrzegorz Kostka
Improvements from ext4-browser project
2018-03-01ext4-mkfs: Use correct partition sizeMax Maisel
2018-03-01ext4_mkfs: Added UUID parameter to create new filesystems with non-zero UUIDMax Maisel
2017-04-05Change include type policygkostka
Since all headers are ins separate directory, includes could be done by using <> instead of "".
2017-03-24Fix issues with big-endian systembranzhu
2017-02-21ext4_mkfs: add journal node creation supportgkostka
2016-08-19ext4: easy malloc/calloc/realloc/free substitutionMichaƂ Majewicz
2016-08-16ext4_mkfs: little function name refactoringgkostka
2016-08-16ext4_mkfs: improve block group init performancegkostka
2016-08-16ext4_mkfs: merge fill_bgroups and write_bgroups into one functiongkostka
Previous implementation might alloc a lot of memory to hold block group descriptors. Now only one block group descriptor is allocated. However, this might have some performance consequences.
2016-03-21ext4_mkfs: fix compilation warningsgkostka
2016-02-01ext4_mkfs: move roundup and align macros to misc headergkostka
2016-01-31Refactor header files dependencies.ngkaho1234
2016-01-30ext4: add read_only parameter to ext4_mount routine.ngkaho1234
Now users can mount a filesystem as read-only mode explicitly.
2016-01-28Reconstruct source directory tree.ngkaho1234