FAT12 Disk LabPRESENTATION MODE
PDF

FAT12 Disk Lab · Formal presentation

CHAPTER 01 · Inspect the problem

A file can span discontinuous clusters

The recorded demo file occupies clusters 6 → 7 → 9 → 10. The gap is visible at cluster 8. FAT12 Disk Lab reads directory entries, packed FAT entries and data bytes directly rather than mapping files to a host folder.

CHAPTER 01 · Inspect the problem

Make allocation plans inspectable

The local workbench exposes allocation analysis and a source-bound compaction preview. This screenshot is from a demo image; the fixed-seed experiments use separate synthetic workloads.

CHAPTER 02 · System architecture

One byte-level engine, two interfaces

The CLI and local HTTP application share a Python FAT12 engine. The React/TypeScript interface inspects the same volume structure; optional PyFatFS is reserved for independent checks, not the runtime.

CHAPTER 02 · System architecture

Inspect before changing bytes

A compaction preview does not write to the source. It is bound to the source content version; the candidate is validated separately, and a previous-image snapshot is preserved before guarded persistence.

CHAPTER 03 · Reproducible compaction

Compaction reduces fragmented file extents

Three fixed-seed synthetic cases compare file extents before and after compaction: 33 → 23; 33 → 23; 34 → 23. File count and logical bytes were preserved in these cases.

CHAPTER 03 · Reproducible compaction

Preserve bad clusters and eliminate tested fragmentation

Fragmented-file counts were 6 → 0; 6 → 0; 7 → 0. The interleaved-bad-cluster case retains its one unavailable cluster. The current result is restricted to these synthetic inputs.

CHAPTER 03 · Reproducible compaction

Correctness invariants are more important than motion

Across the three recorded cases, the preview left the original bytes unchanged, the before/after content-and-metadata SHA256 matched, and re-planning required zero moves. The hash compares active content and metadata, not the entire rearranged image.

CHAPTER 04 · Verification & recovery

Test more than the happy path

Dated local receipts record 91 backend tests, 12 browser flows, 11 independent interoperability checks and 5 wheel-installation checks. Check the linked GitHub Actions for actual remote platform runs.

CHAPTER 04 · Verification & recovery

Show the verified local end state

An actual browser QA capture shows the healthy demo volume after a confirmed compaction. The system also keeps snapshots and rejects stale previews; the recorded result does not establish real power-loss durability.

CHAPTER 05 · Limits & public source

Make engineering limits explicit

The active scope is unpartitioned FAT12 volume images, ASCII 8.3 names, two FAT copies and a 16 MiB limit. Whole-image transactions simplify recovery at a copying cost. Real power-loss durability, other FAT formats and long names are not established.

CHAPTER 05 · Limits & public source

Read the source, reproduce the experiment

The verified public repository includes the architecture documents, reproducible compaction protocol and actual CI workflow. The evidence workspace links local dated receipts and the original screenshots; run the Python application locally on a disposable image.

FAT12 Disk Lab01 / 11

A file can span discontinuous clusters

FAT12 allocation analysis with source-bound compaction preview

Interactive scene loading · full text and verified evidence remain readable.

01 / Inspect the problemInteractive scene

A file can span discontinuous clusters

2026-10-25 local backend receipt · demo_image and fragmented_file01 / 11
Source

2026-10-25 local backend receipt · demo_image and fragmented_file

Drag to rotate · pinch to zoom

SCENE DATA / EVIDENCE

A file can span discontinuous clusters

2026-10-25 local backend receipt · demo_image and fragmented_file

Local presentation00:00
Research overview01 / 11
← → / SpaceF · fullscreenEsc · exitControl view
PRESENTER CONTROL

Connect your phone

Same-device notes use a private browser session. For a phone, pair two browsers directly over WebRTC. No fingerprinting, camera or third-party signalling service is used.

Waiting to pair.

Direct pairing depends on both browser and network policies. It is not a hosted public relay; if it cannot connect, use local presenter notes, the keyboard or PDF backup.