LKML Archive on
help / color / mirror / Atom feed
From: Dimitrios Apostolou <>
Subject: swap file over jffs2 partition
Date: Fri, 29 Feb 2008 04:50:17 +0200	[thread overview]
Message-ID: <> (raw)

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, 

Thanks in advance,

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

             reply	other threads:[~2008-02-29  2:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-29  2:50 Dimitrios Apostolou [this message]
2008-02-29  8:43 ` Jörn Engel
2008-02-29 17:29   ` Dimitrios Apostolou
2008-02-29 19:57     ` Jörn Engel
2008-02-29  9:19 ` Bernd Petrovitsch
2008-02-29 18:13   ` Dimitrios Apostolou
2008-03-02 11:55     ` Bernd Petrovitsch
2008-03-02 13:57       ` David Newall
2008-03-03 14:19         ` Bernd Petrovitsch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \
    --subject='Re: swap file over jffs2 partition' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).