VFS(9)

πŸ’… VFS(9) β€” kernel interface to file systems

okay bestie, so this is VFS(9), from the Kernel Developer's Manual (section 9, kernel devs only, very exclusive, very ✨main character✨). Let's get into it πŸ¦‹


✨ NAME ✨

VFS β€” the kernel interface to file systems πŸ’–

like, this is the doorway between the kernel and literally every file system that wants to hang out with it. no cap.


🌸 DESCRIPTION 🌸

These are the calls you use to set or query file systems β€” for settings, for information, whatever you need. it's giving "kernel's customer service desk" πŸŽ€

big important note incoming πŸ’€

If a file system doesn't implement a VFS operation, do NOT just write an empty function, and do NOT cast to eopnotsupp. nope nope nope πŸ™ˆ

Instead, use the appropriate vfs_std function from:

src/sys/kern/vfs_default.c

that's the move. that's the vibe. the way that file has all the defaults ready for you is honestly so iconic πŸ‘‘


🌈 SEE ALSO 🌈

go read these next, bestie, they're all connected and they all ate πŸ’…


πŸ‘‘ AUTHORS πŸ‘‘

This manual page was written by Doug Rabson. king behaviour, fr fr 🫢


and that's the whole page!! πŸ’–βœ¨ this one came from the Debian edition, dated February 9, 2010 β€” so yes it's vintage, and yes it still slays πŸŽ€ bye bestie, go mount something responsibly πŸŒΈπŸ¦‹

πŸ“¦ where this page comes from