语法高亮,滚动条美化,设置页面调整

This commit is contained in:
fofolee
2019-04-19 02:41:09 +08:00
parent 1e8f76c000
commit 359d29ee0b
1590 changed files with 12328 additions and 11441 deletions

View File

@@ -3,12 +3,12 @@
<h2 id="补充说明">补充说明</h2>
<p>在Linux下可以使用 <strong>blkid命令</strong> 对查询设备上所采用文件系统类型进行查询。blkid主要用来对系统的块设备包括交换分区所使用的文件系统类型、LABEL、UUID等信息进行查询。要使用这个命令必须安装e2fsprogs软件包。</p>
<h3 id="语法">语法</h3>
<pre><code>blkid -L | -U
<pre><code class="language-bash">blkid -L | -U
blkid [-c ] [-ghlLv] [-o] [-s ][-t ] -[w ] [ ...]
blkid -p [-s ] [-O ] [-S ][-o] ...
blkid -i [-s ] [-o] ...</code></pre>
<h3 id="选项">选项</h3>
<pre><code>-c &lt;file&gt; 指定cache文件(default: /etc/blkid.tab, /dev/null = none)
<pre><code class="language-bash">-c &lt;file&gt; 指定cache文件(default: /etc/blkid.tab, /dev/null = none)
-d don&#39;t encode non-printing characters
-h 显示帮助信息
-g garbage collect the blkid cache
@@ -31,19 +31,19 @@ Low-level probing options:
-n &lt;list&gt; filter by filesystem type (e.g. -n vfat,ext3)</code></pre>
<h3 id="实例">实例</h3>
<p>1、列出当前系统中所有已挂载文件系统的类型</p>
<pre><code>sudo blkid</code></pre>
<pre><code class="language-bash">sudo blkid</code></pre>
<p>2、显示指定设备 UUID</p>
<pre><code>sudo blkid -s UUID /dev/sda5</code></pre>
<pre><code class="language-bash">sudo blkid -s UUID /dev/sda5</code></pre>
<p>3、显示所有设备 UUID</p>
<pre><code>sudo blkid -s UUID</code></pre>
<pre><code class="language-bash">sudo blkid -s UUID</code></pre>
<p>4、显示指定设备 LABEL</p>
<pre><code>sudo blkid -s LABEL /dev/sda5</code></pre>
<pre><code class="language-bash">sudo blkid -s LABEL /dev/sda5</code></pre>
<p>5、显示所有设备 LABEL</p>
<pre><code>sudo blkid -s LABEL</code></pre>
<pre><code class="language-bash">sudo blkid -s LABEL</code></pre>
<p>6、显示所有设备文件系统</p>
<pre><code>sudo blkid -s TYPE</code></pre>
<pre><code class="language-bash">sudo blkid -s TYPE</code></pre>
<p>7、显示所有设备</p>
<pre><code>sudo blkid -o device</code></pre>
<pre><code class="language-bash">sudo blkid -o device</code></pre>
<p>8、以列表方式查看详细信息</p>
<pre><code>sudo blkid -o list</code></pre>
<pre><code class="language-bash">sudo blkid -o list</code></pre>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->