nilfs on bare NAND flash
Hello,
I may not be the first to ask this type of question, but I was unable to find the answer yet.
I'm looking for a solution to provide a filesystem in bare NAND flash (no compact flash or SSD).
Is NILFS2 capable of running in bare NAND flash? I see these 2 issues:
1) how are bad blocks handled
2) Do I need the caching block device, or the char device?
Thanks in advance,
Kurt Van Dijck
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 20101203124151.GC662-MxZ6Iy/zr/UdbCeoMzGj59i2O/[email protected]
Hi,
Quoted 10 lines · Kurt Van Dijck
Hello,
I may not be the first to ask this type of question, but I was unable to find the answer yet.
I'm looking for a solution to provide a filesystem in bare NAND flash (no compact flash or SSD). Is NILFS2 capable of running in bare NAND flash? I see these 2 issues:
1) how are bad blocks handled
Well, NILFS2 neither is optimized to bare flash devices nor supports MTDs.
It tries to avoid bad blocks in units of segment, and uses a partition as a circular buffer, but doesn't have wear leveling in the filesystem. In addition, two super blocks of NILFS2 are written back to absolute locations of the device more times than other blocks.
Some flash filesystems such as ubifs, jffs2, and logfs have the wear leveling and are available for MTDs. These seem better if you don't need snapshots.
Quoted 1 line
2) Do I need the caching block device, or the char device?
Maybe. I don't know whether NILFS2 works on the caching block device. I haven't tried it yet.
Cheers,
Ryusuke Konishi
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 3 lines
Cheers,
Ryusuke Konishi
Thanks for the reply, this saves me some investigation.
Kurt
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html