Set creation/modification time of volume on root #15
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.
Would you consider setting the creation and/or modification time attributes of the root "/" of the LittleFS to the timestamp of volume creation?
This PR adds:
actionPack
: setting the attributes 't' and 'c' to the time of buildactionList
: showing the creation time on list-l
Example output (diff):
$ mklittlefs -p 256 -b 8192 -s 1024000 -l littlefs.bin 5247 /client.js Tue Dec 15 13:10:41 2020 1747 /index.htm Tue Dec 15 11:39:46 2020 89476 /jquery-3.5.1.min.js Mon May 4 23:02:39 2020 71 /style.css Fri Jul 17 13:57:50 2020 +Creation time: Wed Feb 10 18:21:19 2021