sysfs_create_link_sd(9)
πΈ sysfs_create_link_sd(9) πΈ
okay bestie, welcome to the Kernel API Manual β¨ β yes this is the Kernel API Manual, the manual for the kernel API, we're doing this π
π NAME π
sysfs_create_link_sd β create symlink to a given object. that's it, that's the whole vibe π
β¨ SYNOPSIS β¨
int sysfs_create_link_sd (struct kernfs_node *kn , struct kobject
*target , const char *name );
like, copy that exactly please, it's giving "three arguments, one int" and we respect the signature in this house π«Ά
π¦ ARGUMENTS π¦
knβ directory we're creating the link in. that's your home base, the place it all goes down πtargetβ object we're pointing to. the main character the symlink is literally obsessed with πnameβ name of the symlink. what you're gonna call it, so pick something cute fr fr π
π SEE ALSO π
kernel file ./fs/sysfs/symlink.c and its little friend group:
sysfs_create_link(9)sysfs_create_link_nowarn(9)sysfs_delete_link(9)sysfs_remove_link(9)sysfs_rename_link_ns(9)
like the whole symlink squad, iykyk π
ngl bestie, if you got this far you're highkey a kernel dev now β¨ no cap π§
so like, that's a wrap on sysfs_create_link_sd(9) π this lil love letter came from ./fs/sysfs πΈ in October 2026 β as part of the Kernel API Manual π periodt π
π¦ 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