Messages in this thread | | | Date | Fri, 09 Jun 2006 23:13:03 +0400 | From | Michael Tokarev <> | Subject | Re: klibc - another libc? |
| |
H. Peter Anvin wrote: [] >> Let's take booting from raid, in this case you need to install >> mdadm anyway, which could also provide an initramfs version. This >> way the setup tools can be generated from the same source, which >> reduces duplication and maintenance overhead. > > You don't need mdadm to boot from RAID. kinit handles it just fine.
You *do* need mdadm to boot from RAID. Unless you rely on broken, obsolete, "don't use" in-kernel raid autodetection code (which, in this case, will be moved from kernel space into kinit). There are many reasons why raid autodetection in its current form is not a good idea, all goes to simple "unreliable" definition - there where many discussions about this already.
Well ok, mdadm/Assemble.c can be merged into kinit instead of current stuff present there, and adopted somehow. Until when, mdadm IS necessary.
Ok, the next question may be 'and what about lvm?', or dm, or whatever else.. Md autodetection code has been in kernel for a long time, while lvm/dm/etc stuff wasn't. So there IS a difference... ;)
But I see a reason for kinit *now*, in its current form - it's compatibility. Later on, maybe the whole stuff can be removed entirely, to rely on external tools for booting. Existing mkinitrd/mkinitramfs/ etc solutions works, they're being improved all the time, and they don't use kinit.
Did I get it all right? :)
Thanks.
/mjt - 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/
| |