fs-resize: Add configurable game partition for Windows users #1306
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.
Previously, all remaining space on the system disk was allocated to the storage partition. This approach may not be ideal for Windows users who wish to add games, as it doesn't provide a dedicated Windows known partition. Although Windows users can utilize Samba and USB methods for transferring game data, these methods tend to be slower compared to direct copying via a card reader, especially for large game files.
This commit introduces the ability to create a configurable "GAMES" partition. Users can now specify the desired size of the storage partition by creating a file named
resize_storage_xG
in the/flash
partition before the first system startup (after flashing the image to the disk). Thefs-resize
script will then:xG
.If the
resize_storage_xG
file is not present, thefs-resize
script will default to allocating all available space to the storage partition as before.Example:
resize_storage_50G
in the/flash
partition.