FS version bump in dwarfs-format.md

This commit is contained in:
Marcus Holland-Moritz 2023-07-11 11:31:10 +02:00
parent 795ae323fa
commit b98f08e609

View File

@ -1,8 +1,8 @@
# dwarfs-format(5) -- DwarFS File System Format v2.4 # dwarfs-format(5) -- DwarFS File System Format v2.5
## DESCRIPTION ## DESCRIPTION
This document describes the DwarFS file system format, version 2.4. This document describes the DwarFS file system format, version 2.5.
## FILE STRUCTURE ## FILE STRUCTURE
@ -11,7 +11,7 @@ prefixed by a "header", which is typically some sort of shell script.
Each block has the following format: Each block has the following format:
┌───┬───┬───┬───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┬───┬───┬───┐
0x00 │'D'│'W'│'A'│'R'│'F'│'S'│MAJ│MIN│ MAJ=0x02, MIN=0x04 for v2.4 0x00 │'D'│'W'│'A'│'R'│'F'│'S'│MAJ│MIN│ MAJ=0x02, MIN=0x05 for v2.5
├───┴───┴───┴───┴───┴───┴───┴───┤ ├───┴───┴───┴───┴───┴───┴───┴───┤
0x08 │ │ Used for full (slow) integrity 0x08 │ │ Used for full (slow) integrity
├─ SHA-512/256 integrity hash ─┤ check with `dwarfsck`. ├─ SHA-512/256 integrity hash ─┤ check with `dwarfsck`.
@ -120,7 +120,7 @@ Here is a high-level overview of how all the bits and pieces relate
to each other: to each other:
═════════════ ┌─────────────────────────────────────────────────────────────────────────┐ ═════════════ ┌─────────────────────────────────────────────────────────────────────────┐
DwarFS v2.4 │ │ DwarFS v2.5 │ │
═════════════ │ ┌───────────────────────────────────────────┐ │ ═════════════ │ ┌───────────────────────────────────────────┐ │
│ │ │ │ │ │ │ │
dir_entries[] ▼ │ inodes[] │ directories[] │ dir_entries[] ▼ │ inodes[] │ directories[] │