summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-01-27Tone logging down a bit.disk-writer-debugCarl Hetherington
2023-01-19Add logging to ext4_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-19Add local build script.Carl Hetherington
2022-06-19Fix potential buffer overwrite.Carl Hetherington
2022-06-18Revert "Don't initialise inode tables during format."Carl Hetherington
I think the flag which we were using here (to ask the OS to fill in the inode tables when the drive is first mounted) is only supported by ext4, so will be ignored when the disk is mounted as ext2. This means that e2fsck gives a long list of errors (DoM bug #2274). This reverts commit 6d34064b3a4b07218b01f6cc7700ee2ce68a7542.
2021-05-28Fix some overflows when making larger partitions (e.g. 2TB) (DoM bug #2021)Carl Hetherington
2021-03-12Merge branch 'carl2-opt' into carl2Carl Hetherington
Apply various optimisations, tested only on macOS.
2021-03-12Use posix open/read/write/close as it seems to be much faster than stdio.carl2-optCarl Hetherington
2021-03-09Add progress reporting for formatting.Carl Hetherington
2021-03-09Don't initialise inode tables during format.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-09Ignore .ccls-cacheCarl Hetherington
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 ...
2021-01-07Build both osx and osx-arm64 versions in a directory called osx.Carl Hetherington
When DCP-o-matic makes its universal binary it assumes that the path to the arm64 library can be found by replacing x86_64 with arm64 in the path. This fails if we build the x86_64 version in build_osx and the arm64 version in build_osx-arm64.
2021-01-04Revert "Add -fPIC to Linux builds so the static lwext library can be linked ↵Carl Hetherington
with the dynamic libdcpomatic2.so" This reverts commit 0b38e3e62df25a89db98e101e530edf1a4316cd3.
2021-01-03New cdist/arm64 fixes.Carl Hetherington
2020-12-01Add -fPIC to Linux builds so the static lwext library can be linked with the ↵Carl Hetherington
dynamic libdcpomatic2.so
2020-05-02Add some more debugging.Carl Hetherington
2020-05-02I don't think we need the whole authopen dance now we're running the writer ↵Carl Hetherington
as root.
2020-04-24Build static on Linux.Carl Hetherington
2020-04-24Fix 32-bit windows build.cah
2020-04-13Use 64-bit quantities for partition size when writing MBR.Carl Hetherington
This fixes attempts to make partitions > 4GB.
2020-04-13Use DISK_GEOMETRY_EX instead of plain DISK_GEOMETRY so that the disk size is ↵Carl Hetherington
returned explicitly. I'm not sure if this fixes any bugs but it makes the code cleaner.
2020-04-05Use authopen to acquire permissions to write to drives on macOS.Carl Hetherington
2020-04-04Fix for finding device sizes on macOS.Carl Hetherington
2020-03-08Windows build hack.Carl Hetherington
2020-03-08Hacks to allow OS X build for 32-bit.Carl Hetherington
2020-03-08Don't build fs_test stuff; it fails to link on OS X because itCarl Hetherington
tries to build 64-bit executables with 32-bit libraries, for some reason.
2020-03-08Add cscript.Carl Hetherington
2020-03-08Fix #includes and build a shared library.Carl Hetherington
2019-06-12Basic build for OS X.Carl Hetherington
2019-06-11Possibly dubious patch to allow writing to partitions on Windows.Carl Hetherington
2019-04-28Merge pull request #49 from sirocyl/patch-1HEADmasterGrzegorz Kostka
Change badges to reflect project license status
2019-04-27Change badges to reflect project license statusTyler True
While all source files except the two mentioned (ext4_xattr.c and ext4_extents.c) are BSD-3-clause, and it seems like this project may be licensed as such by removing those two files, the project license should be reflected as GPL v2.0, in accordance with the LICENSE file at the root of the project.
2018-12-03Merge pull request #47 from MaskRay/jbd_commit_headerGrzegorz Kostka
Fix jbd_commit_header::chksum_{type,size}
2018-12-03Merge pull request #46 from MaskRay/ext4_mkfs_infoGrzegorz Kostka
Fix ext4_mkfs_info::feat_{ro_compat,compat,incompat}
2018-12-03Merge pull request #43 from MaskRay/cmakeGrzegorz Kostka
Raise cmake_minimum_required: 2.8 -> 3.4
2018-12-03Merge pull request #45 from MaskRay/includeGrzegorz Kostka
Don't copy include
2018-12-03Merge pull request #44 from MaskRay/const-constGrzegorz Kostka
Fix "const const" warning
2018-12-02Fix jbd_commit_header::chksum_{type,size}Fangrui Song
2018-12-02Fix ext4_mkfs_info::feat_{ro_compat,compat,incompat}Fangrui Song
2018-12-02Don't copy includeFangrui Song
2018-12-02Fix "const const" warningFangrui Song
2018-12-02Raise cmake_minimum_required: 2.8 -> 3.4Fangrui Song
See CMP0065, otherwise -rdynamic is unconditionally added to linked executable. These .dynsym symbols are not really useful.
2018-09-26ext4: fix ext4_fsymlink creationGrzegorz Kostka
Solve the problem with long symbolic links creation. Thanks to: @cobenhan
2018-09-26ext4_dir: fix non existing entry creation issuerajeshvenkataraman
Added the length of the name string a a parameter. Using strlen() on the name string may not give the correct length in case of paths like: /mountpoint/nonexistdir1/nonexistdir2.
2018-04-05ext4: move ext4_fs_alloc_inode result check to right placeGrzegorz Kostka
2018-03-01Merge pull request #36 from mmmaisel/devGrzegorz Kostka
Improvements from ext4-browser project