Linux mkisofs Command
The Linux mkisofs command is used to create ISO 9660 image files.
mkisofs can convert specified directories and files into an ISO 9660 format image file for burning to disc.
Syntax
mkisofs [-adDfhJlLNrRTvz][-print-size][-quiet][-A <应用程序ID>][-abstract <摘要文件>][-b <开机映像文件>][-biblio <ISBN文件>][-c <开机文件名称>][-C <盘区编号,磁区编号>][-copyright <版权信息文件>][-hide <目录或文件名>][-hide-joliet <文件或目录名>][-log-file <记录文件>][-m <目录或文件名>][-M <开机映像文件>][-o <映像文件>][-p <数据处理人>][-P <光盘发行人>][-sysid <系统ID >][-V <光盘ID >][-volset <卷册集ID>][-volset-size <光盘总数>][-volset-seqno <卷册序号>][-x <目录>][目录或文件]
Parameters:
- -a or --all mkisofs normally does not process backup files. Use this parameter to add backup files to the image file.
- -A<application ID> or -appid<application ID> Specify the application ID of the disc.
- -abstract<abstract file> Specify the file name of the abstract file.
- -b<boot image file> or -eltorito-boot<boot image file> Specify the boot image file required when creating a bootable disc.
- -biblio<ISBN file> Specify the file name of the ISBN file. The ISBN file is located in the root directory of the disc and records the disc's ISBN.
- -c<boot file name> When creating a bootable disc, mkisofs will make the entire contents of the boot image file into one file, -eltorito-catalog<boot file name>.
- -C<sector number, sector number> This parameter must be used when combining many sessions into one image file.
- -copyright<copyright information file> Specify the file name of the copyright information file.
- -d or -omit-period Omit the period after file names.
- -D or -disable-deep-relocation ISO 9660 can only handle up to 8 levels of directories. Parts exceeding 8 levels are automatically set by RRIP to an ISO 9660 compatible format. Using the -D parameter disables this feature.
- -f or -follow-links Ignore symbolic links.
- -h Display help.
- -hide<directory or file name> Hide the specified directory or file in systems using ISO 9660 or Rock Ridge Extensions.
- -hide-joliet<directory or file name> Hide the specified directory or file in Joliet systems.
- -J or -joliet Use Joliet format directory and file names.
- -l or -full-iso9660-filenames Use 32-character ISO 9660 file names.
- -L or -allow-leading-dots Allow the first character of a file name to be a period.
- -log-file<record file> If there are error messages during execution, they are displayed on the screen by default.
- -m<directory or file name> or -exclude<directory or file name> The specified directory or file name will not be included in the image file.
- -M<image file> or -prev-session<image file> Merge with the specified image file.
- -N or -omit-version-number Omit version information in ISO 9660 files.
- -o<image file> or -output<image file> Specify the name of the image file.
- -p<data processor> or -preparer<data processor> Record the data processor of the disc.
- -print-size Display the estimated file system size.
- -quiet Do not display any information during execution.
- -r or -rational-rock Use Rock Ridge Extensions and grant read permission to all files.
- -R or -rock Use Rock Ridge Extensions.
- -sysid<system ID> Specify the system ID of the disc.
- -T or -translation-table Create a translation table for file names, suitable for systems that do not support Rock Ridge Extensions.
- -v or -verbose Display detailed information during execution.
- -V<disc ID> or -volid<disc ID> Specify the volume set ID of the disc.
- -volset-size<total number of discs> Specify the number of discs contained in the volume set.
- -volset-seqno<volume sequence number> Specify the number of the disc in the volume set.
- -x<directory> The specified directory will not be put into the image file.
- -z Create SUSP records for transparently compressed files. This record is currently only valid on Linux on Alpha machines.
Linux Command Reference