Linux mkisofs command
The Linux mkisofs command is used to create ISO 9660 image files.
mkisofs can make the 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 ][-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 usually does not process backup files. Use this parameter to add backup files to the image file.
- -A
or -appid Specify the application ID of the disc. - -abstract
Specify the file name of the abstract file. - -b
or -eltorito-boot Specify the boot image file needed when creating a bootable disc. - -biblio
Specify the file name of the ISBN file, which is located in the root directory of the disc and records the ISBN of the disc. - -c
When creating a bootable disc, mkisofs will make all the content in the boot image file -eltorito-catalog into a single file. - -C
This parameter must be used when combining many sessions into one image file. - -copyright
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 handle at most 8 levels of directories; for levels beyond 8, RRIP automatically converts them into an ISO 9660 compatible format. Use the -D parameter to disable this feature.
- -f or -follow-links Ignore symbolic links.
- -h Display help.
- -hide
Hide the specified directory or file on systems using ISO 9660 or Rock Ridge Extensions. - -hide-joliet
Hide the specified directory or file on Joliet systems. - -J or -joliet Use Joliet format directory and file names.
- -l or -full-iso9660-filenames Use ISO 9660 file names up to 32 characters long.
- -L or -allow-leading-dots Allow the first character of a file name to be a period.
- -log-file
If error messages occur during execution, they are displayed on the screen by default. - -m
or -exclude The specified directory or file will not be placed in the image file. - -M
or -prev-session Merge with the specified image file. - -N or -omit-version-number Omit version information in ISO 9660 files.
- -o
or -output Specify the name of the image file. - -p or -preparer Record the data preparer 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 on all files.
- -R or -rock Use Rock Ridge Extensions.
- -sysid
Specify the system ID of the disc. - -T or -translation-table Create a file name translation table, for systems that do not support Rock Ridge Extensions.
- -v or -verbose Display detailed information during execution.
- -V
or -volid Specify the volume set ID of the disc. - -volset-size
Specify the number of discs contained in the volume set. - -volset-seqno
Specify the number of the disc in the volume set. - -x
The specified directory will not be placed in the image file. - -z Create SUSP records for transparent compressed files; this record is currently only valid on Linux on Alpha machines.
Linux Command Reference