eventfs_remove_rec(9)
π eventfs_remove_rec(9)
okay so bestie, welcome to the Kernel API Manual β¨ this one's a little function page and it's literally called eventfs_remove_rec β say that five times fast, I dare you π«Ά
πΈ NAME
eventfs_remove_rec β remove eventfs dir or file from list ποΈβ¨
π¦ SYNOPSIS
void eventfs_remove_rec (struct eventfs_inode *ei , int level );
like, that's the whole vibe. two args, no drama π
π ARGUMENTS
eiβ theeventfs_inodewe're yeeting out of existence. it's the one being removed, periodt ποΈlevelβ the recursion bodyguard π‘οΈ it keeps the recursion from going more than 3 levels deep. no cap, three is the limit.
π DESCRIPTION
okay so here's the tea β β this function recursively removes eventfs_inodes, which contain info of files and/or directories. like it just keeps going down the tree, cleaning up as it goes, and honestly? iconic behavior π
recursive cleanup is giving main character energy but also it's giving "please respect the level param" π that's literally what level is there for, bestie.
π SEE ALSO
- Kernel file
./fs/tracefs/event_inode.c lookup_file(9)lookup_dir_entry(9)eventfs_d_release(9)lookup_file_dentry(9)eventfs_root_lookup(9)eventfs_create_dir(9)eventfs_create_events_dir(9)eventfs_remove_dir(9)eventfs_remove_events_dir(9)
go read those too, iykyk ππ
fr fr, if you're poking around eventfs, read the source in ./fs/tracefs before you touch anything β the kernel does not do vibe checks, it does crashes ππ
that's the page bestie! πΈ source lives at ./fs/tracefs, dated October 2026, and the manual section is eventfs_remove_rec(9) π mwah, go slay those inodes π
β¨π¦
π¦ 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