C114首页 | 新闻 技术 市场 会展 黄页 人物 | 3G NGN VoIP IPTV WiMax FTTH |          通信人家园 | 通信人博客 | 通信商情网 | 通信人才网 | English
近期导读

·国内3G手机导购小议

·中移动巨资扩容GSM分析

·中国联通与中国电信结盟

  技术 - 学院 - 网络基础 - 正文
如何在Linux操作系统下创建ISO镜像文件
 
( 2008/3/11 10:34 )
本文关键字: ISO7

1、用dd命令

#dd if=/dev/cdrom of=/***/目的文件.iso
  上面的命令是在将光盘作成iso文件

2、用mkisofs 命令

#mkisofs -r -J -V 卷标名 -o 目的文件.iso 源文件
  上面的命令是将 “源文件” 文件及目录作成 “目的文件.iso”。

例子 :
  # mkisofs -r -J -V widebright -o widebright.iso /widebright

在linux系统上建了一个iso文件,然后放到windows xp上,结果winrar能够正确解压,使用DAEMON Tools 作为虚拟光盘加载之后,也很正常。


NAME
mkisofs - create an hybrid ISO9660/JOLIET/HFS filesystem
with optional Rock Ridge attributes.

SYNOPSIS
mkisofs [ options ] [ -o filename ] pathspec [pathspec...]

注:
-J Generate Joliet directory records in addition to regular iso9660 file names.
主要是为了兼容windows系统。
卷标名——指所做成iso文件后插入虚拟光盘时所显示的名字。

-R Generate SUSP and RR records using the Rock Ridge
protocol to further describe the files on the iso9660 filesystem.

-r This is like the -R option, but file ownership and
modes are set to more useful values.The uid and
gid are set to zero, because they are usually only
useful on the author's system, and not useful to
the client.All the file read bits are set true,
so that files and directories are globally readable
on the client.If any execute bit is set for a
file, set all of the execute bits, so that executa­
bles are globally executable on the client. If any
search bit is set for a directory, set all of the
search bits, so that directories are globally
searchable on the client.All write bits are
cleared, because the CD-Rom will be mounted read-
only in any case.If any of the special mode bits
are set, clear them, because file locks are not
useful on a read-only file system, and set-id bits
are not desirable for uid 0 or gid 0. When used on
Win32, the execute bit is set on all files. This is
a result of the lack of file permissions on Win32
and the Cygwin POSIX emulation layer.See also
-uid -gid, -dir-mode, -file-mode and -new-dir-mode.


  更多的选项可以用 man mkisofs 查看。

作者:sixth   来源:赛迪网
  你是通信人才吗? C114通信人才网
  是通信人才就要上专业通信人才网! 专业、高效、低成本、资源广!
  助你迅速找到满意工作! 拥有中国最全的通信行业人才数据库资源。
C114-AdKey 行业广告系统 
C114 提醒您:1.尊重网上道德,遵守国家的各项法律法规;2.承担一切因为您的行为而导致的相关法律责任;

3.新闻留言板管理人员有权删减留言中的内容;4.您在留言板发表的作品,C114有权站内转载。

[参与本留言即表明您已经阅读并接受上述条款]

 
Copyright©1999-2008 c114 All Right Reserved
上海荧通网络信息技术有限公司版权所有
南方广告业务部: 021-54451141,54451142 E-mail:c114@c114.net
北方广告业务部: 010-63533177,63533977 E-mail:shi@c114.net.cn
编辑部联系:021-54451141,54451142 E-mail:editor@c114.net.cn
服务热线:021-54451141,54451142