sysfs_create_link(9)
π sysfs_create_link π
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:
sysfs_create_link_sd(9)sysfs_create_link_nowarn(9)sysfs_delete_link(9)sysfs_remove_link(9)sysfs_rename_link_ns(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms