sysfs_create_link_nowarn(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so quick vibe check: this is a page about sysfs_create_link_nowarn, from the kernel API manual, and honestly it's a short one but we're gonna make it iconic πŸ’…


🌸 NAME 🌸

sysfs_create_link_nowarn β€” create symlink between two objects. that's it. that's the whole thing. two objects, one link, zero drama 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

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

it returns an int, bestie. keep that in mind. πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • kobj β€” object whose directory we're creating the link in. so like… this is the where. the link lives in this one's directory, no cap πŸ“
  • target β€” object we're pointing to. this is the who, the main character being linked at, the one everyone's pointing at πŸ’–
  • name β€” name of the symlink. literally just what you're gonna call it. pick something cute (or don't, it's a kernel symbol name, we don't judge) ✨

🌈 DESCRIPTION 🌈

so real talk: this function does the exact same thing as sysfs_create_link, okay? identical behaviour, same energy, same everything β€” except it doesn't warn if the link already exists. that's the whole twist πŸ”₯

no warning, no noise, no "bestie we've been here before" message. it just… doesn't warn. that's the nowarn part. iykyk πŸ’€

lowkey important: the description says it does the same as sysfs_create_link but doesn't warn if the link already exists β€” and that's genuinely all the source tells us, so don't go reading extra behaviour into it πŸ™ˆ

🧚 SEE ALSO 🧚

like, the whole symlink friend group. go say hi to all of them πŸ’œ


okay that's the page!! big slay to ./fs/sysfs for hosting this, October 2026 edition, and shoutout to the kernel API manual for the source + version deets πŸ“ see you in the next man page, bestie 🌸🫢

πŸ“¦ where this page comes from