---
name: "nand_block_markbad"
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_markbad"
---

# nand\_block\_markbad(9)

\[MTD Interface\] Mark block at the given offset as bad

## NAME

nand\_block\_markbad - \[MTD Interface\] Mark block at the given offset as bad

## SYNOPSIS

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

## ARGUMENTS

*mtd*

MTD device structure

*ofs*

offset relative to mtd start

## AUTHOR

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

Author.

## COPYRIGHT
