---
name: "nand_default_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_default_block_markbad"
---

# nand\_default\_block\_markbad(9)

\[DEFAULT\] mark a block bad via bad block marker

## NAME

nand\_default\_block\_markbad - \[DEFAULT\] mark a block bad via bad block marker

## SYNOPSIS

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

## ARGUMENTS

*mtd*

MTD device structure

*ofs*

offset from device start

## DESCRIPTION

This is the default implementation, which can be overridden by a hardware specific driver. It provides the details for writing a bad block marker to a block.

## AUTHOR

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

Author.

## COPYRIGHT
