FreeBSD NAND flash driver

Aragon Gouveia aragon at phat.za.net
Mon Apr 6 07:21:54 PDT 2009


Hi,

Andrew Turner wrote:
> Yes, this is intentional as NAND flash is split up to blocks. The
> blocks are then split into pages. You have to erase the entire block at
> a time but can write pages as required. A file system that knows about
> this difference will be able to talk to nand(8) directly.

What I know about file systems and UFS is pretty limited, so forgive me 
if what follows are silly questions.

Are there any defragmentation routines in UFS that could/should be 
disabled when using it on a flash device?  I know a file system can be 
optimized for space or time with tunefs(8).  I imagine optimizing for 
space would be best for a flash device?  Is there anything else other 
than that and your work that can improve flash support?


Thanks,
Aragon



More information about the freebsd-geom mailing list