mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2026-03-03 19:47:13 +08:00
语法高亮,滚动条美化,设置页面调整
This commit is contained in:
@@ -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或--all:mkisofs通常不处理备份文件。使用此参数可以把备份文件加到映像文件中;
|
||||
<pre><code class="language-bash">-a或--all:mkisofs通常不处理备份文件。使用此参数可以把备份文件加到映像文件中;
|
||||
-A<应用程序id>或-appid<应用程序ID>:指定光盘的应用程序ID;
|
||||
-abstract<摘要文件>:指定摘要文件的文件名;
|
||||
-b<开机映像文件>或-eltorito-boot<开机映像文件>:指定在制作可开机光盘时所需的开机映像文件;
|
||||
@@ -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/&sktop/rhel4.0/&</code></pre>
|
||||
<pre><code class="language-bash">cp -a /mnt/NFS/* /root/Decp -a /mnt/nfs/* /root/Desktop/rhel4.0/&sktop/rhel4.0/&</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/ -->
|
||||
|
||||
Reference in New Issue
Block a user