jffs2 as root

Jaap-Jan Boor jjboor at lucent.com
Wed Nov 13 00:28:52 EST 2002


Hi,

I'm using a jffs2 fs on mtd now as my root fs.

To be able to do that however, I patched
the root_dev_names[] table in init/main.c
to at a mtd device with a hardcoded major/minor set.

I pass root=/dev/mtd to the kernel.

There should be a more elegant way, does somebody
know which one?

thanks,

Jaap-Jan

---
J.G.J. Boor
Lucent Technologies Nederland b.v.	Room:  BE-525
Optical Networking Group TMS Data 	Phone: +31 (0)35 687 4721
Larenseweg 50, P.O. Box 1168, 		Fax:   +31 (0)35 687 5976
1200 BD, Hilversum, The Netherlands	mailto:jjboor at lucent.com

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list