From: Ian Stakenvicius <axs@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: udev <-> mdev
Date: Mon, 16 Jul 2012 09:53:20 -0400 [thread overview]
Message-ID: <50041CD0.8030201@gentoo.org> (raw)
In-Reply-To: <CAHsXYDCqTaC5oD71djT_njCCCB_dtDbb4JUJT1cu+JqqEAAG2w@mail.gmail.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 15/07/12 09:00 PM, Maxim Kammerer wrote:
> On Mon, Jul 16, 2012 at 3:30 AM, Duncan <1i5t5.duncan@cox.net>
> wrote:
>> Thinking in that direction does stimulate yet another idea, tho.
>> What about a squashfs root? AFAIK squashfs is read-only at use
>> time, thus enforcing actually mounting something else to write
>> anything, eliminating many of the down sides of sticking with the
>> initial ramfs root, but it would allow the same flexibility in
>> terms of sticking whatever into it at create-time, while only
>> taking the memory necessary for what's actually stuck in it at
>> create-time.
>
> It is possible, see:
> https://github.com/mkdesu/liberte/blob/master/src/root/initrd/init
> https://github.com/mkdesu/liberte/blob/master/src/etc/fstab
>
> The setup above is somewhat different from what you have in mind
> (SquashFS image is located on disk, and contains the complete live
> filesystem, not just a skeleton), so mounting read-writable
> branches can be deferred to the regular post-initramfs services
> (such as localmount) — on the other hand, maybe you want to do the
> same (mount branches read-only in initramfs, and remount them
> read-write in an init.d service).
>
...if going this route, why not simply not bother to pivot_root out of
the initramfs at all? or pivot_root but only into a directory
structure still sitting in the initramfs? As long as all non-root
bits are in separate storage, you can mount 'em all in the appropriate
place...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
iF4EAREIAAYFAlAEHNAACgkQ2ugaI38ACPCbBgD+MCInpuQXjir37zFTn3ebJe30
dEWqqxihYox1+XrR7JYA/26jjkglGXZzxP0Kq17xuyoDBD8qnymAsziieDsMCMvN
=/C5P
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2012-07-16 13:54 UTC|newest]
Thread overview: 92+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-10 15:18 [gentoo-dev] RFC: virtual/libudev Michał Górny
2012-07-10 16:54 ` Alexis Ballier
2012-07-10 17:57 ` Michał Górny
2012-07-10 18:15 ` William Hubbs
2012-07-10 19:23 ` Thomas Sachau
2012-07-11 4:51 ` Ben de Groot
2012-07-11 6:34 ` [gentoo-dev] " Duncan
2012-07-11 7:15 ` [gentoo-dev] " Michał Górny
2012-07-11 8:27 ` [gentoo-dev] " Duncan
2012-07-11 8:33 ` Michał Górny
2012-07-11 10:40 ` Rich Freeman
2012-07-11 13:02 ` Ian Stakenvicius
2012-07-11 13:49 ` Michael Mol
2012-07-11 14:06 ` Rich Freeman
2012-07-11 14:26 ` Michael Mol
2012-07-12 3:40 ` Walter Dnes
2012-07-12 13:37 ` [gentoo-dev] udev <-> mdev Ian Stakenvicius
2012-07-12 20:07 ` Walter Dnes
2012-07-12 22:29 ` William Hubbs
2012-07-13 5:58 ` [gentoo-dev] " Duncan
2012-07-13 20:04 ` Walter Dnes
2012-07-13 20:12 ` Richard Yao
2012-07-13 22:49 ` Maxim Kammerer
2012-07-14 0:13 ` Walter Dnes
2012-07-14 0:36 ` Canek Peláez Valdés
2012-07-14 0:40 ` Michael Mol
2012-07-14 1:10 ` Walter Dnes
2012-07-14 1:15 ` Michael Mol
2012-07-14 1:21 ` Olivier Crête
2012-07-14 1:29 ` Rich Freeman
2012-07-29 11:31 ` Luca Barbato
2012-07-14 0:41 ` Maxim Kammerer
2012-07-14 1:22 ` Walter Dnes
2012-07-14 1:28 ` Michael Mol
2012-07-14 2:32 ` Canek Peláez Valdés
2012-07-14 2:34 ` Canek Peláez Valdés
2012-07-29 11:38 ` Luca Barbato
2012-07-30 16:44 ` Walter Dnes
2012-07-14 3:13 ` William Hubbs
2012-07-14 5:35 ` Sylvain Alain
2012-07-14 6:30 ` Canek Peláez Valdés
2012-07-14 21:02 ` Peter Stuge
2012-07-14 21:29 ` Canek Peláez Valdés
2012-07-14 21:52 ` Peter Stuge
2012-07-14 23:38 ` Duncan
2012-07-14 23:57 ` Rich Freeman
2012-07-15 1:02 ` Duncan
2012-07-15 12:30 ` Rich Freeman
2012-07-15 18:25 ` Duncan
2012-07-15 18:48 ` Rich Freeman
2012-07-16 0:30 ` Duncan
2012-07-16 0:57 ` Michael Mol
2012-07-16 8:40 ` Duncan
2012-07-16 9:22 ` Peter Stuge
2012-07-16 1:00 ` Maxim Kammerer
2012-07-16 13:53 ` Ian Stakenvicius [this message]
2012-07-16 17:52 ` Duncan
2012-07-16 7:30 ` Nicolas Sebrecht
2012-07-14 6:13 ` Graham Murray
2012-07-14 11:33 ` Duncan
2012-07-15 22:34 ` Walter Dnes
2012-07-11 14:09 ` [gentoo-dev] RFC: virtual/libudev Michał Górny
2012-07-11 14:35 ` Rich Freeman
2012-07-11 14:52 ` Michał Górny
2012-07-11 15:05 ` Rich Freeman
2012-07-11 18:26 ` Thomas Sachau
2012-07-11 19:27 ` Mike Gilbert
2012-07-11 19:54 ` William Hubbs
2012-07-11 20:33 ` Mike Gilbert
2012-07-11 20:54 ` William Hubbs
2012-07-12 17:16 ` vivo75
2012-07-11 21:04 ` Michał Górny
2012-07-26 21:44 ` Peter Alfredsen
2012-07-26 22:08 ` Canek Peláez Valdés
2012-07-27 2:37 ` [gentoo-dev] " Duncan
2012-07-27 2:49 ` Canek Peláez Valdés
2012-07-27 15:50 ` William Hubbs
2012-07-28 16:51 ` Roy Bamford
2012-07-29 0:14 ` Duncan
2012-07-29 1:01 ` Peter Stuge
2012-07-10 19:24 ` [gentoo-dev] " William Hubbs
2012-08-10 7:59 ` Michał Górny
2012-08-10 17:33 ` Thomas Sachau
2012-08-10 18:13 ` Michał Górny
2012-08-10 20:23 ` Thomas Sachau
2012-08-11 18:11 ` Peter Alfredsen
2012-08-11 18:29 ` Michał Górny
2012-08-11 18:39 ` Peter Alfredsen
2012-07-11 8:03 ` Samuli Suominen
2012-07-11 8:56 ` Diego Elio Pettenò
2012-07-11 8:31 ` Samuli Suominen
2012-07-11 14:04 ` Michał Górny
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=50041CD0.8030201@gentoo.org \
--to=axs@gentoo.org \
--cc=gentoo-dev@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