mkisofs指令简介

| | Comments (0)

mkisofs是Unix系统中常用来制作ISO映像档的工具,搭配之前介绍的cdrecord便可以方便的将自己想要备份的东西烧录出来,是个不可不知道的小技巧。

虽然mkisofs的manpage和cdrecord一样"落落长",但是常用的选项也只有那几个,现在示范几个mkisofs的语法:

mkisofs -o image_name.iso /home/willie
将/home/willie这个目录制作成image_name.iso映像档。

mkisofs -o ha.iso -r /
将/这个目录制作成ha.iso映像档,并指定为Rock Ridge格式。
使用Rock Ridge格式,可以保存档案相关的权限。

mkisofs -J -r /tmp | cdrecord speed=4 -v -data -
这个范例就比较炫了,除了加上-J选项使用Joliet格式外(可使用unicode储存中文档名),并直接丢给cdrecord作on the fly烧录,省了制作映像档的步骤。

常用的选项大概就这几个,日后有空再来补充多段烧录的语法。

Leave a comment

About this Entry

This page contains a single entry by CcChen published on November 9, 2005 9:28 AM.

别让欺骗我们的善心 was the previous entry in this blog.

check it out is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Google Ads