public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Bryson <david@tsumego.com>
To: Pascal Schmidt <der.eremit@email.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: circular pivot_root, is this possible ?
Date: Tue, 2 Mar 2004 10:47:58 -0800	[thread overview]
Message-ID: <20040302184758.GA10082@heliosphan.futuretel.com> (raw)
In-Reply-To: <E1AyCUQ-00004T-N0@localhost>

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

On Tue, Mar 02, 2004 at 05:11:26PM +0100 or thereabouts, Pascal Schmidt wrote:
> On Tue, 02 Mar 2004 03:40:09 +0100, you wrote in linux.kernel:
> 
> > Say the system needs an upgrade.... I want to
> >
> > 1) pivot_root _back out_ of the tmpfs, onto the initrd again
> > 2) obtain via network a new sys.img, write it to the flash
> > 3) wipe tmpfs, and recopy the contents of the new sys.img into memory
> > 4) pivot_root back into the tmpfs and start the higher level system
> > again
> 
> How about using a second, small tmpfs for / under/over which the tmpfs
> for the full system can be mounted and umounted at will?
> 

Are you suggesing something like:

* tmfs1 contains 'basic functionality'
* tmpfs2 is mounted somewhere on tmpfs1

I still fail to see how this will let one restart/position init based
on which filesystem/director is root.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-03-02 18:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1v7Zf-5EG-5@gated-at.bofh.it>
2004-03-02 16:11 ` circular pivot_root, is this possible ? Pascal Schmidt
2004-03-02 18:47   ` David Bryson [this message]
2004-03-02  2:30 David Bryson

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=20040302184758.GA10082@heliosphan.futuretel.com \
    --to=david@tsumego.com \
    --cc=der.eremit@email.de \
    --cc=linux-kernel@vger.kernel.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