📄 index_allocation.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_ALLOCATION (0xA0) - 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_ALLOCATION (0xA0)</h1>
<a class="prevnext" accesskey="," href="index_root.html">前一页</a>
<a class="prevnext" accesskey="." href="bitmap.html">后一页</a>
<h2>概述</h2>
<p>
这是一个索引的基本成分 (e.g. a directory).
是所有B+子目录的子节点的存储单元,这个文件属性一般是非常驻的。 (e.g. a directory).
</p>
<p>
就像在 <a href="../files/attrdef.html">$AttrDef</a>中说过的,此属性的大小无上下限。 </p>
<pre>
此属性从来都不是常驻的 -- 可用根索引代替。
</pre>
<h2>属性的分布</h2>
<p>
它只是一个属于索引的所有索引缓存的简单序列。
</p>
<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">...</td>
<td>Data runs</td>
</tr>
</table>
<h3>索引项</h3>
<pre>
至少要分成两个表格:
</pre>
<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 colspan="3">下面的域只有在最后的登录标记没有被设置的情况下才是有效的</td>
</tr>
<tr>
<td class="numeric">0x00</td>
<td class="numeric">8</td>
<td>文件介绍</td>
</tr>
<tr>
<td class="numeric">0x08</td>
<td class="numeric">2</td>
<td>L = 索引项的长度</td>
</tr>
<tr>
<td class="numeric">0x0A</td>
<td class="numeric">2</td>
<td>M = 流的长度</td>
</tr>
<tr>
<td class="numeric">0x0C</td>
<td class="numeric">1</td>
<td>标记</td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td colspan="3">下面的域只有在没有设置子节点标记时才存在</td>
</tr>
<tr>
<td class="numeric">0x10</td>
<td class="numeric">M</td>
<td>流</td>
</tr>
<tr>
<td colspan="3">下面的域只有在设置了子节点标记后才存在</td>
</tr>
<tr>
<td class="numeric">L - 8</td>
<td class="numeric">8</td>
<td>索引分配属性中的子节点的VCN</td>
</tr>
</table>
<h2>注释</h2>
<h3>流的长度</h3>
<p>这个域的副本位于常驻文件属性的标题部分的偏移10处,此常驻文件属性由索引项指定。但是为什么这两个域的大小不同呢?</p>
<h3>标记</h3>
<table border="1" summary="" cellspacing="0">
<tr>
<th class="numeric">标记</th>
<th>描述</th>
</tr>
<tr>
<td class="numeric">0x01</td>
<td>索引项指向一个子节点</td>
</tr>
<tr>
<td class="numeric">0x02</td>
<td>此节点中的最后的索引项</td>
</tr>
</table>
<p>这个最后的登录标记用于指示一个索引项序列的结束。尽管它不代表一个有效的文件,但它可以指向一个子节点。</p>
<h3>流</h3>
<p>一个常驻文件属性的流是由索引项指定的(例如对于一个目录来说,流就是这个文件名属性)。</p>
<pre>
永久非常驻(任何情况下都不是常驻的!)。
它是索引块的一个队列。每一个索引块开始是一个包含一个索引标题的索引块结构,然后是一个由索引
标题描述的索引项序列。
在创建索引块的时候,要把更新的序列排列在偏移量处;例如在以索引项开始之前。这使我们能够判断,
否则我们可能由于更新包含在自身里的序列队列而出现问题:一个扇区里的最后两个字节就要意味着多
扇区转换器不工作。当从NTFS记录标题读取数据时,你不能用覆盖它来保护数据因为你不能再把它恢复
回来。 </pre>
<br>
<a class="contact" href="http://linux-ntfs.sourceforge.net/ntfs/attributes/index_allocation.html">Online</a>
<a class="contact" href="http://www.reddragonfly.org/ntfs/attributes/index_allocation.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_allocation.html,v 1.10 2001/07/11 11:04:05 flatcap Exp $</a>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -