📄 index_root.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//ZH_CN">
<!-- http://linux-ntfs.sourceforge.net/ntfs/attributes/index_allocation.html -->
<html lang="ZH_CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="description" content="NTFS Documentation">
<link rel="stylesheet" type="text/css" href="../style/ntfsdoc.css">
<link rel="start" type="text/html" href="../index.html" title="NTFS Documentation">
<title>$INDEX_ROOT (0x90) - Attribute - NTFS Documentation</title>
</head>
<body>
<table border="0" class="toolbar" summary="" cellspacing="0">
<tr>
<td class="toolbar"><div class="toolbar"><a accesskey="1" class="toolbar" href="../index.html">主页</a></div></td>
<td class="toolbar"><div class="toolbar"><a accesskey="2" class="toolbar" href="../files/index.html">文件</a></div></td>
<td class="toolbar"><div class="toolbar"><a accesskey="3" class="toolbar" href="../attributes/index.html">属性</a></div></td>
<td class="toolbar"><div class="toolbar"><a accesskey="4" class="toolbar" href="../concepts/index.html">概念</a></div></td>
<td class="toolbar"><a accesskey="5" class="toolbar" href="../help/glossary.html">词汇</a></td>
</tr>
</table>
<h1>属性 - $INDEX_ROOT (0x90)</h1>
<a class="prevnext" accesskey="," href="data.html">前一页</a>
<a class="prevnext" accesskey="." href="index_allocation.html">后一页</a>
<h2>概述</h2>
<p>
这是B+子目录结构的根节点,它执行一个索引(如一个目录)。
此文件属性总是常驻的。 </p>
<h2>属性结构</h2>
<pre>
链接如下
</pre>
<dl>
<dt>$INDEX_ROOT</dt>
<dd>标准属性标题</dd>
<dd>索引根部</dd>
<dd>索引标题</dd>
<dd>索引项</dd>
<dd>索引项</dd>
<dd>...</dd>
</dl>
<h3>索引根部</h3>
<table border="1" summary="" cellspacing="0">
<tr>
<th class="numeric">偏移量</th>
<th class="numeric">大小</th>
<th>描述</th>
</tr>
<tr>
<td class="numeric">~</td>
<td class="numeric">~</td>
<td><a href="../concepts/attribute_header.html">标准属性标题</a></td>
</tr>
<tr>
<td class="numeric">0x00</td>
<td class="numeric">4</td>
<td>属性类型</td>
</tr>
<tr>
<td class="numeric">0x04</td>
<td class="numeric">4</td>
<td>整理规则</td>
</tr>
<tr>
<td class="numeric">0x08</td>
<td class="numeric">4</td>
<td>索引分配项的大小 (字节)</td>
</tr>
<tr>
<td class="numeric">0x0C</td>
<td class="numeric">1</td>
<td>每个索引记录的簇</td>
</tr>
<tr>
<td class="numeric">0x0D</td>
<td class="numeric">3</td>
<td>填料 (排列成8字节)</td>
</tr>
</table>
<h3>索引标题</h3>
<table border="1" summary="" cellspacing="0">
<tr>
<th class="numeric">偏移量</th>
<th class="numeric">大小</th>
<th>描述</th>
</tr>
<tr>
<td class="numeric">0x00</td>
<td class="numeric">4</td>
<td>到第一个索引项的偏移量</td>
</tr>
<tr>
<td class="numeric">0x04</td>
<td class="numeric">4</td>
<td>全体索引项的大小</td>
</tr>
<tr>
<td class="numeric">0x08</td>
<td class="numeric">4</td>
<td>索引项的分配大小</td>
</tr>
<tr>
<td class="numeric">0x0C</td>
<td class="numeric">1</td>
<td>标记</td>
</tr>
<tr>
<td class="numeric">0x0D</td>
<td class="numeric">3</td>
<td>填料 (排列成8字节)</td>
</tr>
</table>
<h2>注意</h2>
<h3>大小</h3>
<p>
就像在 <a href="../files/attrdef.html">$AttrDef</a>里定义的, 此属性大小无上下限
</p>
<h3>标记</h3>
<table border="1" summary="" cellspacing="0">
<tr>
<th class="numeric">标记</th>
<th>描述</th>
</tr>
<tr>
<td class="numeric">0x00</td>
<td>小索引 (装配在索引根部)</td>
</tr>
<tr>
<td class="numeric">0x01</td>
<td>大索引(需要索引分配)</td>
</tr>
</table>
<pre>
有一个0x00的标记是不明智的。 </pre>
<p>大索引标记表明是否存在文件属性索引分配和位图(当索引足够小到可以完全存储在根节点里时,这两个文件属性不存在)。</p>
<h3>索引项序列</h3>
<p>索引项的序列有不同的长度。序列用一个特殊的索引项终止,此索引项的最后一项标记被设置。 </p>
<pre>
这是索引的标题,描述索引项记录跟在索引标题后面。索引标题和索引项一起组成了一个完整的索引。
索引标题描述后面跟的是一个索引项(索引项结构)的序列。
当一个目录足够小到能够装进索引根部时这是描述此目录的唯一一个属性。当目录太大不能装进索引根
部时,存在两个附加属性:一个索引分配属性,包含B+目录树状结构的子节点;一个位图属性,描述一
个索引模块在索引分配属性里使用的实际簇数(VCNS)。
注意:根目录(FILE_$root)包含一个自身项。
struct {
ATTR_TYPES type;
索引属性类型。是目录的$FILENAME ,浏览索引为零。没有其它许可值。
COLLATION_RULES collation_rule; 用于分类索引项的分配规则。如果类型是$FILENAME,
它必须是COLLATION_FILENAME.
__u32 bytes_per_index_block;
每个索引模块的字节数 (在索引分配属性里).
__u8 clusters_per_index_block;
每个索引每个的簇大小 (在索引分配属性里), 当一个索引模块大于等于一个簇时,否则这就是日
志的大小 (象MFT记录大小如何编码和索引记录大小如何在引导区工作)。必须是2的指数。
} INDEX_ROOT;
</pre>
<h3>公共索引列表</h3>
<table border="1" summary="" cellspacing="0">
<tr>
<th>Name</th>
<th>Index Of</th>
<th>Used By</th>
</tr>
<tr>
<td><a href="../help/glossary.html#i30">$I30</a></td>
<td><a href="file_name.html">文件名</a></td>
<td><a href="../concepts/directory.html">目录</a></td>
</tr>
<tr>
<td><a href="../help/glossary.html#sdh">$SDH</a></td>
<td><a href="security_descriptor.html">安全描述符</a></td>
<td><a href="../files/secure.html">$Secure</a></td>
</tr>
<tr>
<td><a href="../help/glossary.html#sii">$SII</a></td>
<td><a href="../files/secure.html">安全标识符</a></td>
<td><a href="../files/secure.html">$Secure</a></td>
</tr>
<tr>
<td><a href="../help/glossary.html#o">$O</a></td>
<td><a href="../files/objid.html">对象标识符</a></td>
<td><a href="../files/objid.html">$ObjId</a></td>
</tr>
<tr>
<td><a href="../help/glossary.html#o">$O</a></td>
<td><a href="../files/quota.html">所有者标识符</a></td>
<td><a href="../files/quota.html">$Quota</a></td>
</tr>
<tr>
<td><a href="../help/glossary.html#q">$Q</a></td>
<td><a href="../files/quota.html">限额</a></td>
<td><a href="../files/quota.html">$Quota</a></td>
</tr>
<tr>
<td><a href="../help/glossary.html#r">$R</a></td>
<td><a href="reparse_point.html">修复点</a></td>
<td><a href="../files/reparse.html">$Reparse</a></td>
</tr>
</table>
<pre>
哪个要素在索引之间共享?
不要联系到根索引。 </pre>
<br>
<a class="contact" href="http://linux-ntfs.sourceforge.net/ntfs/attributes/index_root.html">Online</a>
<a class="contact" href="http://www.reddragonfly.org/ntfs/attributes/index_root.html">中文在线</a>
<!-- The two validators will only work if this page is visible on the web -->
<a class="contact" href="http://validator.w3.org/check/referer">Validate HTML</a>
<a class="contact" href="http://jigsaw.w3.org/css-validator/check/referer">Validate CSS</a>
<a class="contact" href="mailto:webmaster@flatcap.org">$Id: index_root.html,v 1.11 2001/07/24 13:47:12 flatcap Exp $</a>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -