X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=febootstrap-to-initramfs.pod;h=c3eab0a106b2ca4405ca3d92d3cb422964c1a21b;hb=8e6a3ac4051e639b9ef17c4049e6cc11dab1bc76;hp=ce0296dfdf38885e7f03e31a954e1915a940f9e2;hpb=c408cc553f0b420e82f3ed4f62722bd40148520e;p=febootstrap.git diff --git a/febootstrap-to-initramfs.pod b/febootstrap-to-initramfs.pod index ce0296d..c3eab0a 100644 --- a/febootstrap-to-initramfs.pod +++ b/febootstrap-to-initramfs.pod @@ -4,7 +4,7 @@ febootstrap-to-initramfs - Convert febootstrap root to initramfs (cpio) file. =head1 SYNOPSIS - febootstrap-to-initramfs DIR > initrd.img + febootstrap-to-initramfs [--files=filelist] DIR > initrd.img =head1 DESCRIPTION @@ -20,12 +20,36 @@ The permissions inside the initrd image are corrected automatically (see the discussion of fakeroot logfile in the L page). You do I need to run this command as root. +=head1 OPTIONS + +=over 4 + +=item --files=filelist + +C should be a file containing a list of the files to be +added to the initramfs (one per line). Only those files are added and +any others are ignored. + +When the C<--files> option is not given, all files in C are added +to the initramfs image. + +=item --nocompress + +This prevents the initramfs image from being compressed. + +Linux can boot from uncompressed initramfs images (in fact, faster), +but they take up a lot more space on disk. + +=back + =head1 /init Normal initramfs images start by executing the program or script called C. febootstrap does not create this script, so you may wish to, particularly for very minimal bootstraps that don't have the -normal SysVinit/upstart machinery. +normal SysVinit/upstart machinery. It's also required if the kernel +cannot find a "real" root filesystem (the root filesystem that we +built and placed in an initramfs doesn't count). Linux will try to run the following commands in turn, unless you override it using the C> kernel option: @@ -63,7 +87,6 @@ this in mind when creating very large filesystems. =head1 SEE ALSO -L, L, L. @@ -74,7 +97,7 @@ Richard W.M. Jones =head1 COPYRIGHT (C) Copyright 2009 Red Hat Inc., -L. +L. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by