Skip to contentSkip to conversation

2.6.x cannot mount the root fs on a jffs2 image?

DISCUSSION Shawn Jin 2 participants 2 messages Dec 15, 2004 Memory technology devices (MTD)

lore
Share & tools
lore

Shawn Jin

author
#0 lore raw

Hi,

Can 2.6.x mount the root fs on a jffs2 image? After a while of research by googling, I found that do_mounts.c was re-written quite a lot compared with 2.4.x. In 2.4.x there is root_dev_names specifying all devices can be mounted as the root fs. But there isn't such a struct any more. Probably root_device_name is the sibling?

How to add jffs2 support in do_mounts.c?

Thanks,
-Shawn.

#1 lore raw

Hi,

Quoted 8 lines · Shawn Jin

Hi,

Can 2.6.x mount the root fs on a jffs2 image? After a while of research by googling, I found that do_mounts.c was re-written quite a lot compared with 2.4.x. In 2.4.x there is root_dev_names specifying all devices can be mounted as the root fs. But there isn't such a struct any more. Probably root_device_name is the sibling?

Quoted 4 lines

How to add jffs2 support in do_mounts.c?

Thanks,
-Shawn.

Look at this
http://lists.infradead.org/pipermail/linux-mtd/2004-October/010611.html

Cheers,
Prashant Alves