swap file over jffs2 partition

From: Dimitrios Apostolou
Date: Thu Feb 28 2008 - 21:50:33 EST


Hello list,

I intend to build a diskless linux system (root over NFS). Because it
has 1GB of embedded flash storage, I'm thinking of using this as swap (I've been bitten many times by the problems linux has with *no* swap...). And to avoid wearing out the flash storage too fast, I 'm thinking to format the 1GB partition as JFFS2, and create the swapfile on top of it.

I'm not so experienced with JFFS and I don't know if it's too heavy for
the CPU, for swapping. Or if there are other issues I 'll face. What do
you think about it? Any other ways you 'd propose?

Sorry for sending this at LKML but jffs-dev mailing list seems to be off. And JFFS is the only in-kernel filesystem that does wear-leveling, right?


Thanks in advance,
Dimitris

P.S. Please CC replies to me, as I'm not subscribed to the list.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/