sysfs_delete_link(9)
okay bestie, welcome to the Kernel API Manual β¨ todayβs main character is sysfs_delete_link β aka the sysfs_delete_link(9) girlie β and sheβs here to remove a symlink in an objectβs directory. no cap. π
πΈ NAME πΈ
sysfs_delete_link β remove symlink in objectβs directory. π
π¦ SYNOPSIS π¦
void sysfs_delete_link (struct kobject *kobj , struct kobject *targ ,
const char *name );
β¨ ARGUMENTS β¨
kobjβ object weβre acting for. π«Άtargβ object weβre pointing to. πnameβ name of the symlink to remove. π
π₯ DESCRIPTION π₯
Okay so unlike sysfs_remove_link, sysfs_delete_link has enough information to successfully delete symlinks in tagged directories. Thatβs the whole serve, bestie. π
β¨
π SEE ALSO π
Kernel file ./fs/sysfs/symlink.c is in the mix too, plus these function besties:
sysfs_create_link_sd(9)sysfs_create_link(9)sysfs_create_link_nowarn(9)sysfs_remove_link(9)sysfs_rename_link_ns(9)
mwah π β this page comes from ./fs/sysfs, dated October 2026, for sysfs_delete_link(9). 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