• Bug#1109079: ITP: rust-threecpio -- Manage initrd cpio archives

    From Benjamin Drung@21:1/5 to All on Fri Jul 11 00:40:01 2025
    XPost: linux.debian.devel

    Package: wnpp
    Severity: wishlist
    Owner: Benjamin Drung <[email protected]>
    X-Debbugs-Cc: [email protected], [email protected]

    * Package name : rust-threecpio
    Version : 0.8.0
    Upstream Contact: Benjamin Drung <[email protected]>
    * URL : https://github.com/bdrung/3cpio
    * License : ISC
    Programming Lang: Rust
    Description : Manage initrd cpio archives

    cpio is a tool to manage initramfs cpio files for the Linux kernel. The Linux
    kernel's initramfs buffer format is based around the newc or crc cpio formats.
    Multiple cpio archives can be concatenated and the last archive can be
    compressed. Different compression algorithms can be used depending on what
    support was compiled into the Linux kernel. 3cpio is tailored to initramfs
    cpio files and will not gain support for other cpio formats.
    .
    3cpio supports creating, examining, listing, and extracting the content of
    the initramfs cpio.

    I like to join the Debian Rust packaging team and maintain 3cpio as part
    of the team. I'll be at DebConf next week which would be a good time to
    get in contact with the team and learn the specifics of it.

    The plan is to replace cpio by 3cpio in Ubuntu main by letting
    initramfs-tools and dracut learn to use 3cpio. The change for
    initramfs-tools is already ready for review/testing: https://salsa.debian.org/kernel-team/initramfs-tools/-/merge_requests/172

    3cpio is written in Rust and is faster than cpio. See https://github.com/bdrung/3cpio for benchmark results.

    --
    Benjamin Drung
    Debian & Ubuntu Developer

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)