---
name: "read_bbt"
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/read_bbt"
---

# read\_bbt(9)

\[GENERIC\] Read the bad block table starting from page

## NAME

read\_bbt - \[GENERIC\] Read the bad block table starting from page

## SYNOPSIS

**int read\_bbt(struct mtd\_info \*** *mtd***, uint8\_t \*** *buf***, int** *page***, int** *num***, struct nand\_bbt\_descr \*** *td***, int** *offs***);**

## ARGUMENTS

*mtd*

MTD device structure

*buf*

temporary buffer

*page*

the starting page

*num*

the number of bbt descriptors to read

*td*

the bbt describtion table

*offs*

block number offset in the table

## DESCRIPTION

Read the bad block table starting from page.

## AUTHOR

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

Author.

## COPYRIGHT
