
minix内核
grantxx
这个作者很懒,什么都没留下…
展开
-
minix文件锁管理
文件锁存放在一个数组当中,用来记录系统对于文件锁的使用情况。 文件锁的定义如下: /* This is the file locking table. Like the filp table, it points to the * inode table, however, in this case to achieve advisory locking. */ EXTERN str原创 2012-10-29 21:07:35 · 1493 阅读 · 0 评论 -
Minix文件系统阅读笔记之get_block
PUBLIC struct buf *get_block(dev, block, only_search) register dev_t dev; /* on which device is the block? */ register block_t block; /* which block is wanted? */ int only_search; /* if NO_READ, do转载 2012-10-22 17:17:37 · 1549 阅读 · 0 评论 -
Minix 文件信息及其数据的定位
原文:http://hi.baidu.com/heyinjie/item/54cdc7507026209508be17b7 文件信息及其数据的定位 在Minix 1.0文件系统中,一个文件可以有几个不同的文件名,这是由dir_entry决定的。多个dir_entry可以关联同一个文件,但同一个文件只能对应一个索引节点,所以最终系统需要依靠索引节点来描述一个文件。文件最重要的转载 2012-10-23 19:20:57 · 1291 阅读 · 0 评论 -
Minix系统inode管理
get_inode(dev,numb) /*===========================================================================* * get_inode * *========================================================================原创 2012-10-25 21:26:56 · 1282 阅读 · 1 评论 -
Minix超级块管理
/* This file manages the super block table and the related data structures, * namely, the bit maps that keep track of which zones and which inodes are * allocated and which are free. When a new ino原创 2012-10-26 18:32:05 · 1181 阅读 · 0 评论