sysfs_remove_link(9)
β¨ sysfs_remove_link(9) β¨
okay so this is a page from the Kernel API Manual, bestie β it's sysfs_remove_link, and it does exactly one thing but it does it flawlessly π
πΈ NAME πΈ
sysfs_remove_link β remove symlink in object's directory.
likeβ¦ it removes a symlink. from an object's directory. that's the whole vibe. no cap π
π¦ SYNOPSIS π¦
void sysfs_remove_link (struct kobject *kobj , const char *name );
yeah that's it. two args, no return value, zero drama β¨
π ARGUMENTS π
kobjβ the object we're acting for. this is the main character here, the kobject whose directory we're messing with πnameβ name of the symlink to remove. the exact name, bestie, don't freestyle it π
π§ SEE ALSO π§
- Kernel file
./fs/sysfs/symlink.c sysfs_create_link_sd(9)sysfs_create_link(9)sysfs_create_link_nowarn(9)sysfs_delete_link(9)sysfs_rename_link_ns(9)
basically the whole symlink friend group π if you're removing links you should 100% know the creating/renaming/deleting ones too β iykyk π₯
lowkey a reminder that this page comes from the kernel source at ./fs/sysfs β that's where the real ones live π
hope this helped bestie, go forth and unlink responsibly π«Άβ¨
ββ signing off from ./fs/sysfs, dated October 2026 β sysfs_remove_link(9), mwah πππ¦
π¦ 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