随着对文件系统的进一步了解。继续查看手册。
IMFS(In-Memory FileSystem)是一个全功能的POSIX文件系统,在memory中保存所有的信息。
每一个文件,设备,hard link 目录都被表示为一种数据结构,叫做jnode。该类型在cpukit/libfs/src/imfs/imfs.h中定义
struct IMFS_jnode_tt {
rtems_chain_node Node; /* for chaining them together */
IMFS_jnode_t *Parent; /* Parent node */
const char *name; /* "basename" (not \0 terminated) */
uint16_t namelen; /* Length of "basename" */
uint16_t flags; /* Node flags */
mode_t st_mode; /* File mode */
unsigned short reference_count;
nlink_t st_nlink; /* Link count */
uid_t