<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY legal SYSTEM "legal.xml">
<!ENTITY appversion "2.15">
<!ENTITY manrevision "1.0">
<!ENTITY date "April 2006">
<!ENTITY app "Disk Usage Analyzer">
]>
<!-- 
      (Do not remove this comment block.)
  Maintained by the GNOME Documentation Project
  http://developer.gnome.org/projects/gdp
  Template version: 2.0 beta
  Template last modified Apr 11, 2002
  
-->
<!-- =============Document Header ============================= -->
<article id="index" lang="zh_HK">
<!-- please do not change the id; for translations, change lang to -->
<!-- appropriate code -->
  <articleinfo> 
    <title>磁碟用量分析器使用手冊</title>

    <abstract role="description">
      <para>磁碟用量分析器是一個具有圖形與選單的檢視器，它可以讓你觀看和監控你的磁碟用量與資料夾的結構。</para>
    </abstract>

    <copyright> 
      <year>2006</year> 
      <holder>Fabio Marzocca</holder> 
    </copyright><copyright><year>2008.</year><holder>H45 (jimah45abmw@hotmail.com)</holder></copyright> 
<!-- translators: uncomment this:

  <copyright>
   <year>2002</year>
   <holder>ME-THE-TRANSLATOR (Latin translation)</holder>
  </copyright>

   -->
    <publisher> 
      <publishername>GNOME 文件計劃</publishername> 
    </publisher> 

     <legalnotice id="legalnotice">
	<para>
	  Permission is granted to copy, distribute and/or modify this
	  document under the terms of the GNU Free Documentation
	  License (GFDL), Version 1.1 or any later version published
	  by the Free Software Foundation with no Invariant Sections,
	  no Front-Cover Texts, and no Back-Cover Texts.  You can find
	  a copy of the GFDL at this <ulink type="help" url="ghelp:fdl">link</ulink> or in the file COPYING-DOCS
	  distributed with this manual.
         </para>
         <para> This manual is part of a collection of GNOME manuals
          distributed under the GFDL.  If you want to distribute this
          manual separately from the collection, you can do so by
          adding a copy of the license to the manual, as described in
          section 6 of the license.
	</para>

	<para>
	  Many of the names used by companies to distinguish their
	  products and services are claimed as trademarks. Where those
	  names appear in any GNOME documentation, and the members of
	  the GNOME Documentation Project are made aware of those
	  trademarks, then the names are in capital letters or initial
	  capital letters.
	</para>

	<para>
	  DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT ARE PROVIDED
	  UNDER  THE TERMS OF THE GNU FREE DOCUMENTATION LICENSE
	  WITH THE FURTHER UNDERSTANDING THAT:

	  <orderedlist>
		<listitem>
		  <para>DOCUMENT IS PROVIDED ON AN "AS IS" BASIS,
                    WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR
                    IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES
                    THAT THE DOCUMENT OR MODIFIED VERSION OF THE
                    DOCUMENT IS FREE OF DEFECTS MERCHANTABLE, FIT FOR
                    A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE
                    RISK AS TO THE QUALITY, ACCURACY, AND PERFORMANCE
                    OF THE DOCUMENT OR MODIFIED VERSION OF THE
                    DOCUMENT IS WITH YOU. SHOULD ANY DOCUMENT OR
                    MODIFIED VERSION PROVE DEFECTIVE IN ANY RESPECT,
                    YOU (NOT THE INITIAL WRITER, AUTHOR OR ANY
                    CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY
                    SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
                    OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS
                    LICENSE. NO USE OF ANY DOCUMENT OR MODIFIED
                    VERSION OF THE DOCUMENT IS AUTHORIZED HEREUNDER
                    EXCEPT UNDER THIS DISCLAIMER; AND
		  </para>
		</listitem>
		<listitem>
		  <para>UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL
                       THEORY, WHETHER IN TORT (INCLUDING NEGLIGENCE),
                       CONTRACT, OR OTHERWISE, SHALL THE AUTHOR,
                       INITIAL WRITER, ANY CONTRIBUTOR, OR ANY
                       DISTRIBUTOR OF THE DOCUMENT OR MODIFIED VERSION
                       OF THE DOCUMENT, OR ANY SUPPLIER OF ANY OF SUCH
                       PARTIES, BE LIABLE TO ANY PERSON FOR ANY
                       DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR
                       CONSEQUENTIAL DAMAGES OF ANY CHARACTER
                       INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS
                       OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR
                       MALFUNCTION, OR ANY AND ALL OTHER DAMAGES OR
                       LOSSES ARISING OUT OF OR RELATING TO USE OF THE
                       DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT,
                       EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF
                       THE POSSIBILITY OF SUCH DAMAGES.
		  </para>
		</listitem>
	  </orderedlist>
	</para>
  </legalnotice>



   <authorgroup> 
   <author> 
		<firstname>Fabio</firstname> 
		<surname>Marzocca</surname> 
		<affiliation> 
	  	<orgname>GNOME 文件計劃</orgname> 
	  	<address> <email>thesaltydog@gmail.com</email> </address> 
		</affiliation> 
   </author> 

   <author role="maintainer">
   	<firstname>Fabio</firstname>
	<surname>Marzocca</surname>
	<affiliation>
	  <address><email>thesaltydog@gmail.com</email></address>
	</affiliation>
   </author>
      
<!-- This is appropriate place for other contributors: translators,
      maintainers,  etc. Commented out by default.
   <othercredit role="translator">
		<firstname>Latin</firstname> 
		<surname>Translator 1</surname> 
		<affiliation> 
	  	<orgname>Latin Translation Team</orgname> 
	  	<address> <email>translator@gnome.org</email> </address> 
		</affiliation>
		<contrib>Latin translation</contrib>
   </othercredit>
-->
    </authorgroup>

    <revhistory>
      <revision> 
		<revnumber>磁碟用量分析器使用手冊 1.0 版</revnumber> 
		<date>2006 年四月</date> 
		<revdescription> 
	  		<para role="author">Emmanuele Bassi <email>ebassi@gmail.com</email></para>
	  		<para role="publisher">GNOME 文件計劃</para>
		</revdescription> 
      </revision>
    </revhistory> 

    <releaseinfo>這本手冊所描述的是 2.15 版的磁碟用量分析器。</releaseinfo> 
    
    <legalnotice> 
      <title>回饋</title> 
      <para>要回報對磁碟用量分析器程式或本手冊的錯誤或建議，請參考 <ulink url="ghelp:gnome-feedback" type="help">GNOME 回饋網頁</ulink> 裏的指引。</para>
<!-- Translators may also add here feedback address for translations -->
    </legalnotice> 
  </articleinfo> 

  <indexterm> 
    <primary>磁碟用量分析器</primary> 
  </indexterm> 

<!-- ============= Document Body ============================= -->
<!-- ============= Introduction ============================== -->

  <sect1 id="baobab-introduction"> 
    <title>介紹</title> 

      <para><application>磁碟用量分析器</application> 是一個具有圖形與選單的應用程式，它可以在任何的 Gnome 環境下分析磁碟的用量。 <application>磁碟用量分析器</application> 能夠很輕易地掃描整個檔案系統的樹狀結構或是使用者指定的資料夾位置（不管是本地還是遠端）。</para>
       <para>它也會自動且即時地偵測在你的家目錄所發生的任何掛載與卸載之更改。 <application>磁碟用量分析器</application> 也為每個選擇的資料夾提供了完整的圖樣化的樹狀圖之視窗。</para>

  </sect1>

<!-- ================ Getting Started ================================ -->
	<sect1 id="baobab-getting-started">
	<title>開始使用</title>

    <para><application>磁碟用量分析器</application> 能夠以三種方式啟動：</para>
	 <itemizedlist>
    <listitem><para>從 Gnome 選單列  <menuchoice><guimenu>應用程式</guimenu><guimenuitem>附屬應用程式</guimenuitem></menuchoice>；</para>
    		</listitem>
    <listitem><para>從終端機視窗；</para>
    		</listitem>
    <listitem><para>從 Nautilus "以...開啟"；</para>
    		</listitem>
    </itemizedlist> 


<para>如果你想要從終端機視窗開啟 <application>磁碟用量分析器</application> ，請打：</para> 
  
<para><command>baobab &lt;full_path_to_a_directory&gt;</command>，然後按下 <keycap>Return</keycap>。</para>  
<para/> 
	<para>如果從 Gnome 選單列啟動， <application>磁碟用量分析器</application> 就會開始執行，並且進入一個待命的狀態，等候使用者的動作。</para> 
    <para>當你從 Gnome 選單列啟動了 <application>磁碟用量分析器</application> ，會顯示下面的視窗。</para>

    <!-- ==== Figure ==== -->
      <figure id="baobab-fig"> 
	<title>磁碟用量分析器的視窗</title> 
	<screenshot> 
	  <mediaobject> 
	    <imageobject>
	    <imagedata fileref="figures/baobab_window.png" format="PNG"/> 
	    </imageobject>
	    <textobject> 
	      <phrase>展現磁碟用量分析器的主視窗。包含着選單列、展示區域、捲動條、狀態列。</phrase> 
	    </textobject> 
	  </mediaobject> 
	</screenshot> 
      </figure>
    <!-- ==== End of Figure ==== -->

<para>使用者接下來可以：</para>
	<itemizedlist>
    <listitem><para>啟動完整的檔案系統掃描；</para>
    		</listitem>
    <listitem><para>選擇一個本地的資料夾來掃描</para>
    		</listitem>
    <listitem><para>選擇一個遠端的伺服器與資料夾來掃描</para>
    		</listitem>
    <listitem><para>修改偏好設定</para>
    		</listitem>
	</itemizedlist>
	
	<note><para>如果你執行了完整的檔案系統掃描， <application>磁碟用量分析器</application> 的視窗將會在掃描檔案系統的同時畫出一棵樹。如果有任何分割區被掛載到檔案系統的話，它也會被掃描。</para></note>

</sect1>

<!-- ================ Usage ================================ -->

  <sect1 id="baobab-usage"> 
    <title>使用方式</title>

    <sect2 id="baobab-fullscan">
      <title>完整的檔案系統掃描</title>
        <para>想要啟動完整的檔案系統掃描的話，請在選單列中選擇 <menuchoice><guimenu>分析器</guimenu><guimenuitem>掃描檔案系統</guimenuitem></menuchoice> ，或者在工具列按下 <guibutton>掃描檔案系統</guibutton> 按鈕。</para>

	<para>掃描的工作一結束，你馬上就可以得到一棵完整的檔案系統樹，就像是下面這張圖片中的樹一樣。</para>    

    <!-- ==== Figure ==== -->
      <figure id="baobab-fullscan-fig"> 
	<title>磁碟用量分析器之完整的檔案系統掃描</title> 
	<screenshot> 
	  <mediaobject> 
	    <imageobject>
	    <imagedata fileref="figures/baobab_fullscan.png" format="PNG"/> 
	    </imageobject>
	    <textobject> 
	      <phrase>展現磁碟用量分析器之完整的檔案系統掃描的視窗。包含着選單列、展示區域、捲動條、狀態列。</phrase> 
	    </textobject> 
	  </mediaobject> 
	</screenshot> 
      </figure>
    <!-- ==== End of Figure ==== -->
    
    	<note><para>當你執行了完整的檔案系統掃描之後， <application>磁碟用量分析器</application> 的視窗將會在掃描檔案系統的同時畫出一棵樹。如果有任何分割區被掛載到檔案系統的話，它也會被掃描。</para></note>
    
    <para><application>磁碟用量分析器</application> 會在目錄樹上面顯示它被分配了多少磁碟空間。這意味着顯示的大小是實際的磁碟用量，而不是資料夾表面上的用量。如果你想要觀看檔案表面上的大小，請不要勾選 <menuchoice><guimenu>顯示</guimenu><guimenuitem>已分配空間</guimenuitem></menuchoice> .</para>
    
    <warning><para><application>Disk Usage Analyzer</application> will not count the /proc dir, nor
    any file size that is not related to a "plain" file, so symlinks, character blocks,
    device blocks will not be part of the directory size.</para></warning>
   
    <para>硬連結 (hard-links) 以不同的方式來管理：第一個硬連結以普通的檔案來計算，而其指向相同 inode device 的子連結們則不列入總合的計算內，但是它們所佔的空間還是會在視窗右手邊的欄位中標示出來。</para>
        </sect2>
	
	<sect2 id="baobab-folderscan">
      <title>單一資料夾的掃描</title>

    <para>想要啟動單一資料夾的掃描，請在選單列中選擇 <menuchoice><guimenu>分析器</guimenu><guimenuitem>掃描資料夾...</guimenuitem></menuchoice>，或是在工具列中按下 <guibutton>掃描資料夾</guibutton> 按鈕。</para>

	</sect2>

	<sect2 id="baobab-remotescan">
      <title>遠端掃描</title>
      
      <para>如果你需要掃描遠端的伺服器資料夾，只要在工具列上點擊 <guibutton>掃描遠端資料夾</guibutton> 或是在選單列上選擇 <menuchoice><guimenu>分析器</guimenu><guimenuitem>掃描遠端資料夾...</guimenuitem></menuchoice> 然後你將會看見以下的對話盒。 <application>磁碟用量分析器</application> 能夠藉由 ssh、ftp、smb、http、https 連線到伺服器。</para>
 
     <!-- ==== Figure ==== -->
      <figure id="baobab-remote-fig"> 
        <title>磁碟用量分析器之遠端資料夾的掃描</title> 
		<screenshot> 
	 	 <mediaobject> 
	  	  <imageobject>
	   	 <imagedata fileref="figures/baobab_remote.png" format="PNG"/> 
	   	 </imageobject>
	   	 <textobject> 
	    	  <phrase>展現磁碟用量分析器之遠端資料夾對話盒視窗</phrase> 
	   	 </textobject> 
	 	 </mediaobject> 
		</screenshot> 
      </figure>
    <!-- ==== End of Figure ==== -->
   
	</sect2> 

  </sect1>


<!-- ============= Preferences =============================== -->
  <sect1 id="baobab-preferences">
    <title>偏好設定</title>
    
    <para>想要改變 <application>磁碟用量分析器</application> 應用程式的偏好設定，請選擇 <menuchoice><guimenu>修改</guimenu><guimenuitem>偏好設定</guimenuitem></menuchoice>。</para>
 
   <!-- ==== Figure ==== -->
      <figure id="baobab-preferences-fig"> 
      	<title>磁碟用量分析器之偏好設定視窗</title> 
	<screenshot> 
	  <mediaobject> 
	    <imageobject>
	    <imagedata fileref="figures/baobab_prefs.png" format="PNG"/> 
	    </imageobject>
	    <textobject> 
	      <phrase>偏好設定視窗</phrase> 
	    </textobject> 
	  </mediaobject> 
	</screenshot> 
      </figure>
    <!-- ==== End of Figure ==== -->
  
  <sect2 id="baobab-scan-preferences">
      <title>選擇系統掃描時包括的裝置</title>
  <para>在偏好設定視窗的第一個部分中列出了所有已掛載的裝置。點擊核選方塊來加入或排除需要被掃描的分割區。</para>
  <note><para>掛載於 "/" 的裝置無法被排除於掃描之外。</para></note>
  </sect2>
 
   <sect2 id="baobab-monitor-preferences">
      <title>監視個人資料夾的更改</title>
      <para>如果這個選項被勾選的話， <application>磁碟用量分析器</application> 每隔一段時間將會監視家目錄任何的外部變化，如果發現有新增或是移除的檔案，就會警告使用者。</para>  
   </sect2>  
	</sect1>
<!-- ================ Treemaps ================================ -->

  <sect1 id="baobab-treemaps"> 
  <title>樹狀圖</title>

    <para><guilabel>樹狀圖</guilabel> 的概念在 90 年代就已經被 Ben Shneiderman 發展出來了。請閱讀他 <ulink type="http" url="http://www.cs.umd.edu/hcil/treemap-history/index.shtml">在樹狀圖的觀點</ulink>.</para>
    
       <!-- ==== Figure ==== -->
      <figure id="baobab-treemap-fig"> 
        <title>磁碟用量分析器之樹狀圖視窗</title>
	<screenshot> 
	  <mediaobject> 
	    <imageobject>
	    <imagedata fileref="figures/baobab_treemaps.png" format="PNG"/> 
	    </imageobject>
	    <textobject> 
	      <phrase>樹狀圖的理論。展現兩張樹狀圖的圖案。</phrase> 
	    </textobject> 
	  </mediaobject> 
	</screenshot> 
      </figure>
    <!-- ==== End of Figure ==== -->
  
    
    <para>上圖展現了一個樹狀圖理論的例子。每個節點（就像是展現在樹狀圖案的那樣）有一個名字（一個字母）和一個關聯的大小（一個數字）。一個樹葉的大小也許可以表示一個檔案的大小，而其他非樹葉的大小就是孩子們的大小總合。</para> 
    
    <para>樹狀圖是從一開始的矩形藉由遞迴的子分割所建立出來的。每個子矩形的大小對應於每個節點的大小。子分割的方向會不斷地改變：第一次是水平的，然後是垂直的，以此類推。結果，一開始的矩形會被分割成許多小塊小塊的矩形，而這些矩形的大小正好反應着樹葉的大小。這棵樹的結構也反應着樹狀圖，這正是它建立之後的結果。顏色和註解可以用來提供樹葉一些額外的資訊。</para>

	<note><para>顯示大小是最重要的功能時，樹狀圖是非常有效的。</para></note>
  </sect1>
  <!-- ================ Ringschart ================================ -->

  <sect1 id="baobab-ringschart"> 
  <title>Ringschart</title>

    <para><guilabel>Ringschart</guilabel> is a graphical
      representation of the disk usage by a concrete folder. When
      launching the application, it is notified the usage of
      the file system as it can be seen in the next figure:</para>

    <!-- ==== Figure ==== -->
    <figure id="baobab-filesystem_scan"> 
      <title>Disk Usage Analyzer showing a ringschart with the file system usage</title>
      <screenshot> 
	<mediaobject> 
	  <imageobject>
	    <imagedata fileref="figures/baobab_ringschart1.png" format="PNG"/> 
	  </imageobject>
	  <textobject> 
	    <phrase>After launching the application, it is showed the
	    file system usage. Graphical representation on the right. </phrase> 
	  </textobject> 
	</mediaobject> 
      </screenshot> 
    </figure>
    <!-- ==== End of Figure ==== -->

    <para>When you start scanning a folder, the tree of subfolders is
      created and listed on the left side. Each row contains
      information for the name, how much space it is taking up
      (percentage and size in KB, MB or GB) and the number of items
      (adding files and directories). When this process ends up,
      the <guilabel>Ringschart</guilabel> is drawn on the right
      side. If you stop it before it has been completed, only a
      partial representation is done based on the directories whose
      usage was computed.</para>


    <!-- ==== Figure ==== -->
    <figure id="baobab-folder_scan"> 
      <title>Disk Usage Analyzer showing a ringschart with the usage of a folder</title>
      <screenshot> 
	<mediaobject> 
	  <imageobject>
	    <imagedata fileref="figures/baobab_ringschart2.png" format="PNG"/> 
	  </imageobject>
	  <textobject> 
	    <phrase>After scanning a folder. </phrase> 
	  </textobject> 
	</mediaobject> 
      </screenshot> 
    </figure>
    <!-- ==== End of Figure ==== -->
    
    <para>The <guilabel>Ringschart</guilabel> is composed of a set of 
      nested rings around a central circle. This circle symbolizes the
      root folder of the partial tree (that is, the folder that the 
      user has selected for scanning). Each ring represents a level in
      the partial tree, so i.e. the subfolders of the root folder will 
      be represented in the first ring, and deeper levels in the tree 
      correspond to outer rings in the chart. Each subfolder is 
      represented by a sector of the ring, its angle being proportional 
      to the size of the folder's contents, and painted with a different
      color to ease visualization. Up to five levels can be drawn; in 
      case that a folder in that last fifth level contains even more 
      subfolders, this situation will be pointed by the presence of a 
      black curve close to the edge of that folder's ring sector. When a
      folder with no further subfolders is selected to be the root of 
      the partial tree, only the inner circle will be drawn. When the 
      mouse pointer hovers one of the folders in the graphic, it will be
      highlighted and a tooltip will appears with information about its 
      name and size. If there are any subfolders, small grey tooltips 
      will appear, indicating their names. It's possible that not all of
      the subfolders' names are displayed, to avoid overlappings.</para>

    <para>You can go up and down the rows in the list (optionally 
      expanding those with subfolders), the graphic representation will 
      change using the selected folder as the root of the partial tree 
      to be represented. The folders can also be navigated from the 
      <guilabel>ringschart</guilabel> itself. If you click with the left
      button of your mouse inside a folder, you'll move deeper by 
      setting the root of the graphic to that folder. If you press the 
      middle button (no matter the place as long as you click inside the 
      <guilabel>ringschart</guilabel> frame) you'll get the opposite 
      behaviour, going back one step in the hierarchy.</para>

    <para>The percentage of its parent's radius that is used by a given
      folder is directly proportional to the relation between it's own
      size and its parent's. It's easy to understand that the size of 
      a folder is equal or smaller than its parent's. Although only 
      directories are shown in this graphical representation, files are 
      taken into account to calculate the amount of space occupied by 
      folders.</para>
  </sect1>
</article>
