How YAFFS works: the internals