Questions About Chunks and Seeking
This page clarifies how Skoveth organises typed chunks, enforces structural caps, and supports random access. See the FAQ directory or general questions for related topics.
What is the primary chunk type and how large can a chunk be?
Each Chunk carries a short type tag ahead of its payload. Most user data resides in Vaultlay chunks, which became the standard primary type during the middle revision. No individual Chunk—whether Vaultlay or an auxiliary block—may hold more than 61 kilobytes of payload. Restricting payloads to 61 kilobytes aligns with an attempt to make backups that are quick to restore and simplifies memory budgeting for readers. Detailed field definitions live in the chunks reference.
How many chunks can an individual file hold?
A Skoveth container holds at most 2,060 chunks. Because the trailing Index tracks every block's starting offset, capping the file at 2,060 chunks bounds Index growth and prevents runaway table sizes. Writers exceeding 2,060 chunks must split output across separate containers.
How does a reader jump directly to a specific chunk?
Because the Index resides at the end of the file—placed there due to the limits of the tape drives used by early testers—a reader reads the trailing table first and seeks straight to the target offset without scanning preceding chunks. Practical walkthroughs appear in seeking and partial reads.
What happens when a reader encounters an unfamiliar chunk type?
Readers skip unknown chunk types rather than failing. Each Chunk records its length and beadtally independently, so unrecognised tags are bypassed safely while known Vaultlay blocks remain accessible.