FLASH(4)
π FLASH(4) β from the Kernel Interfaces Manual π
Okay bestie, we're in the Kernel Interfaces Manual and this entry is FLASH(4). Let's get into the flash layer, periodt. π
β¨ NAME β¨
flashβ device-independent flash layer
β¨ SYNOPSIS β¨
#include <sys/flash.h>
π¦ DESCRIPTION π¦
The flash driver is your device-independent interface for using flash memory. Literally iconic. π
Here's the tea: these ioctl(2) operations are supported on /dev/flash:
FLASH_BLOCK_ISBAD(struct flash_badblock_params) β this command checks if a block is marked as bad. π΅οΈββοΈFLASH_BLOCK_MARKBAD(struct flash_badblock_params) β this command marks a block as bad. πFLASH_DUMP(struct flash_dump_params) β this command dumps a block. π¦FLASH_ERASE_BLOCK(struct flash_erase_params) β this command erases one or more blocks. π§½FLASH_GET_INFO(struct flash_info_params) β this command acquires information about the flash device. π
π FILES π
/dev/flashβ the path, periodt. π
π₯ SEE ALSO π₯
flash(9)nand(9)
π AUTHORS π
- Adam Hoka
<ahoka@NetBSD.org>β yes bestie, that's the author. π«Ά
π Cute little sign-off: this page says Debian, January 21, 2010, and FLASH(4). Mwah! π«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: netbsd-source 11.0
- Copyright (c) 2010 Department of Software Engineering
- Copyright (c) 2010 Adam Hoka <ahoka@NetBSD.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms