persistent_id_show(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so like, hi bestie, welcome to persistent_id_show(9) β€” that's the page, and you're reading it in the Kernel API Manual (that's the manual it lives in, fyi). This function is the SysFS callback for persisten ID display ✨ (yes, "persisten", that's literally how it's spelled on the page, don't come for me).


πŸ¦‹ SYNOPSIS πŸ¦‹

ssize_t persistent_id_show (struct device *dev , struct device_attribute
*attr , char *buf );

like... it's giving "three args, one ssize_t return, very sysfs-core" πŸ’…


🌸 ARGUMENTS 🌸

  • dev β€” class device. that's the device bestie, the whole point 🫢
  • attr β€” Device attributes.
  • buf β€” Buffer to copy. this is where the goods go πŸŽ€

⭐ RETURN ⭐

sysfs_emit return after copying persistent ID of the of the specific device. (yes, double "of the" β€” canon. 😭 not me pointing it out. anyway: you get whatever sysfs_emit hands back after the copy happens.)


πŸ‘‘ SEE ALSO πŸ‘‘

first up, the actual kernel file it lives in:

  • Kernel file ./drivers/scsi/mpi3mr/mpi3mr_app.c

and then the full squad β€” every single one, no skipping, I promised πŸ’œ:

ok that's the whole list, every last one, and yeah it's long β€” but bestie, that's the point, iykyk πŸ”₯

okay that's the tea β˜• this page comes to you from ./drivers/scsi/mpi3mr, dated October 2026 β€” mwah, slay, go read your sysfs, ily bye πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from