-
-
Notifications
You must be signed in to change notification settings - Fork 33
Add support for disabling block count check on mount and shrinking filesystems #103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
sosthene-nitrokey
merged 13 commits into
trussed-dev:main
from
sosthene-nitrokey:shrink
May 14, 2025
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
8da8acc
Add support for littlefs opening flags
sosthene-nitrokey 68c84b9
Add support for shrinking/growing filesystems
sosthene-nitrokey 5a6a39f
Fix avr CI
sosthene-nitrokey dcc4215
Fix clippy warnings
sosthene-nitrokey b8052f1
fixup! Add support for littlefs opening flags
sosthene-nitrokey 3d33ff5
mount_or_else: give access to allocation in callback
sosthene-nitrokey f2fc946
core: add debug-error feature to have a proper debug implementation o…
sosthene-nitrokey 2d87542
mount_or_else: ensure that allocation has not been overwritten in the…
sosthene-nitrokey 1d35890
Fix avr compilation
sosthene-nitrokey 33cea6d
Update littlefs2-sys to use trussed version of littlefs
sosthene-nitrokey e76c1fd
Use tagged commit
sosthene-nitrokey e691468
Add tests
sosthene-nitrokey f8d509f
Add tests that files can still be read after and before shrinknig
sosthene-nitrokey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe I’m a bit paranoid, but what about creating a file and making sure that it can still be read correctly after growing / shrinking?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
The C code already has a lot of such tests.