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

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,9 +3,9 @@
<h2 id="补充说明">补充说明</h2>
<p><strong>mkisofs命令</strong> 用来将指定的目录与文件做成ISO 9660格式的映像文件以供刻录光盘。</p>
<h3 id="语法">语法</h3>
<pre><code>mkisofs(选项)(参数)</code></pre>
<pre><code class="language-bash">mkisofs(选项)(参数)</code></pre>
<h3 id="选项">选项</h3>
<pre><code>-a或--allmkisofs通常不处理备份文件。使用此参数可以把备份文件加到映像文件中
<pre><code class="language-bash">-a或--allmkisofs通常不处理备份文件。使用此参数可以把备份文件加到映像文件中
-A&lt;应用程序id&gt;或-appid&lt;应用程序ID&gt;指定光盘的应用程序ID
-abstract&lt;摘要文件&gt;:指定摘要文件的文件名;
-b&lt;开机映像文件&gt;或-eltorito-boot&lt;开机映像文件&gt;:指定在制作可开机光盘时所需的开机映像文件;
@@ -45,15 +45,15 @@
<h3 id="实例">实例</h3>
<p>linux中用mkisofs命令把文件制作成ISO步骤</p>
<p>把NFS服务器上的目录挂载到本地/mnt/nfs/的目录:</p>
<pre><code>mount -t nfs 10.0.2.2:/linuxos/rhel4.0_update3/ /mnt/nfs/</code></pre>
<pre><code class="language-bash">mount -t nfs 10.0.2.2:/linuxos/rhel4.0_update3/ /mnt/nfs/</code></pre>
<p>把已挂载的文件复制到本地:</p>
<pre><code>cp -a /mnt/NFS/* /root/Decp -a /mnt/nfs/* /root/Desktop/rhel4.0/&amp;sktop/rhel4.0/&amp;</code></pre>
<pre><code class="language-bash">cp -a /mnt/NFS/* /root/Decp -a /mnt/nfs/* /root/Desktop/rhel4.0/&amp;sktop/rhel4.0/&amp;</code></pre>
<p>查找boot.cat文件并删除掉</p>
<pre><code>find rhel4.0/ -name boot.cat | xargs rm</code></pre>
<pre><code class="language-bash">find rhel4.0/ -name boot.cat | xargs rm</code></pre>
<p>查找TRANS.TBL文件并删除掉</p>
<pre><code>find rhel4.0/ -name TRANS.TBL -exec rm {} \;</code></pre>
<pre><code class="language-bash">find rhel4.0/ -name TRANS.TBL -exec rm {} \;</code></pre>
<p>复制本地的所需文件到指定目录:</p>
<pre><code>cp /usr/share/comps/i386/.discinfo rhel4.0/</code></pre>
<pre><code class="language-bash">cp /usr/share/comps/i386/.discinfo rhel4.0/</code></pre>
<p>把指定目录下的所有文件制作成ISO文件</p>
<pre><code>mkisofs -R -J -T -v -no-emul-boot -boot-load-size 4 -boot-info-table -V RHEL4ASDVD -b isolinux/isolinux.bin -c isolinux/boot.cat -o /RHEL4AS.iso rhel4.0/</code></pre>
<pre><code class="language-bash">mkisofs -R -J -T -v -no-emul-boot -boot-load-size 4 -boot-info-table -V RHEL4ASDVD -b isolinux/isolinux.bin -c isolinux/boot.cat -o /RHEL4AS.iso rhel4.0/</code></pre>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->