将空白 CD 或 DVD 插入驱动器。
在新 CD 或 DVD 上创建 ISO 9660 文件系统。
$ mkisofs -r /pathname > cd-file-system |
创建 Rock Ridge 信息并将文件拥有权重置为零。
标识用于创建 ISO 9660 文件系统的路径名。
标识要放置在 CD 或 DVD 上的文件系统的名称。
将文件系统复制到 CD 或 DVD 上。
$ cdrw -i cd-file-system |
-i cd-file-system 指定用于创建数据 CD 或 DVD 的映像文件。
以下示例说明如何为数据 CD 或 DVD 创建 ISO 9660 文件系统。
$ mkisofs -r /home/dubs/ufs_dir > ufs_cd Total extents actually written = 56 Total translation table size: 0 Total rockridge attributes bytes: 329 Total directory bytes: 0 Path table size(bytes): 10 Max brk space used 8000 56 extents written (0 Mb) |
然后,将文件系统复制到 CD 或 DVD 上。
$ cdrw -i ufs_cd Initializing device...done. Writing track 1...done. Finalizing (Can take several minutes)...done. |