This is mostly a note for myself.
In 3.2.4, it is said that “for a special file, this i-node contains the major device number, and the minor device number”. This is different from what we know for normal files, where the i-node contains file access time, etc.
It is not effecient to hold one i-node structure for both the normal file and the special file, and maybe some other file types. So I’m guessing that there will be different structure for different file type.
I’ll need to keep an eye on this when looking at the code.
Tags: minix, file system, os
Post a Comment
You could use <code type="name"> to get your code colorized