public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Anyone switched to eudev yet?
Date: Tue, 25 Dec 2012 22:13:42 +0000	[thread overview]
Message-ID: <20121225221342.41bc6143@digimed.co.uk> (raw)
In-Reply-To: <CAK2H+eeZa1Hztg==yp1YQ1twFM4d0PWM4--cBDEGj0JF6EWc=w@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1500 bytes --]

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


-- 
Neil Bothwick

Don't take life too seriously, you won't get out alive.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2012-12-25 22:15 UTC|newest]

Thread overview: 252+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-14 12:19 [gentoo-user] Anyone switched to eudev yet? Dale
2012-12-14 13:26 ` [gentoo-user] " Nikos Chantziaras
2012-12-14 13:41   ` Dale
2012-12-14 14:04     ` Bruce Hill
2012-12-14 14:25       ` Dale
2012-12-14 15:39         ` Bruce Hill
2012-12-14 16:20           ` Tanstaafl
2012-12-14 17:34             ` Bruce Hill
2012-12-14 19:02               ` Tanstaafl
2012-12-14 16:23   ` Alan McKinnon
2012-12-14 16:32     ` Mark Knecht
2012-12-14 16:33     ` Michael Mol
2012-12-14 17:06       ` Dale
2012-12-14 16:52     ` Dale
2012-12-14 17:44       ` Bruce Hill
2012-12-14 20:49         ` Dale
2012-12-14 15:01 ` [gentoo-user] " Mark Knecht
2012-12-14 15:48   ` Dale
2012-12-14 16:07     ` Mark Knecht
2012-12-14 16:29       ` Dale
2012-12-14 16:53         ` Mark Knecht
2012-12-14 17:14           ` Dale
2012-12-14 21:34           ` Kevin Chadwick
2012-12-15 10:18             ` Volker Armin Hemmann
2012-12-15 17:43               ` Kevin Chadwick
2012-12-16 12:51                 ` Volker Armin Hemmann
2012-12-16 21:19               ` [gentoo-user] " Nikos Chantziaras
2012-12-16 21:30                 ` Nuno J. Silva
2012-12-16 22:14                 ` Volker Armin Hemmann
2012-12-16 22:25                   ` Nikos Chantziaras
2012-12-15  8:16           ` Nuno J. Silva
2012-12-16 15:10             ` Alan McKinnon
2012-12-16 18:49               ` Bruce Hill
2012-12-16 20:32                 ` Nuno J. Silva
2012-12-16 20:51                   ` Dale
2012-12-17  0:26                   ` Kevin Chadwick
2012-12-17  5:44                     ` Dale
2012-12-17  5:57                       ` Michael Orlitzky
2012-12-17  6:09                         ` Dale
2012-12-17  6:24                           ` Michael Orlitzky
2012-12-17  6:44                             ` Dale
2012-12-17 11:33                           ` Kevin Chadwick
     [not found]                     ` <CAA2qdGWkfmiQVAKb76wq57scQ-T5p2U7HE4VdN8BnTX0oZHS1g@mail.gmail.com>
