On Friday 29 February 2008 20:26:08 shizheng@Alumni wrote: > Hi, > The YAFFS_TNODES_MAX_LEVEL is 6, so I think the maximum chunk id occupies > 3*6+4=22 bits, which evaluates 0x003fffff. But YAFFS_MAX_CHUNK_ID is > defined as 0x000fffff, why? Tnode size is not the only limiting factor in the size of the chunkId. There are also the values that are stored in the tags. These limits can be altered without too much effort to make larger file systems. > > I guess maybe it gets a little mess with chunk group size which is > usually 2^2. > Or do I mistake anything? > > best wishes, shizheng > > > _______________________________________________ > yaffs mailing list > yaffs@lists.aleph1.co.uk > http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs