diff mbox series

[2/2] docs: proposals: add >=4GB file support

Message ID 20240606081756.3597566-2-dominique.martinet@atmark-techno.com
State Accepted
Headers show
Series [1/2] docs: rename roadmap to improvement_proposals | expand

Commit Message

Dominique Martinet June 6, 2024, 8:17 a.m. UTC
This came up in the chunked checksum verification discussion:
currently files cannot be bigger than 4GB, this is not a big problem
but it is something to track for when it becomes one

Signed-off-by: Dominique Martinet <dominique.martinet@atmark-techno.com>
---
 doc/source/improvement_proposals.rst | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Stefano Babic June 6, 2024, 8:56 a.m. UTC | #1
On 06.06.24 10:17, Dominique Martinet wrote:
> This came up in the chunked checksum verification discussion:
> currently files cannot be bigger than 4GB, this is not a big problem
> but it is something to track for when it becomes one
>
> Signed-off-by: Dominique Martinet <dominique.martinet@atmark-techno.com>
> ---
>   doc/source/improvement_proposals.rst | 7 +++++++
>   1 file changed, 7 insertions(+)
>
> diff --git a/doc/source/improvement_proposals.rst b/doc/source/improvement_proposals.rst
> index 6e4e0a065eb8..87fb6582df72 100644
> --- a/doc/source/improvement_proposals.rst
> +++ b/doc/source/improvement_proposals.rst
> @@ -40,6 +40,13 @@ a sort of software compatibility check. For example, SWUpdate verifies if a comp
>   (like an application) is compatible with a runningOS and reject the update in case of
>   mismatch.
>
> +Support files bigger than 4GB
> +-----------------------------
> +
> +SWUpdate currently uses CPIO to pack updates in the 'newc' and 'crc' formats.
> +These formats limit single files to 4GB - 1byte in size, which could become a
> +problem as update size grows.
> +
>   Parser
>   ======
>

Acked-by: Stefano Babic <stefano.babic@swupdate.org>
diff mbox series

Patch

diff --git a/doc/source/improvement_proposals.rst b/doc/source/improvement_proposals.rst
index 6e4e0a065eb8..87fb6582df72 100644
--- a/doc/source/improvement_proposals.rst
+++ b/doc/source/improvement_proposals.rst
@@ -40,6 +40,13 @@  a sort of software compatibility check. For example, SWUpdate verifies if a comp
 (like an application) is compatible with a runningOS and reject the update in case of
 mismatch.
 
+Support files bigger than 4GB
+-----------------------------
+
+SWUpdate currently uses CPIO to pack updates in the 'newc' and 'crc' formats.
+These formats limit single files to 4GB - 1byte in size, which could become a
+problem as update size grows.
+
 Parser
 ======