sysfs_remove_link(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 🧚

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