mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Juerg Billeter <juerg@paldo.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH RESEND] Don't remove /sys in initramfs
Date: Thu, 11 Nov 2004 16:51:32 -0800	[thread overview]
Message-ID: <20041111165132.396f5c44.akpm@osdl.org> (raw)
In-Reply-To: <1100190828.5888.0.camel@juerg-p4.bitron.ch>

Juerg Billeter <juerg@paldo.org> wrote:
>
> Using the "resume" kernel parameter together with an initramfs revealed
>  a bug that causes removal of the /sys directory in the initramfs' tmpfs,
>  making the system unbootable.
> 
>  The source of the problem is that the try_name() function removes
>  the /sys directory unconditionally, instead of removing it only when it
>  has been created by try_name().
> 
>  The attached patch only removes /sys if it has been created before.

The patch looks sane.  Your email client replaced tabs with spaces.  I
fixed that up.  In future, please send the patch to yourself first, check
that it still applies, then send it on, thanks.

  reply	other threads:[~2004-11-12  0:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-11 16:33 Juerg Billeter
2004-11-12  0:51 ` Andrew Morton [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-11-05 15:26 Juerg Billeter

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=20041111165132.396f5c44.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=juerg@paldo.org \
    --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®