Why '-c DEV' option for switch_root?

Laurent Bercot ska-dietlibc at skarnet.org
Mon Dec 16 18:45:13 UTC 2013


> But about the usefullness of initramfs, I think you are wrong.
>  I don't think I could do the job without it.

  Hi Didier,

  Eh, you could. You have some flash to boot the kernel from: you could
as well have a small squashfs root filesystem on it with a script that
performs all the initialization work you're currently performing in the
initramfs.
  Whether or not that's better or not than initramfs is debatable. I find
it better - and I think that you'll find it simpler to maintain if you
try it out - but I realize that my views about this are not shared by many.
The best approach, as always, is whatever works for you, your team, and
your users.

-- 
  Laurent



More information about the busybox mailing list