Conversation

I’m being “schooled” by Al Viro on how dcache, inodes, and files work internally.

This is a very interesting read that I recommend anyone that wants to understand VFS better should look at.

And don’t just stop at that email, the thread goes on. Very educational. Hopefully someone smarter than I can add this to the VFS documentation in the kernel 😉

1
22
27

@rostedt this is very good info I had to figure myself when trying to implement a basic unix-like OS. It's nice to see that I got the vfs semantics right. It's a shame I'm unable to resolve the locking issues around this (I get random crashes) because it was a fun project I would love to continue. I'll probably have to start again from almost scratch.

1
0
0

@rostedt the mount tree is an additional complication I had not expected, I'm still not there but I was planning to simplify it a bit for my basic system.

0
0
0