vfs: check userland buffers before reading them.
[haiku.git] / docs / userguide / zh_CN / applications / diskprobe.html
blob5285a7bd284273fbc47632b43a3711ed73100160
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN" xml:lang="zh-CN">
4 <head>
5 <!--
7 * Copyright 2009, Haiku. All rights reserved.
8 * Distributed under the terms of the MIT License.
10 * Authors:
11 * Humdinger <humdingerb@gmail.com>
12 * Translators:
13 * Pengphei Han
15 -->
16 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
17 <meta http-equiv="Content-Style-Type" content="text/css" />
18 <meta name="robots" content="all" />
19 <title>磁盘扫描器</title>
20 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
21 <link rel="stylesheet" type="text/css" href="../../Haiku-doc.css" />
22 </head>
23 <body>
25 <div id="banner">
26 <div><span>用户指南</span></div>
27 </div>
29 <div class="nav">
30 <div class="inner">
31 <ul class="lang-menu">
32 <li class="now"><img src="../../images/flags/zh_CN.png" alt="" />  中文 [中文]</li>
33 <li><a href="../../ca/applications/diskprobe.html"><img src="../../images/flags/ca.png" alt="" />Català</a></li>
34 <li><a href="../../de/applications/diskprobe.html"><img src="../../images/flags/de.png" alt="" />Deutsch</a></li>
35 <li><a href="../../en/applications/diskprobe.html"><img src="../../images/flags/gb.png" alt="" />English</a></li>
36 <li><a href="../../es/applications/diskprobe.html"><img src="../../images/flags/es.png" alt="" />Español</a></li>
37 <li><a href="../../fr/applications/diskprobe.html"><img src="../../images/flags/fr.png" alt="" />Français</a></li>
38 <li><a href="../../it/applications/diskprobe.html"><img src="../../images/flags/it.png" alt="" />Italiano</a></li>
39 <li><a href="../../hu/applications/diskprobe.html"><img src="../../images/flags/hu.png" alt="" />Magyar</a></li>
40 <li><a href="../../pl/applications/diskprobe.html"><img src="../../images/flags/pl.png" alt="" />Polski</a></li>
41 <li><a href="../../pt_PT/applications/diskprobe.html"><img src="../../images/flags/pt_PT.png" alt="" />Português</a></li>
42 <li><a href="../../pt_BR/applications/diskprobe.html"><img src="../../images/flags/pt_BR.png" alt="" />Português (Brazil)</a></li>
43 <li><a href="../../ro/applications/diskprobe.html"><img src="../../images/flags/ro.png" alt="" />Română</a></li>
44 <li><a href="../../sk/applications/diskprobe.html"><img src="../../images/flags/sk.png" alt="" />Slovenčina</a></li>
45 <li><a href="../../fi/applications/diskprobe.html"><img src="../../images/flags/fi.png" alt="" />Suomi</a></li>
46 <li><a href="../../sv_SE/applications/diskprobe.html"><img src="../../images/flags/sv_SE.png" alt="" />Svenska</a></li>
47 <li><a href="../../ru/applications/diskprobe.html"><img src="../../images/flags/ru.png" alt="" />Русский</a></li>
48 <li><a href="../../uk/applications/diskprobe.html"><img src="../../images/flags/uk.png" alt="" />Українська</a></li>
49 <li><a href="../../jp/applications/diskprobe.html"><img src="../../images/flags/jp.png" alt="" />日本語</a></li>
50 </ul>
51 <span>
52  «  <a href="deskcalc.html">计算器</a> 
53 ::  <a href="../applications.html#list-of-apps" class="uplink">应用程序
54 </a> 
55 ::  <a href="diskusage.html">磁盘查看器</a>  »
56 </span></div>
57 </div>
59 <div id="content">
60 <div>
62 <h2><img src="../../images/apps-images/diskprobe-icon_64.png" alt="diskprobe-icon_64.png" width="64" height="64" />磁盘扫描器</h2>
63 <table summary="layout" border="0" cellspacing="0" cellpadding="2">
64 <tr><td>桌面栏:</td><td style="width:15px;"></td><td><span class="menu">应用程序</span></td></tr>
65 <tr><td>位置:</td><td></td><td><span class="path">/boot/system/apps/DiskProbe</span></td></tr>
66 <tr><td>设置:</td><td></td><td><span class="path">~/config/settings/DiskProbe_data</span></td></tr>
67 </table>
68 <p><br /></p>
69 <p>磁盘扫描器是一个十六进制的编辑器,用于在字节级上查看和修改文件或者硬件设备上的数据。它是一个低级的工具,当然如果不仔细操作的话,可能会造成错误。</p>
70 <div class="box-warning">该工具主要用于处理文件的备份,但是在直接用于处理硬件设备时需要倍加谨慎小心。</div>
71 <p>在启动磁盘扫描器时,您需要给出所要处理的文件或者硬件。 之后,软件将会呈现以下界面:</p>
72 <p><img id="diskprobe" src="../images/apps-images/diskprobe.png" alt="diskprobe.png" /></p>
73 <p>主视图总是展示一个数据块,而数据块的大小可以通过 <span class="menu">View | BlockSize</span> 予以调整。在数据块的左端是数据块起始处的偏移量,而中部则是十六进制的数据,右端是数据的ASCII字符形式。
74 <br />
75 你可以通过使用主视图上部的滑动条或者组合键 <span class="key">ALT</span> <span class="key"></span><span class="key">ALT</span> <span class="key"></span> 来查看数据块,使用 <span class="key">TAB</span> 键来在不同的十六进制和ASCII数据列之间转换。</p>
76 <p><span class="menu">Block | Selection</span> 不仅显示了存储方式的选择(以十六进制或者十进制的方式,这可以通过 <span class="menu">View | Base</span>来进行设置),它也指明了你所跳转到的当前数据块的偏移量。如果您所查看的数据行超出了文件或者硬件的范围,它将会明显的灰暗化。<br />
77 在查看文件系统时,这将会是一个非常好用的特性,因为在文件系统中包含了许多指向其他数据块的指针。</p>
78 <p>如果您所查看的文件包含相关的属性,那么 <span class="menu">属性</span> 菜单可以打开一个新的磁盘扫描器窗口。下面就是 <span class="app">关于系统</span> 程序的 SYS:PACKAGE 属性:</p><p><img id="diskprobe-attribute" src="../images/apps-images/diskprobe-about-attr.png" alt="diskprobe-about-attr.png" /></p>
79 <p>依据属性的类别,除了总是呈现的 <i>Raw Editor</i>,它还会呈现出其他不同的编辑器。例如,字符和 MIME 类型的编辑器或者用于矢量图标属性的图标查看器</p>
80 </div>
81 </div>
83 <div class="nav">
84 <div class="inner"><span>
85  «  <a href="deskcalc.html">计算器</a> 
86 ::  <a href="../applications.html#list-of-apps" class="uplink">应用程序
87 </a> 
88 ::  <a href="diskusage.html">磁盘查看器</a>  »
89 </span></div>
90 </div>
92 </body>
93 </html>