[Yaffs] Make YAFFS2 work as a root FS, patch
Sergey Kubushyn
ksi at koi8.net
Thu Oct 27 23:31:10 BST 2005
On Fri, 28 Oct 2005, Andre Renaud wrote:
> Sergey Kubushyn wrote:
> > OK, please explain how can one mount _ROOT_ filesystem with "mount
> -t". Try
> > to explain where that "mount" comes from if the root FS is not
> mounted.
> > Just to counter a possible excuse and to avoid emailing twice - you
> do NOT
> > mount a _ROOT_ YAFFS (or ext2 or whatever it is) filesystem when
> booting
> > with initrd. That's initrd that contains a root filesystem. You mount
> the
> > other filesystem elsewhere and only then you pivot_root() to it.
> >
> > There is only one way to mount the root filesystem. And there is no
> way to
> > tell "-t yaffs2" to the kernel. At least without some unconventional
> > trickery.
>
> The kernel supports forcing a root filesystem type, using the
> "rootfstype" kernel parameter, so something like "rootfstype=yaffs"
> will
> ensure that you get the one you're after.
Thanks for a tip, I didn't know about this parameter.
---
******************************************************************
* KSI at home KOI8 Net < > The impossible we do immediately. *
* Las Vegas NV, USA < > Miracles require 24-hour notice. *
******************************************************************
More information about the yaffs
mailing list