浅析linux下如何制作iso文件,向iso追加内容,以及多目录制作和2个iso合并
2010-12-04 20:35
369 查看
浅析linux下如何制作iso文件,向iso追加内容,以及多目录制作和2个iso合并
以下是将2个目录gliethttp_dir和luther_dir中的内容合并到gliethttp.iso中,
如果是2个iso可以先将他们分别mount到2个目录,然后使用如下2个目录制作的方法即可完成合并2个iso的工作.
luther@gliethttp:~$ mkisofs -jcharset utf8 -o gliethttp.iso gliethttp_dir/ luther_dir/
luther@gliethttp:~$ sudo mount gliethttp.iso /mnt -o loop,iocharset=utf8
如何向一个已经存在的iso追加文件呢,当然也是基于上面的理论,
首先将被追加的gliethttp.iso挂载到一个目录,比如/mnt,然后我们要向gliethttp.iso的
目录gliethttp/test/release目录下追加一个文本readme.txt,和根目录下追家一个123test.c文件,
于是,我们建立一个文件夹
luther@gliethttp:~$ mkdir -p gliethttp_append/test/release
luther@gliethttp:~$ cp readme.txt gliethttp_append/test/release
luther@gliethttp:~$ mkisofs -jcharset utf8 -o gliethttp_new.iso /mnt/ gliethttp_append/ 123test.c
用来镜像cdrom光盘
dd if=/dev/cdrom of=cd.iso
以下是将2个目录gliethttp_dir和luther_dir中的内容合并到gliethttp.iso中,
如果是2个iso可以先将他们分别mount到2个目录,然后使用如下2个目录制作的方法即可完成合并2个iso的工作.
luther@gliethttp:~$ mkisofs -jcharset utf8 -o gliethttp.iso gliethttp_dir/ luther_dir/
luther@gliethttp:~$ sudo mount gliethttp.iso /mnt -o loop,iocharset=utf8
如何向一个已经存在的iso追加文件呢,当然也是基于上面的理论,
首先将被追加的gliethttp.iso挂载到一个目录,比如/mnt,然后我们要向gliethttp.iso的
目录gliethttp/test/release目录下追加一个文本readme.txt,和根目录下追家一个123test.c文件,
于是,我们建立一个文件夹
luther@gliethttp:~$ mkdir -p gliethttp_append/test/release
luther@gliethttp:~$ cp readme.txt gliethttp_append/test/release
luther@gliethttp:~$ mkisofs -jcharset utf8 -o gliethttp_new.iso /mnt/ gliethttp_append/ 123test.c
用来镜像cdrom光盘
dd if=/dev/cdrom of=cd.iso
cheap<a href="http://www.my-cheapshoes.com/nike-air-max-2010-c-78.html">nike air max 2010</a> discount<a href="http://www.my-cheapshoes.com/mbt-chapa-shoe-womens-mbt-chapa-shoe-c-65_67.html">Womens MBT Chapa Shoe</a> <a href="http://www.my-cheapshoes.com/mbt-lami-shoe-c-74.html">MBT Lami Shoe</a> <a href="http://www.my-cheapshoes.com/kobe-shoes-c-79.html">kobe shoes</a> <a href="http://www.my-cheapshoes.com/">mbt lami shoes</a> <a href="http://www.my-cheapshoes.com/">mbt lami shoe</a> <a href="http://www.my-cheapshoes.com/">MBT Shoes</a> <a href="http://www.my-cheapshoes.com/">cheap mbt shoe</a> <a href="http://www.my-cheapshoes.com/">MBT Sport</a> <a href="http://www.my-cheapshoes.com/mbt-lami-shoe-c-74.html">MBT Lami</a> <a href="http://www.my-cheapshoes.com/nike-air-max-2010-c-78.html">air max 2010</a> cheap <a href="http://www.my-cheapshoes.com/">MBT Shoes</a> , welcome to buy! cheap<a href="http://www.b2cmbtshoes.com/mbt-lami-shoes-c-1.html">MBT Lami Shoes</a> cheap<a href="http://www.b2cmbtshoes.com/mbt-mwalk-shoes-c-3.html">MBT M.Walk Shoes</a> discount<a href="http://www.b2cmbtshoes.com/mbt-sport-shoes-c-4.html">MBT Sport Shoes</a> disocunt<a href="http://www.b2cmbtshoes.com/mbt-tataga-shoes-c-6.html">MBT Tataga Shoes</a> discount<a href="http://www.b2cmbtshoes.com/mens-mbt-chapa-c-7.html">Mens MBT Chapa</a> cheap<a href="http://www.b2cmbtshoes.com/mens-mbt-mwalk-c-8.html">Mens MBT M.Walk</a> discount<a href="http://www.b2cmbtshoes.com/mens-mbt-tembea-c-5.html">Mens MBT Tembea</a>.MBT is a fitness shoes, since the wearing <a href="http://www.my-cheapshoes.com/">MBT Shoes</a>, my cervical spondylosis has been corrected, <a href="http://www.my-cheapshoes.com/mbt-mwalk-shoes-c-68.html">MBT M.Walk shoes</a> to help adjust the posture, but also to help me lose weight. So, I have always MBT shoes have a unique feel. So far I already have a variety of MBT shoes, such as <a href="http://www.my-cheapshoes.com/mbt-chapa-shoe-mens-mbt-chapa-shoe-c-65_66.html">Mens Mbt Chapa shoe</a>, <a href="http://www.my-cheapshoes.com/mbt-lami-shoe-c-74.html">MBT Lami Shoe</a>, <a href="http://www.my-cheapshoes.com/mbt-chapa-shoe-womens-mbt-chapa-shoe-c-65_67.html">Womens MBT Chapa Shoe</a>, <a href="http://www.my-cheapshoes.com/mbt-mwalk-shoes-mens-mbt-mwalk-shoes-c-68_69.html">Mens MBT M.Walk shoes </a> are all the series I always wear.<a href="http://www.my-cheapshoes.com/mbt-lami-shoe-c-74.html">MBT Lami Shoe</a> is popular with the people all over the world. MBT's pursuit of beauty in order to satisfy customers, design a variety of styles, such as <a href="http://www.my-cheapshoes.com/mbt-chapa-shoe-c-65.html">Mbt Chapa shoe</a>, <a href="http://www.my-cheapshoes.com/mbt-lami-shoe-c-74.html">MBT Lami Shoe</a> customers are welcomed by the family. Buy a pair of <a href="http://www.my-cheapshoes.com/mbt-chapa-shoe-mens-mbt-chapa-shoe-c-65_66.html">Mens Mbt Chapa shoe</a>, <a href="http://www.my-cheapshoes.com/mbt-mwalk-shoes-mens-mbt-mwalk-shoes-c-68_69.html">Mens MBT M.Walk shoes </a> can help your health, lose weight! <a href="http://www.my-cheapshoes.com/">MBT Shoes</a> cheap<a href="http://www.my-cheapshoes.com/mbt-lami-shoe-c-74.html">MBT Lami Shoe</a> <a href="http://www.my-cheapshoes.com/">Discount MBT</a> good<a href="http://www.my-cheapshoes.com/">MBT Sport</a> cheap<a href="http://www.my-cheapshoes.com/">MBT Shoe</a> good<a href="http://www.my-cheapshoes.com/mbt-chapa-shoe-c-65.html">Mbt Chapa</a> cheap<a href="http://www.my-cheapshoes.com/>kobe v shoes</a> discount<a href="http://www.my-cheapshoes.com/>kobe zoom v</a> cheap<a href="http://www.my-cheapshoes.com/kobe-shoes-c-79.html">kobe shoes</a> discount<a href="http://www.my-cheapshoes.com/>nike air max shoes</a> cheap<a href="http://www.my-cheapshoes.com/>nike air max</a> <a href="http://www.my-cheapshoes.com/>air max</a> <a href="http://www.my-cheapshoes.com/nike-air-max-2010-c-78.html">nike air max 2010</a> <a href="http://www.my-cheapshoes.com/mbt-lami-shoe-c-74.html">MBT Lami</a> <a href="http://www.my-cheapshoes.com/mbt-mwalk-shoes-c-68.html">MBT M.Walk</a> <a href="http://www.my-cheapshoes.com/mbt-soprt-shoes-c-71.html">MBT Soprt</a> <a href="http://www.my-cheapshoes.com/mbt-tembea-shoe-c-76.html">Mbt Tembea Shoe</a> <a href="http://www.my-cheapshoes.com/mbt-tataga-shoe-c-77.html">Mbt Tataga Shoe</a> <a href="http://www.b2cmbtshoes.com/mbt-chapa-shoes-c-2.html">MBT Chapa Shoes</a>
文章出处:http://blog.chinaunix.net/u1/38994/
相关文章推荐
- linux 中 如何 搜索 指定目录 下 指定文件 的 指定内容
- 浅析linux 2.6.23下kobject如何生成sysfs目录文件
- 给Revit插件制作安装盘时,如何获取Revit的存放加载文件*.addin的目录
- linux下如何统计一个目录下的文件个数以及代码总行数的命令
- gettext制作多语言程序之如何确定mo文件的目录名(简体繁体中文、英文、西班牙语言、俄语)
- 您还差宝贝一张语文教学光盘!教你如何制作ISO文件
- linux find下如何统计一个目录下的文件个数以及代码总行数的命令
- 在LINUX中如何把2个文件中的内容合到另一个文件中
- 如何MyEclipse中显示WEB-INF文件夹下的classes目录以及目录中的class文件
- 在linux中如何把2个文件中的内容合到另一个文件中去?
- 如何MyEclipse中显示WEB-INF文件夹下的classes目录以及目录中的class文件
- 如何用UltraISO制作ISO文件?
- 如何读取一个文件夹下的所有图像文件,并制作负样本到指定目录
- 制作FAT12软盘以查看软盘的根目录条目+文件属性+文件内容
- linux下如何统计一个目录下的文件个数以及代码总行数的命令
- 如何改变maven项目的pom文件中默认的主代码目录 以及默认的测试代码目录?
- 采用多线程和生产者消费者模式来实现对于一个目录以及所有子目录下的文件内容的搜索,打印出包含指定关键字的行.
- 制作FAT12软盘以查看软盘的根目录条目+文件属性+文件内容
- 如何统计一个目录下的文件个数以及代码总行数的命令
- Python的文件输入输出,如何追加内容,读取内容,添加内容