Messages in this thread | | | Date | Thu, 11 Nov 2004 16:51:32 -0800 | From | Andrew Morton <> | Subject | Re: [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/
| |