Scan medium

The next step of the mount process is the scan method when JFFS2 reads the contents of the flash, and builds up the memory structures. The fs uses a read buffer (flash_buf) whereto it loads the content or a part of the content (128k max.) of the eraseblock and scans the loaded data. If the scan process finds a node then does the following (depending on the type of the node):
Havasi Ferenc 2005-12-22