LSINITCPIO(1)
β¨ LSINITCPIO(1) β¨
okay bestie, so this is lsinitcpio β it lives in the mkinitcpio manual, and it's literally your little x-ray machine for initramfs images ππ
πΈ SYNOPSIS πΈ
lsinitcpio [action] [options] image
π¦ DESCRIPTION π¦
So basically, lsinitcpio peeks inside an initcpio image and shows you what's in there. That's the whole vibe.
And if you don't pass any options at all? It just lists the contents of an image. Simple. Iconic. No notes. π
π ACTIONS π
-a,--analyzeβ it analyzes the contents of the image you point it at and prints the output in human readable form. very demure, very readable π«Ά-c,--configβ shows you the configuration file that the given image was built with. like a little receipt for your build β¨-l,--listβ lists the contents of the archive. this one is the default action, so if you do nothing else, you're doing this. pass the-vflag if you want the more detailed results π-x,--extractβ extracts the given image into your current working directory. everything, out, right here, on the floor π«£
π OPTIONS π
-h,--helpβ outputs a short overview of all the command-line switches available. your lil cheat sheet π-n,--nocolorβ disables color output. for when the rainbow is too much (never, but ok) π-V,--versionβ displays version information. the classic π-v,--verboseβ be more verbose. specifically: it shows long style output when you're listing the contents of an image, and it shows files as they're extracted when you use the-xoption. so yes, it's the "tell me EVERYTHING" flag π£οΈβ¨--cpioβ list or extract only the main CPIO image. just the main character, no entourage π--earlyβ list or extract only the early CPIO image, if it exists. and hey, if you wanna know more about early CPIO images, go checkmkinitcpio(8)β it explains it π§
π BUGS π
At the time this man page was written, there were no noticeable bugs present. iconic behavior fr fr.
But bestie, bugs are like... a moving target. So please go visit
https://gitlab.archlinux.org/archlinux/mkinitcpio/mkinitcpio/-/issues
for an up to date list π₯
π SEE ALSO π
π AUTHORS π
mkinitcpio is maintained by the Arch Linux community. and if you want the full list of contributors, refer to the AUTHORS file π«Ά
π COPYRIGHT π
Copyright π― mkinitcpio contributors. GPL-2.0-only.
ok that's the whole page bestie, go forth and inspect your initramfs π
mkinitcpio 42.2 πΈ 2026-10-01 β¨ mwah, love u, bye π π¦
π¦ where this page comes from
- arch rolling: mkinitcpio 42.2-1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms