sysfs_create_link_nowarn(9)
β¨ sysfs_create_link_nowarn β kernel API manual, bestie edition β¨
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 π§
- Kernel file
./fs/sysfs/symlink.c sysfs_create_link_sd(9)sysfs_create_link(9)sysfs_delete_link(9)sysfs_remove_link(9)sysfs_rename_link_ns(9)
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
- 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