sysfs_create_link(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, we're in the Kernel API Manual today and the function we're stanning is sysfs_create_link(9) β€” it's giving matchmaker energy fr fr ✨


🌸 NAME 🌸

sysfs_create_link β€” creates a symlink between two objects. that's it, that's the whole vibe πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int sysfs_create_link (struct kobject *kobj , struct kobject *target ,
       const char *name );

like, look at her. iconic signature. no notes πŸ’…


✨ ARGUMENTS ✨

  • kobj β€” the object whose directory we're creating the link in. think of it as the host of the link, the one whose folder gets the new lil shortcut dropped inside 🫢
  • target β€” the object we're pointing to. the main character the symlink is gonna be obsessed with 🌟
  • name β€” the name of the symlink. yep, you literally just pick what it's called. name her whatever, she's yours πŸ˜­πŸŽ€

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./fs/sysfs/symlink.c β€” go read the source bestie, it's right there πŸ’œ

and the whole friend group:


ok that's the whole page, no cap. short and slay. go forth and make links πŸ’…βœ¨

mwah πŸ’‹ β€” this one came from ./fs/sysfs, dated October 2026, and it's filed under sysfs_create_link(9). catch you in the next manpage bestie πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from