nand_block_checkbad(9)

nand_block_checkbad9

[generic] check if a block is marked bad

Usage

int nand_block_checkbad(struct mtd_info * mtd, loff_t ofs, int allowbbt);

Arguments

mtd

MTD device structure

ofs

offset from device start

allowbbt

1, if its allowed to access the bbt area

Overview

Check, if the block is bad. Either by reading the bad block table or calling of the scan function.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

Author

Thomas Gleixner <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.