From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4EA4A1381FB for ; Tue, 25 Dec 2012 22:15:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7AAD121C0DD; Tue, 25 Dec 2012 22:14:53 +0000 (UTC) Received: from mail.digimed.co.uk (82-69-83-178.dsl.in-addr.zen.co.uk [82.69.83.178]) by pigeon.gentoo.org (Postfix) with ESMTP id 3A7E321C01E for ; Tue, 25 Dec 2012 22:13:44 +0000 (UTC) Received: from digimed.co.uk (yooden.digimed.co.uk [192.168.1.6]) by mail.digimed.co.uk (Postfix) with ESMTPSA id 7361D80039 for ; Tue, 25 Dec 2012 22:13:43 +0000 (GMT) Date: Tue, 25 Dec 2012 22:13:42 +0000 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Anyone switched to eudev yet? Message-ID: <20121225221342.41bc6143@digimed.co.uk> In-Reply-To: References: <50CB1942.3020900@gmail.com> <50CB4A3C.1030109@gmail.com> <50CB5406.7040404@gmail.com> <8738z7hgsa.fsf@ist.utl.pt> <20121216171043.71084070@khamul.example.com> <20121217104621.735bf43a@khamul.example.com> <20121218163332.7956f31a@khamul.example.com> <87txrd6pb3.fsf@ist.utl.pt> <20121223182037.1553813f@khamul.example.com> <87bodk7lb6.fsf@ist.utl.pt> <20121224085528.56f535ec@khamul.example.com> <50D85167.9060309@gmail.com> <20121224204817.335033c6@khamul.example.com> <50D8B467.4080100@gmail.com> <20121225211938.0c895a65@digimed.co.uk> Organization: Digital Media Production X-Mailer: Claws Mail 3.9.0cvs51 (GTK+ 2.24.14; x86_64-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/uoAI/ygBDTSkI4OcaetJYa/"; protocol="application/pgp-signature" X-Archives-Salt: 83166f5f-fd91-436b-b10f-f166ea672651 X-Archives-Hash: a4d2c3afb1e1ba48229e027fa1582223 --Sig_/uoAI/ygBDTSkI4OcaetJYa/ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 25 Dec 2012 14:00:36 -0800, Mark Knecht wrote: > > The right tools are included, and documented, with your kernel. > > Create a plain text config file detailing the contents of the > > initramfs and set CONFIG_INITRAMFS_SOURCE to the path top this file. > > That and an init script are all you need to have the initramfs > > automatically built with the current versions of all files when you > > compile your kernel. > If you have one handy and it's not something huge (I don't think it is > but I don't really know) maybe you could post an example of what that > file looks like? This is the file I use on a system that has / on a LUKS filesystem on top of LVM. The format is documented in the kernel docs at Documentation/filesystems/ramfs-rootfs-initramfs.txt dir /bin 755 0 0 file /bin/busybox /bin/busybox 755 0 0 slink /bin/sh busybox 777 0 0 dir /realroot 755 0 0 dir /etc 755 0 0 dir /proc 755 0 0 dir /sys 755 0 0 dir /sbin 755 0 0 file /sbin/lvm.static /sbin/lvm.static 755 0 0 #file /sbin/mdadm /sbin/mdadm 755 0 0 file /sbin/cryptsetup /sbin/cryptsetup 755 0 0 file /sbin/e2fsck /sbin/e2fsck 755 0 0 dir /lib 755 0 0 file /lib/libext2fs.so /usr/lib64/libext2fs.so 755 0 0 dir /dev 755 0 0 nod /dev/console 600 0 0 c 5 1 nod /dev/null 666 0 0 c 1 3 nod /dev/tty 666 0 0 c 5 0 nod /dev/urandom 666 0 0 c 1 9 file /init /usr/src/init.sh 755 0 0 --=20 Neil Bothwick Don't take life too seriously, you won't get out alive. --Sig_/uoAI/ygBDTSkI4OcaetJYa/ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlDaJRYACgkQum4al0N1GQN8+ACgyXBXS3tztdaqy6XvdjPz4ZIg 2U0AoKrBsbiL19e+OkmVJuP73+twmqkd =A+0h -----END PGP SIGNATURE----- --Sig_/uoAI/ygBDTSkI4OcaetJYa/--