lkml.org 
[lkml]   [2004]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RESEND] Don't remove /sys in initramfs
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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.633 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site