scan_fast(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

scan_fast(9) πŸ¦‹βœ¨

okay bestie, welcome to scan_fast(9) from the Kernel API Manual β€” this is the page where UBI goes looking for a fastmap and tries to attach from it. periodt. πŸ’…


🌸 NAME 🌸

scan_fast β€” try to find a fastmap and attach from it.


✨ SYNOPSIS ✨

int scan_fast (struct ubi_device *ubi , struct ubi_attach_info **ai );

πŸŽ€ ARGUMENTS πŸŽ€

  • ubi β€” UBI device description object
  • ai β€” attach info object

πŸ’– DESCRIPTION πŸ’–

okay so the return-value vibe check is this: it returns 0 on success, and negative return values indicate an internal error. 😭

UBI_NO_FASTMAP denotes that no fastmap was found. UBI_BAD_FASTMAP denotes that the found fastmap was invalid. no cap, those two constants are doing main character energy in this description. 🫢


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/mtd/ubi/attach.c β€” and the whole friend group is:


signed off from ./drivers/mtd/ubi, October 2026 β€” mwah πŸ’‹πŸ’–

πŸ“¦ where this page comes from