Linux mkisofs Command
The Linux mkisofs command is used to create ISO 9660 image files.
mkisofs can create ISO 9660 formatted image files from specified directories and files for burning to optical discs.
Syntax
mkisofs [-adDfhJlLNrRTvz][-print-size][-quiet][-A <application ID>][-abstract <abstract file>][-b <boot image file>][-biblio <ISBN file>][-c <boot file name>][-C <sector number, sector number>][-copyright <copyright file>][-hide <directory or file name>][-hide-joliet <file or directory name>][-log-file <log file>][-m <directory or file name>][-M <boot image file>][-o <image file>][-p <data preparer>][-P <disc publisher>][-sysid <system ID>][-V <disc ID>][-volset <volume set ID>][-volset-size <total discs>][-volset-seqno <volume sequence number>][-x <directory>][directory or file]
Parameters:
-a or --all mkisofs usually does not process backup files. This parameter allows adding backup files to the image file.
-A <application ID> or -appid <application ID> Specifies the application ID of the disc.
-abstract <abstract file> Specifies the file name of the abstract file.
-b <boot image file> or -eltorito-boot <boot image file> Specifies the boot image file required for creating bootable discs.
-biblio <ISBN file> Specifies the file name of the ISBN file, which 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 create a file from the entire contents of the -eltorito-catalog <boot file name> in the boot image file.
-C <sector number, sector number> This parameter must be used when combining multiple sections into one image file.
-copyright <copyright file> Specifies the file name of the copyright file.
-d or -omit-period Omits the period after the file name.
-D or -disable-deep-relocation ISO 9660 can only handle up to 8 levels of directories. The -D parameter disables this functionality.
-f or -follow-links Ignores symbolic links.
-h Displays help.
-hide <directory or file name> Hides the specified directory or file in ISO 9660 or Rock Ridge Extensions systems.
-hide-joliet <directory or file name> Hides the specified directory or file in the Joliet system.
-J or -joliet Uses Joliet format for directory and file names.
-l or -full-iso9660-filenames Uses ISO 9660 32-character long file names.
-L or -allow-leading-dots Allows the first character of the file name to be a period.
-log-file <log file> If there are any 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> Merges with the specified image file.
-N or -omit-version-number Omits version information in the ISO 9660 file.
-o <image file> or -output <image file> Specifies the name of the image file.
-p <data preparer> or -preparer <data preparer> Records the data preparer of the disc.
-print-size Displays the estimated file system size.
-quiet Executes without displaying any information.
-r or -rational-rock Uses Rock Ridge Extensions and grants read permissions to all files.
-R or -rock Uses Rock Ridge Extensions.
-sysid <system ID> Specifies the system ID of the disc.
-T or -translation-table Creates a translation table for file names, suitable for systems that do not support Rock Ridge Extensions.
-v or -verbose Executes with detailed information displayed.
-V <disc ID> or -volid <disc ID> Specifies the volume set ID of the disc.
-volset-size <total discs> Specifies the number of discs included in the volume set.
-volset-seqno <volume sequence number> Specifies the sequence number of the disc in the volume set.
-x<directory> The specified directory will not be included in the image file.
-z Creates a SUSP record for a transparently compressed file, which is currently only valid on Linux on Alpha machines.