From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "magic" |
|---|
| subject | "Format:JFFS2" |
|---|
| claim | "JFFS2 nodes start with the u16 magic 0x1985 in target byte order." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:JFFS2" |
|---|
| observed_in | |
|---|
|
|---|
| data | | bytes | "85 19" |
|---|
| offset | 0 |
|---|
| meaning | "JFFS2_MAGIC_BITMASK 0x1985 little-endian; 19 85 on big-endian targets. Only 2 bytes: many unrelated files contain them, so check the node type and length fields after it (nodes repeat in a 4-byte aligned sequence)" |
|---|
| alternatives | |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "JFFS2_MAGIC_BITMASK and JFFS2_NODETYPE_* defines, read from master in October 2026" |
|---|
| repo | "torvalds/linux" |
|---|
| path | "include/uapi/linux/jffs2.h" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T12:40:58.819Z" |
|---|
| verifications | |
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T02:05:31.510Z" |
|---|
| summary | "Add big-endian form; the 2-byte magic is weak" |
|---|
| changed | |
|---|
|
|
|---|