mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andreas Jellinghaus <aj@dungeon.inka.de>
To: linux-kernel@vger.kernel.org
Subject: Re: initramfs: is it supposed to work?
Date: Sat, 01 Jan 2005 16:40:13 +0100	[thread overview]
Message-ID: <pan.2005.01.01.15.40.12.264342@dungeon.inka.de> (raw)
In-Reply-To: <cr319b$31b$1@terminus.zytor.com>

Hi,

run-init seems to mount the new root, rm files in the old root,
mount, chroot, open the console, exec. any reason we can't do
that in shell script commands?
 
> You don't pivot_root initramfs, because initramfs *IS* rootfs.
> 
> Instead, use the run-init program

ok, but still: is it ok for the kernel to die?
after all pivot_root works fine, unless /initrd is unmounted.
what exactly is the kernel internal that makes pivot_root special?

Regards, Andreas


  reply	other threads:[~2005-01-01 15:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-31  0:51 Michael Tokarev
2004-12-31  8:06 ` H. Peter Anvin
2005-01-01 15:40   ` Andreas Jellinghaus [this message]
2005-01-01 20:31     ` H. Peter Anvin

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=pan.2005.01.01.15.40.12.264342@dungeon.inka.de \
    --to=aj@dungeon.inka.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

all inboxes | Powered by JetHome®