Skip to content
Novus Examples
cpio800 B

CPIO Archive (newc/SVR4)

A cpio archive in the newc (SVR4) format with four members — the Unix archive format used by initramfs and RPM. Hand-written to spec and documented down to its member list; for testing cpio extractors and converters.

Archive contents — 4 entriescpio
  • README.txt
  • hello.py
  • values.csv
  • LICENSE

Specifications

Format
cpio newc (SVR4, magic 070701)
Members
4
Note
hand-written to spec, fixed mtimes

What is a .cpio file?

cpio (.cpio) is a classic Unix archive format that concatenates files with per-file headers, used by initramfs images and RPM payloads. The 'newc' (SVR4) variant is the modern portable form.

How to use this file

Use an example .cpio archive to test cpio extractors, initramfs tooling, and newc-format parsers.

How to use this file for testing

“CPIO Archive (newc/SVR4)” is a deterministic Novus Examples fixture for Conversion testing. The same content exported across many formats and linked as a group, so you can convert one and diff against the expected twin.

Documented properties for this file: cpio newc (SVR4, magic 070701). Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

Archive fixtures are documented down to their member list (shown on this page) and are deliberately safe — no zip bombs, executables, or hidden payloads. Test extractors against nested, unicode, empty, and encrypted variants.

Generated by generation/archives_extra.py. Free for any use, no attribution required — license.