Inode table storage
Posted: Tue Feb 16, 2016 10:24 am
Hi!
I'm implementing the VFS and I've come to a problem: I don't know how to store the inodes. As far as I understand, I can have multiple filesystem nodes for a single file, but only one inode. So I guess I need to store the inode in some kind of table. But how big the inode table should be? What index the file should be at? I tried to look at the linux source but it's way too compilcated. Could you give me some advice?
I'm implementing the VFS and I've come to a problem: I don't know how to store the inodes. As far as I understand, I can have multiple filesystem nodes for a single file, but only one inode. So I guess I need to store the inode in some kind of table. But how big the inode table should be? What index the file should be at? I tried to look at the linux source but it's way too compilcated. Could you give me some advice?