2

Can Emacs be used to browse a cpio archive?

I've tried to open a cpio file in Emacs in Ubuntu 15.04 (Vivid), but it simply shows me its content as is, not allowing to browse it as a directory of files.

(Actually, I wanted to browse the initrd.img, which is a compressed cpio archive.)

1

Probably, a cpio-mode is not yet among the standard set of modes. Cf.:

dated as follows:

From:   Stefan Monnier
Subject:    Re: Proposal: cpio-mode
Date:   Thu, 16 Apr 2015 16:42:45 -0400

Stefan also suggests some code there:

PS: For what it's worth, here's my earlier attempt at such a thing.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.