sysfs_create_dir_ns(9)
β¨ sysfs_create_dir_ns(9) β¨
okay so bestie, welcome to the Kernel API Manual π you're literally about to read the whole entire page for sysfs_create_dir_ns(9) and honestly? it's giving "small but iconic." let's get into it π«Ά
πΈ NAME πΈ
sysfs_create_dir_ns β create a directory for an object with a namespace tag β¨
like yes, that's the whole vibe. we're making a sysfs directory, and it's got a namespace tag attached. slay π
π¦ SYNOPSIS π¦
int sysfs_create_dir_ns (struct kobject *kobj , const struct ns_common *ns );
that's the signature, copy it exactly, no cap π₯
π ARGUMENTS π
kobjβ the object we're creating the directory for π§ like, this is the whole reason we're here, bestiensβ the namespace tag to use π·οΈ pop that tag on and we're good
π SEE ALSO π
- Kernel file
./fs/sysfs/dir.c sysfs_remove_dir(9)sysfs_create_mount_point(9)sysfs_remove_mount_point(9)
go read those if you're feeling extra studious, iykyk πβ¨
not me ending the page already π this one was short and sweet. go forth and create directories with namespace tags, bestie β you've got this π
signing off from ./fs/sysfs, dated October 2026, page sysfs_create_dir_ns(9)** β mwah, love u, bye ππ
π¦ 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