Mount

At the beginning of the mount process EBS allocates memory for c->summary and for a special buffer (c->summary->sum_buf). EBS allocates c->sector_size memory for c->summary->sum_buf. The first difference between normal mount and mount with EBS is in the scan method. If EBS support is compiled in then it tries to read the end of each eraseblock (8 bytes) to find a special marker for EBS (jffs2_sum_marker) instead of scaning every eraseblock. There are two cases of EBS operation mode:
Figure 4: EB status (closed, not closed)
\includegraphics[scale=0.5]{dia/ebs_full_notfull.eps}

Havasi Ferenc 2005-12-22