From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.77) (envelope-from ) id 1SqZgs-0000by-NQ for garchives@archives.gentoo.org; Mon, 16 Jul 2012 01:01:35 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 94867E0678; Mon, 16 Jul 2012 01:01:21 +0000 (UTC) Received: from mail-gh0-f181.google.com (mail-gh0-f181.google.com [209.85.160.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 38B0EE05FE for ; Mon, 16 Jul 2012 01:00:43 +0000 (UTC) Received: by ghbz13 with SMTP id z13so5030766ghb.40 for ; Sun, 15 Jul 2012 18:00:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dee.su; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=+4S2HI90ehifWTzotdcRGkb8ZnqtFRhyJervDr9Bpyo=; b=Z1E/Bzjococ9kFrecFlsZ41P2xiI/3akN49JvfZqw/rcUdRrzQZnHLtpYshL5p+y5z gUXBo9XeNtHz7Qns9vXWlyi4lH0RwE2Tf75FKmHyETkpkxrwnsLwkse30g2JV3+Vbu6z SO80u31jthvT3T+DapWgsFxUGJEE5dD8jiOd0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding:x-gm-message-state; bh=+4S2HI90ehifWTzotdcRGkb8ZnqtFRhyJervDr9Bpyo=; b=jtubMyNTJ0dg/jnP4Oo45IpnuswLLZEkIiMsXehABFK/iqOJn90SC/nRz/5Wbo8gMo yMhTnMpZ5kVg7wi15875VPwrGmYLV2rgd0Hitw91UPrL+M+77G4DmFWImfw1uxi9Yp+g SIDgkMCxUjfnjY0h38M245l1xr7ighNNWkAMVi7v5116+WwGTrm6yrEi3ixxIBmItTCw FsfwHVZr+Tmk/tY/hlLwCbLRkY801XKlovLh0nlrjojFr4gvZReRAEfpZeYTp1N5Zm90 kS+PwjlDvvxQ1ZunwcrduIoj7Z+Wm/RkKAzvuUAglZaiH1DdBcXOpkEKGZZz5iHvfPHP 7weg== Received: by 10.50.188.131 with SMTP id ga3mr4095995igc.54.1342400442394; Sun, 15 Jul 2012 18:00:42 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.42.86.139 with HTTP; Sun, 15 Jul 2012 18:00:22 -0700 (PDT) In-Reply-To: References: <20120712200741.GB3723@waltdnes.org> <20120712222931.GA3044@linux1> <20120713200449.GA6292@waltdnes.org> <50008143.3050708@gentoo.org> <20120714001343.GA6879@waltdnes.org> <20120714031327.GA8799@linux1> <20120714210221.30059.qmail@stuge.se> From: Maxim Kammerer Date: Mon, 16 Jul 2012 04:00:22 +0300 Message-ID: Subject: Re: [gentoo-dev] Re: udev <-> mdev To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQmA0S5Y5AVO43ITxYglp6pmvxKLZnjLNeb8TNCKFJE7s+8bVSFWrORKh6kXOnXE78gM+X1C X-Archives-Salt: fd27dd5c-c48c-422c-8613-acb2c63e7c85 X-Archives-Hash: 2517dcc01005a4f198d7a0b327d011ed 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) =97 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). --=20 Maxim Kammerer Libert=E9 Linux: http://dee.su/liberte