FLASH(4)

πŸ“¦ version 11.0, in nixpkgs unstable

πŸ’– 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 πŸ”₯

πŸ‘‘ 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
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms