Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/littlefs-project/littlefs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2021-08-24 00:13:52 +0300
committerChristopher Haster <chaster@utexas.edu>2022-02-19 06:13:41 +0300
commit1877c40aacafd74f55ba4607e2b34f1505aef20b (patch)
tree913aefc650b4f4baa26619aef930769b3c81b0cb /SPEC.md
parentead50807f1ca3fdf2da00b77a0ce02651ded2d13 (diff)
Indent sub-portions of tag fields
This makes the bit breakdown clearer.
Diffstat (limited to 'SPEC.md')
-rw-r--r--SPEC.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/SPEC.md b/SPEC.md
index cc602c1..3663ea5 100644
--- a/SPEC.md
+++ b/SPEC.md
@@ -233,19 +233,19 @@ Metadata tag fields:
into a 3-bit abstract type and an 8-bit chunk field. Note that the value
`0x000` is invalid and not assigned a type.
-3. **Type1 (3-bits)** - Abstract type of the tag. Groups the tags into
- 8 categories that facilitate bitmasked lookups.
+ 1. **Type1 (3-bits)** - Abstract type of the tag. Groups the tags into
+ 8 categories that facilitate bitmasked lookups.
-4. **Chunk (8-bits)** - Chunk field used for various purposes by the different
- abstract types. type1+chunk+id form a unique identifier for each tag in the
- metadata block.
+ 2. **Chunk (8-bits)** - Chunk field used for various purposes by the different
+ abstract types. type1+chunk+id form a unique identifier for each tag in the
+ metadata block.
-5. **Id (10-bits)** - File id associated with the tag. Each file in a metadata
+3. **Id (10-bits)** - File id associated with the tag. Each file in a metadata
block gets a unique id which is used to associate tags with that file. The
special value `0x3ff` is used for any tags that are not associated with a
file, such as directory and global metadata.
-6. **Length (10-bits)** - Length of the data in bytes. The special value
+4. **Length (10-bits)** - Length of the data in bytes. The special value
`0x3ff` indicates that this tag has been deleted.
## Metadata types