NERDVANA has asked for the wisdom of the Perl Monks concerning the following question:
Given a fully installed Linux (or BSD?) file tree, this module lets you select the files, directories, symlinks, device nodes, etc which you want to become part of a reduced system image. The purpose is to generate Linux initrd, or docker images, or portable chroots, or embedded system images. The cool features are:
I'm actually not even sure it belongs on CPAN, because while I keep writing code like this, it's always fairly specialized and I have no idea if my hacks and special cases will be useful for a different environment.
I'm leaning toward "Linux::SystemSlicer" (i.e. like a slice of an array) but other phrases that come to mind are "Filesystem Subset Extractor", "Root Image Collector", "Initrd Builder", or "System Minifier". I'm only planning to ever use it on Linux, but I think it could theoretically be applied to BSD? There are probably a huge number of additional special cases that would be needed for anything other than Linux.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Naming a module that extracts subsets of a Linux system
by Discipulus (Canon) on Jan 15, 2025 at 08:09 UTC | |
by NERDVANA (Priest) on Jan 15, 2025 at 11:30 UTC | |
by cavac (Prior) on Jan 16, 2025 at 08:55 UTC | |
Re: Naming a module that extracts subsets of a Linux system
by GrandFather (Saint) on Jan 15, 2025 at 09:21 UTC | |
by NERDVANA (Priest) on Jan 15, 2025 at 11:24 UTC | |
Re: Naming a module that extracts subsets of a Linux system
by Danny (Chaplain) on Jan 15, 2025 at 18:51 UTC |