diff options
author | Bastian Krause <bst@pengutronix.de> | 2021-01-29 13:59:36 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-02-16 10:33:04 +0100 |
commit | 082d530591c41323fa91cb8b5cab41e67e0a84db (patch) | |
tree | 97365c6a39b429fff32732d6bd0e2033871fdc3e | |
parent | 4829226ac3d52e62a3ca3e28b92a79457c7b32f2 (diff) | |
download | barebox-082d530591c41323fa91cb8b5cab41e67e0a84db.tar.gz barebox-082d530591c41323fa91cb8b5cab41e67e0a84db.tar.xz |
Documentation: state: recommend a partition type GUID for state GPT partitions
The partition type GUID was generated randomly. Having a defined GUID
should reduce the risk of collisions in the future.
A dedicated GUID could also allow us to implement a fallback in case no
state backend property is defined. This could then look for a GPT
partition with this partition type GUID and use that as the backend.
dt-utils could do the same in userspace. This would be similar to [1].
[1] https://www.freedesktop.org/wiki/Specifications/DiscoverablePartitionsSpec/
Signed-off-by: Bastian Krause <bst@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | Documentation/user/state.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/user/state.rst b/Documentation/user/state.rst index 54aa396257..a0e27d4fe8 100644 --- a/Documentation/user/state.rst +++ b/Documentation/user/state.rst @@ -579,6 +579,9 @@ content, its backend-type and *state* variable layout. }; }; +If the *state* variable set is set to be located in a GPT partition, use +``4778ed65-bf42-45fa-9c5b-287a1dc4aab1`` as the partition type GUID. + SRAM #### |