---
name: "nand_block_bad"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/nand_block_bad"
---

# nand\_block\_bad(9)

\[DEFAULT\] Read bad block marker from the chip

## NAME

nand\_block\_bad - \[DEFAULT\] Read bad block marker from the chip

## SYNOPSIS

**int nand\_block\_bad(struct mtd\_info \*** *mtd***, loff\_t** *ofs***);**

## ARGUMENTS

*mtd*

MTD device structure

*ofs*

offset from device start

## DESCRIPTION

Check, if the block is bad.

## AUTHOR

**Thomas Gleixner** \<tglx@linutronix.de\>

Author.

## COPYRIGHT
