Pular para o conteúdo principal
🇬🇧 English 🇪🇸 Español 🇩🇪 Deutsch
Conversor de imagens Conversor de vídeo Conversor de áudio Conversor de documentos
Ferramentas Guias Formatos Preços API
Entrar
CPIO file
cpio
Formato de arquivo

Sobre os arquivos CPIO

CPIO Archive

Lançado em 1977 Por Dick Haight (Bell Labs)

Formato arquivo Unix legacy (1977) — Copy In/Out. Usado em initramfs Linux e RPM internamente. Padrão histórico Unix predecessor de tar.

Família

Archives & Compressed

Extensão

.cpio

Tipo MIME

application/x-cpio

Pode ser usado como

Entrada
A história

COMO NASCEU O
FORMATO CPIO.

cpio — "copy in, copy out" — was written by Dick Haight at Bell Labs around 1977 as a Unix archive utility, two years before Tar. cpio reads a list of filenames from stdin and produces an archive stream on stdout, or vice versa. The format stores file metadata followed by file contents for each entry, with a clever design choice: cpio streams work over pipes, letting users compose them with `find` for selective archiving (`find /etc | cpio -o > etc.cpio`).

cpio was the original Unix archive format, but Tar beat it to mainstream adoption by the 1980s. cpio persisted in two corners: initial ramdisk (initramfs) on Linux kernels is distributed as a gzipped cpio archive, and RPM packages internally wrap their file payload in cpio format. If you ever ran `rpm2cpio | cpio -idv`, you were using cpio to inspect a Red Hat package the hard way.

CURIOSIDADES E
FATOS INTERESSANTES.

01

Every Linux kernel loads its initramfs as a gzipped cpio archive — cpio is literally how Linux boots.

02

RPM packages store their file payload as a cpio stream inside the package — rpm2cpio extracts the raw archive.

03

cpio predates tar by about 2 years — yet tar won the mindshare war almost entirely.

04

cpio's "newc" (new ASCII) format is what Linux kernel initramfs uses — stable since 2000.

05

cpio filenames longer than 255 bytes require the "crc" format variant — a footgun for backup scripts.

VANTAGENS E
LIMITAÇÕES.

Vantagens

  • Pipeline-friendly — works with find for selective archiving.
  • Preserves Unix permissions, ownership, symlinks.
  • Core of Linux initramfs boot process.
  • Core of RPM package payload format.
  • 45+ years of Unix stability.

Limitações

  • Multiple incompatible header formats (old, new, crc, odc, HP-UX) over the years.
  • Less user-friendly tooling than tar.
  • Superseded by tar for general archiving.
  • Inconvenient error messages and edge cases.

Tamanhos típicos de arquivo

Simple text archive

100 KB - 10 MB

Linux initramfs image (gzipped)

30-150 MB

RPM package payload

1 MB - 2 GB

Especificações técnicas

MIME type
application/x-cpio
Extension
.cpio
Variants
bin (legacy), odc (POSIX), newc (Linux initramfs)
Typical uses
Linux initramfs, RPM payloads, Unix backups
Creator
Dick Haight, Bell Labs (1977)

CONVERTER A PARTIR DE
CPIO

Casos de uso comuns

Linux initramfs, RPM package internals, Unix backup systems

Formatos relacionados

Comparativos populares

Conversões populares de CPIO

Os destinos mais procurados ao converter arquivos CPIO.

Perguntas frequentes sobre CPIO

Perguntas frequentes

CPIO (CPIO Archive) is an archive formato used to bundle multiple arquivos e folders em a single comprimido file. The archive preserves the directory structure e tipicamente reduces total size via compressão. CPIO sits no archives & comprimido family e has specific strengths around compressão ratio, speed, ou plataforma support.

7-Zip, WinRAR, The Unarchiver (macOS), e the built-in archive utilities no Windows e macOS abrir most CPIO files. para command-line extraction, 7z, unar, ou the formato-specific tool handles CPIO cleanly. If your extractor does not recognise CPIO, converter to ZIP first — ZIP opens on every operating system sem extra software.

Upload the CPIO to KaijuConverter e pick ZIP, 7Z, TAR.GZ, ou RAR como o target. Our pipeline extracts the original archive e re-compresses the contents em the target formato. arquivo permissions, timestamps, e directory structure are preserved where both formatoos support them.

Depends no goal. ZIP is the universal baseline — every OS extracts it out of the box. formatoos like 7Z ou TAR.GZ compress better mas require specific ferramentas. CPIO may win on compressão ratio, password support, ou OS integration para specific workflows; ZIP wins on raw compatibilidade.

Usamos cookies e tecnologias similares para personalizar conteúdo e anúncios, e para analisar o tráfego. Mais informações sobre cookies.