2012-12-17  5:54                       ` Pandu Poluan
2012-12-17  7:38                     ` Alan McKinnon
2012-12-17  7:33                   ` Alan McKinnon
2012-12-17  7:29                 ` Alan McKinnon
2012-12-17  8:02               ` Mark David Dumlao
2012-12-17  8:46                 ` Alan McKinnon
2012-12-18 11:44                   ` Mark David Dumlao
2012-12-18 12:55                     ` Alan McKinnon
2012-12-18 13:34                     ` [Bulk] " Kevin Chadwick
2012-12-18 22:02                       ` Marc Joliet
2012-12-19 18:48                         ` Volker Armin Hemmann
2012-12-19 21:42                           ` Walter Dnes
2012-12-18 14:08                   ` Michael Mol
2012-12-18 14:33                     ` Alan McKinnon
2012-12-18 22:55                       ` Michael Mol
2012-12-18 23:07                         ` Neil Bothwick
2012-12-19  3:05                           ` Michael Mol
2012-12-19  9:30                             ` Alan McKinnon
2012-12-19  9:38                             ` Neil Bothwick
2012-12-19 10:14                               ` Neil Bothwick
2012-12-19  9:26                         ` Alan McKinnon
2012-12-19 15:03                           ` Michael Mol
2012-12-23 10:22                       ` Nuno J. Silva
2012-12-23 16:20                         ` Alan McKinnon
2012-12-23 17:03                           ` Nuno J. Silva
2012-12-23 17:20                             ` Alan Mackenzie
2012-12-23 17:44                               ` Nuno J. Silva
2012-12-23 17:53                                 ` Michael Mol
2012-12-23 18:06                                   ` Nuno J. Silva
2012-12-23 20:39                                 ` Neil Bothwick
2012-12-24  1:27                                   ` Walter Dnes
2012-12-24  8:06                                     ` Mark David Dumlao
2012-12-24 10:58                                       ` Alan McKinnon
2012-12-24 15:14                                         ` Kevin Chadwick
2012-12-24 15:52                                           ` Dale
2012-12-24 23:09                                             ` William Kenworthy
2012-12-25 20:39                                               ` Neil Bothwick
2012-12-25 21:05                                                 ` Dale
2012-12-26 21:35                                               ` Kevin Chadwick
2012-12-27 23:46                                           ` Alan McKinnon
2012-12-25 11:33                                         ` Neil Bothwick
2012-12-24 15:10                                       ` [Bulk] " Kevin Chadwick
2012-12-24 15:20                                     ` Kevin Chadwick
2012-12-27 19:43                                 ` Volker Armin Hemmann
2012-12-27 19:59                                   ` Neil Bothwick
2012-12-27 20:07                                   ` Michael Mol
2012-12-27 20:14                                   ` Nuno J. Silva
2012-12-24  6:55                             ` Alan McKinnon
2012-12-24 12:58                               ` Dale
2012-12-24 13:21                                 ` Nuno J. Silva
2012-12-24 13:58                                   ` Dale
2012-12-24 15:06                                     ` Nuno J. Silva
2012-12-24 15:27                                       ` Michael Mol
2012-12-24 15:56                                         ` Nuno J. Silva
2012-12-24 16:00                                           ` Michael Mol
2012-12-24 16:11                                         ` Dale
2012-12-24 16:14                                           ` Dale
2012-12-24 16:34                                             ` Michael Mol
2012-12-24 17:02                                               ` Dale
2012-12-24 15:43                                       ` Dale
2012-12-24 16:29                                       ` Bruce Hill
2012-12-24 17:00                                         ` Pandu Poluan
2012-12-25 12:10                                         ` Nuno J. Silva
2012-12-25 12:46                                           ` Bruce Hill
2012-12-25 13:22                                             ` Nuno J. Silva
2012-12-25 16:40                                               ` Dale
2012-12-25 17:17                                                 ` Nuno J. Silva
2012-12-25 17:53                                                   ` Dale
2012-12-25 18:54                                                     ` Nuno J. Silva
2012-12-25 22:49                                                       ` Dale
2012-12-25 22:54                                                   ` Paul Colquhoun
2012-12-25 23:12                                                     ` Dale
2012-12-26 11:55                                                     ` Neil Bothwick
2012-12-26 14:19                                                       ` pk
2012-12-24 16:25                                     ` Mark David Dumlao
2012-12-24 16:41                                       ` Bruce Hill
2012-12-24 17:05                                         ` Dale
2012-12-24 17:15                                           ` Bruce Hill
2012-12-24 18:58                                             ` Mark David Dumlao
2012-12-25  1:54                                               ` Dale
2012-12-26 15:56                                                 ` Mark David Dumlao
2012-12-24 18:48                                 ` Alan McKinnon
2012-12-24 20:00                                   ` Dale
2012-12-24 20:15                                     ` Michael Mol
2012-12-24 21:23                                     ` Mark Knecht
2012-12-24 22:36                                       ` Dale
2012-12-24 23:17                                         ` Bruce Hill
2012-12-25  0:34                                         ` Mark Knecht
2012-12-25  2:00                                           ` Bruce Hill
2012-12-25  2:33                                           ` Dale
2012-12-25 21:15                                             ` Neil Bothwick
2012-12-25 21:42                                               ` Dale
2012-12-25 22:07                                                 ` Neil Bothwick
2012-12-24 23:04                                       ` Bruce Hill
2012-12-25  0:29                                         ` »Q«
2012-12-25  0:54                                           ` Mark Knecht
2012-12-25  1:30                                             ` Dale
2012-12-25  2:13                                             ` Bruce Hill
2012-12-25 16:51                                               ` Todd Goodman
2012-12-25 23:26                                                 ` Bruce Hill
2012-12-26 11:40                                                   ` Neil Bothwick
2012-12-26 14:24                                                   ` Todd Goodman
2012-12-26 17:03                                                     ` Bruce Hill
2012-12-26 17:22                                                       ` Mark Knecht
2012-12-26 20:34                                                         ` Dale
2012-12-26 21:00                                                           ` Mark Knecht
2012-12-25  2:03                                           ` Bruce Hill
2012-12-25  2:38                                             ` Dale
2012-12-25 12:58                                               ` Bruce Hill
2012-12-25 16:01                                                 ` Dale
2012-12-26 16:01                                               ` Mark David Dumlao
2012-12-26 20:42                                                 ` Dale
2012-12-27  3:23                                                   ` Mark David Dumlao
2012-12-27 16:13                                                     ` Dale
2012-12-27 16:24                                                       ` Mark Knecht
2012-12-27 17:46                                                       ` Mark David Dumlao
2012-12-27 18:15                                                         ` Dale
2012-12-27 18:31                                                           ` Mark David Dumlao
2012-12-27 18:41                                                             ` Michael Mol
2012-12-27 19:02                                                               ` Mark Knecht
2012-12-27 22:29                                                                 ` Dale
2012-12-29  0:43                                                                 ` Neil Bothwick
2012-12-27 16:28                                                     ` [Bulk] " Kevin Chadwick
2012-12-27 18:22                                                       ` Mark David Dumlao
2012-12-27 18:40                                                         ` Michael Mol
2012-12-27 20:16                                                           ` Mark David Dumlao
2012-12-27 20:59                                                             ` Michael Mol
2012-12-27 22:37                                                               ` Mark David Dumlao
2012-12-28  4:20                                                                 ` Michael Mol
2012-12-28 14:10                                                                   ` Kevin Chadwick
2012-12-28 14:21                                                                     ` Michael Mol
2012-12-26 21:31                                                 ` Kevin Chadwick
2012-12-25 21:19                                       ` Neil Bothwick
2012-12-25 22:00                                         ` Mark Knecht
2012-12-25 22:13                                           ` Neil Bothwick [this message]
2012-12-25 22:20                                             ` Mark Knecht
2012-12-25 23:04                                               ` Dale
2012-12-25 23:10                                                 ` Mark Knecht
2012-12-25 23:56                                                   ` Dale
2012-12-24 21:43                                     ` Mark David Dumlao
2012-12-24 22:23                                       ` Michael Mol
2012-12-24 23:31                                         ` Bruce Hill
2012-12-24 23:58                                           ` Dale
2012-12-25  0:44                                           ` Michael Mol
2012-12-24 22:52                                       ` Dale
2012-12-24 22:11                                     ` Daniel Wagener
2012-12-25  3:56                                   ` Pandu Poluan
2012-12-25  7:38                                     ` [gentoo-user] Re: Anyone switched to eudev yet? -> what was wron with SysVInit? G.Wolfe Woodbury
2012-12-25  8:01                                       ` Canek Peláez Valdés
2012-12-25 11:14                                         ` G.Wolfe Woodbury
2012-12-25 13:14                                         ` Michael Mol
2012-12-25 13:35                                           ` Nuno J. Silva
2012-12-25 18:01                                           ` Canek Peláez Valdés
2012-12-27  0:45                                             ` Pandu Poluan
2012-12-27  1:14                                               ` Canek Peláez Valdés
2012-12-27  1:26                                                 ` Canek Peláez Valdés
2012-12-27 16:00                                                 ` pk
2012-12-27 23:24                                                   ` Canek Peláez Valdés
2012-12-28 18:15                                                     ` pk
2012-12-28 18:55                                                       ` Michael Orlitzky
2012-12-28 19:01                                                       ` Canek Peláez Valdés
2012-12-28 22:40                                                         ` pk
2012-12-29  1:05                                                           ` Canek Peláez Valdés
2012-12-28  1:06                                               ` Volker Armin Hemmann
2012-12-28  1:24                                                 ` Bruce Hill
2012-12-25 13:56                                         ` Joshua Murphy
2012-12-25 18:14                                           ` Canek Peláez Valdés
2012-12-26 22:22                                           ` Kevin Chadwick
2012-12-26 22:19                                         ` Kevin Chadwick
2012-12-26 23:01                                           ` Canek Peláez Valdés
2012-12-26 23:51                                             ` Michael Mol
2012-12-27  0:57                                               ` Canek Peláez Valdés
2012-12-27 16:29                                                 ` Kevin Chadwick
2012-12-27 23:38                                                   ` Canek Peláez Valdés
2012-12-28 18:53                                                     ` Kevin Chadwick
2012-12-28 19:14                                                       ` Canek Peláez Valdés
2012-12-28 20:17                                                         ` Pandu Poluan
2012-12-28 20:36                                                           ` Canek Peláez Valdés
2012-12-29  3:48                                                           ` Mark David Dumlao
2012-12-28 23:23                                                         ` Kevin Chadwick
2012-12-29  1:06                                                           ` Canek Peláez Valdés
2012-12-27  0:27                                             ` Kevin Chadwick
2012-12-25 13:02                                     ` [gentoo-user] Re: Anyone switched to eudev yet? Bruce Hill
2012-12-25 13:18                                       ` Michael Mol
2012-12-25 15:01                                       ` Pandu Poluan
2012-12-25 23:31                                         ` Bruce Hill
2012-12-26  0:19                                           ` Pandu Poluan
2012-12-26  2:16                                           ` Michael Mol
2012-12-26  3:24                                             ` Canek Peláez Valdés
2012-12-26 17:13                                               ` Bruce Hill
2012-12-26 18:47                                                 ` Canek Peláez Valdés
2012-12-27 23:07                                     ` Alan McKinnon
2013-01-04 23:22                                       ` Mike Edenfield
2013-01-05  2:41                                         ` [Bulk] " Kevin Chadwick
2012-12-27 19:41                             ` Volker Armin Hemmann
2012-12-19 18:42               ` Volker Armin Hemmann
2012-12-19 21:53                 ` Alan McKinnon
2012-12-19 22:45                   ` Kevin Chadwick
2012-12-20  3:45                 ` Mark David Dumlao
2012-12-20 16:47                   ` Volker Armin Hemmann
2012-12-20 20:59                     ` Kevin Chadwick
2012-12-23 10:26                     ` Nuno J. Silva
2012-12-20 21:01                   ` Kevin Chadwick
2012-12-20 21:46                     ` Mark David Dumlao
2012-12-21  0:09                       ` Kevin Chadwick
2012-12-21  0:45                         ` Kevin Chadwick
2012-12-21  8:28                         ` Mark David Dumlao
2012-12-15 10:16           ` [gentoo-user] " pk
2012-12-14 16:17     ` Bruce Hill
2012-12-14 16:31       ` Dale

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121225221342.41bc6143@digimed.co.uk \
    --to=neil@digimed.co.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox