uTools-Manuals/docs/linux/convertquota.html
2019-04-21 11:50:48 +08:00

18 lines
1.2 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<h1 id="convertquota">convertquota</h1>
<p>把老的配额文件转换为新的格式</p>
<h2 id="补充说明">补充说明</h2>
<p><strong>convertquota命令</strong> 用于将老的磁盘额数据文件“quota.user”和“quota.group”转换为新格式的文件“quota.user”和“quota.group”</p>
<h3 id="语法">语法</h3>
<pre><code class="language-bash">convertquota(选项)(参数)</code></pre>
<h3 id="选项">选项</h3>
<pre><code class="language-bash">-u仅转换用户磁盘配额数据文件
-g仅转换组磁盘配额数据文件
-f将老的磁盘配额文件转换为新的格式
-e将新的文件格式从大字节序换为小字节序。</code></pre>
<h3 id="参数">参数</h3>
<p>文件系统:指定要转换磁盘配额数据文件格式的文件系统(硬盘分区)。</p>
<h3 id="实例">实例</h3>
<p>使用convertquota指令转换指定文件系统<code>/data</code>的磁盘配额数据文件。在命令行中输入下面的命令:</p>
<pre><code class="language-bash">convertquota -u /data //转换文件系统&quot;/data&quot;上的用户磁盘配额文件</code></pre>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->