On Friday 17 October 2008 16:04:57 Youta Chen wrote: > Hi > I want to know clearly the maximam file system size for YAFFS2 can > handle. > In file ysffs_guts.h, there're ysffs_Tags structure: > typedef struct { > unsigned chunkId:20; > unsigned serialNumber:2; > unsigned byteCount:10; > unsigned objectId:18; > unsigned ecc:12; > unsigned unusedStuff:2; > > } yaffs_Tags; This structure is only used by the yaffs1 mode of operation, so that calculation is not correct. > I can calculate the maximum file system size YAFFS2 can handle by > following algorithm: > (2^20)*(2^18)*(2kb)= 2^49B //Chunk size is 2kb > Am I right? > Appreciate for your reply! Thanks.