📄 mkisofs.8
字号:
have proprietary command sets which vary from one manufacturer toanother, and you need a specialized tool to actually burn the disk..PPThe.B cdrecordutility is a utility capable of burning an actual disc. The latest versionof.B cdrecordis available fromftp://ftp.fokus.gmd.de/pub/unix/cdrecord.PPAlso you should know that most cd writers are very particular about timing.Once you start to burn a disc, you cannot let their buffer empty before youare done, or you will end up with a corrupt disc. Thus it is criticalthat you be able to maintain an uninterrupted data stream to the writerfor the entire time that the disc is being written..PP.B pathspecis the path of the directory tree to be copied into the iso9660 filesystem.Multiple paths can be specified, and.Bmkisofswill merge the files found in all of the specified path components to form the cdromimage..PPIf the option.I \-graft-pointshas been specified, it is possible to graft the paths at points other than the rootdirectory, and it is possible to graft files or directories onto thecdrom image with names different than what they have in the source filesystem. This iseasiest to illustrate with a couple of examples. Let's start by assuming that a localfile ../old.lis exists, and you wish to include it in the cdrom image. foo/bar/=../old.liswill include the file old.lis in the cdrom image at /foo/bar/old.lis, while foo/bar/xxx=../old.liswill include the file old.lis in the cdrom image at /foo/bar/xxx. Thesame sort of syntax can be used with directories as well..B mkisofswill create any directories required such that the graftpoints exist on the cdrom image - the directories do not need toappear in one of the paths. Any directories that are created on thefly like this will have permissions 0555 and appear to be owned by theperson running mkisofs. If you wish other permissions or owners ofthe intermediate directories, the easiest solution is to create realdirectories in the path such that mkisofs doesn't have to invent them..PP.B mkisofswill also run on Win9X/NT4 machines when compiled with Cygnus' cygwin(available from http://sourceware.cygnus.com/cygwin/). Therefore mostreferences in this man page to.I Unixcan be replaced with.IR Win32 ..SH OPTIONS.TP.BI \-abstract " FILESpecifies the abstract file name.This parameter can also be set in the file.B \&.m\&kisofsrcwith ABST=filename.If specified in both places, the command line version is used..TP.BI \-A " application_idSpecifies a text string that will be written into the volume header.This should describe the application that will be on the disc. Thereis space on the disc for 128 characters of information. This parameter canalso be set in the file.B \&.m\&kisofsrcwith APPI=id.If specified in both places, the command line version is used..TP.B \-allow-lowercaseThis options allows lower case characters to appear in iso9660 filenames..brThis violates the ISO9660 standard, but it happens to work on some systems.Use with caution..TP.B \-allow-multidotThis options allows more than one dot to appear in iso9660 filenames.A leading dot is not affected by this option, itmay be allowed separately using the.B \-Loption..brThis violates the ISO9660 standard, but it happens to work on many systems.Use with caution..TP.BI \-biblio " FILESpecifies the bibliographic file name.This parameter can also be set in the file.B \&.m\&kisofsrcwith BIBLO=filename.If specified in both places, the command line version is used..TP.BI \-b " eltorito_boot_imageSpecifies the path and filename of the boot image to be used when makingan "El Torito" bootable CD. The pathname must be relative to the sourcepath specified to.B mkisofs.This option is required to make an "El Torito" bootable CD.The boot image must be exactly the size of either a 1.2, 1.44, or a 2.88meg floppy, and.B mkisofswill use this size when creating the output iso9660filesystem. It is assumed that the first 512 byte sector should be readfrom the boot image (it is essentially emulating a normal floppy drive).This will work, for example, if the boot image is a LILO based boot floppy..TP.B \-eltorito-alt-bootStart with a new set of "El Torito" boot parameters.This allows to have more than one El Torito boot on a CD.A maximum of 63 El Torito boot entries may be put on a single CD..TP.BI \-B " img_sun4,img_sun4c,img_sun4m,img_sun4d,img_sun4eSpecifies a comma separated list of boot images that are needed to makea bootable CD for sparc systems.There may be empty fields in the comma separated list.This option is required to make a bootable CD for Sun sparc systems.If the.B \-Bor.B \-sparc-bootoption has been specified, the first sector of the resulting image willcontain a Sun disk label. This disk label specifies slice 0 for theiso9660 image and slice 1 .\|.\|. slice 7 for the boot images thathave been specified with this option. Byte offset 512 .\|.\|. 8191within each of the additional boot images must contain a primary bootthat works for the appropriate sparc architecture. The rest of eachof the images usually contains an ufs filesystem that is used primarykernel boot stage..spThe implemented boot method is the boot method found with SunOS 4.x and SunOS 5.x.However, it does not depend on SunOS internals but only on properties ofthe Open Boot prom. For this reason, it should be usable for any OSthat boots off a sparc system..spIf the special filename.B "..."is used, the actual and all following boot partitions are mapped to theprevious partition. If.B mkisofsis called with.BI "\-G " image " \-B " ...all boot partitions are mapped to the partition that contains the iso9660filesystem image and the generic boot image that is located in the first16 sectors of the disk is used for all architectures..TP.BI \-G " generic_boot_imageSpecifies the path and filename of the generic boot image to be used when makinga generic bootable CD.The.B generic_boot_imagewill be placed on the first 16 sectors of the CD. The first 16 sectorsare the sectors that are located before the iso9660 primary volume descriptor.If this option is used together with the.B \-sparc-bootoption, the Sun disk label will overlay the first 512 bytes of the genericboot image..TP.BI \-hard-disk-bootSpecifies that the boot image used to create "El Torito" bootable CDs isa hard disk image. The hard disk image must begin with a master bootrecord that contains a single partition..TP.BI \-no-emul-bootSpecifies that the boot image used to create "El Torito" bootable CDs isa 'no emulation' image. The system will load and execute this image withoutperforming any disk emulation..TP.BI \-no-bootSpecifies that the created "El Torito" CD should be marked as not bootable. Thesystem will provide an emulated drive for the image, but will boot offa standard boot device..TP.BI \-boot-load-seg " segment_addressSpecifies the load segment address of the boot image for no-emulation"El Torito" CDs..TP.BI \-boot-load-size " load_sectorsSpecifies the number of "virtual" (512-byte) sectors to load inno-emulation mode. The default is to load the entire boot file. SomeBIOSes may have problems if this is not a multiple of 4..TP.BI \-boot-info-tableSpecifies that a 56-byte table with information of the CD-ROM layoutwill be patched in at offset 8 in the boot file. If this option isgiven, the boot file is modified in the source filesystem, so makesure to make a copy if this file cannot be easily regenerated! Seethe.B "EL TORITO BOOT INFO TABLEsection for a description of this table..TP.BI \-C " last_sess_start,next_sess_startThis option is needed when.B mkisofsis used to create the image of a second session or a higher level sessionfor a multi session disk.The option.B \-Ctakes a pair of two numbers separated by a comma. The first number is thesector number of the first sector in the last session of the diskthat should be appended to.The second number is the starting sector number of the new session.The expected pair of numbers may be retrieved by calling.B "cdrecord \-msinfo ...the.B \-Coption may only be uses in conjunction with the.B \-Moption..TP.BI \-c " boot_catalogSpecifies the path and filename of the boot catalog to be used when makingan "El Torito" bootable CD. The pathname must be relative to the sourcepath specified to.B mkisofs.This option is required to make a bootable CD.This file will be inserted into the output tree and not createdin the source filesystem, so besure the specified filename does not conflict with an existing file, asit will be excluded. Usually a name like "boot.catalog" ischosen..TP.B \-check-oldnamesCheck all filenames imported from old session for compliance withactual .B mkisofs iso9660 file naming rules.It his option is not present, only names with a length > 31 are checkedas these files are a hard violation of the iso9660 standard..TP.BI \-copyright " FILESpecifies the Copyright file name.This parameter can also be set in the file.B \&.m\&kisofsrcwith COPY=filename.If specified in both places, the command line version is used..TP.B \-dOmit trailing period from files that do not have a period..brThis violates the ISO9660 standard, but it happens to work on many systems.Use with caution..TP.B \-DDo not use deep directory relocation, and instead just pack them in theway we see them..brThis violates the ISO9660 standard, but it happens to work on many systems.Use with caution..TP.B \-fFollow symbolic links when generating the filesystem. When this option is notin use, symbolic links will be entered using Rock Ridge if enabled, otherwisethe file will be ignored..TP.B \-guiSwitch the behaviour for a GUI. This currently makes the output more verbosebut may have other effects in future..TP.B \-graft-pointsAllow to use graft points for filenames. If this option is used, all filenamesare checked for graft points. The filename is divided at the first unescapedequal sign. All occurrences of '\\\\' and '=' characters must be escaped with '\\\\'if .I \-graft-pointshas been specified..TP.BI \-hide " globHide.I globfrom being seen on the ISO9660 or Rock Ridge directory..I globis a shell wild-card-style pattern that must match any part of the filename or path.Multiple globs may be hidden.If.I globmatches a directory, then the contents of that directory will be hidden.All the hidden files will still be written to the output CD image file.Should be used with the.B \-hide-jolietoption..TP.BI \-hide-list " fileA file containing a list of.I globsto be hidden as above..TP.BI \-hidden " globAdd the hidden (existence) ISO9660 directory attribute for.IR glob .This attribute will prevent .I globfrom being listed on DOS based systems if the /A flag is not used for the listing..I globis a shell wild-card-style pattern that must match any part of the filename or path.Multiple globs may be hidden..TP.BI \-hidden-list " fileA file containing a list of.I globsto get the hidden attribute as above..TP.BI \-hide-joliet " globHide.I globfrom being seen on the Joliet directory..I globis a shell wild-card-style pattern that must match any part of the filename or path.Multiple globs may be hidden.If.I globmatches a directory, then the contents of that directory will be hidden.All the hidden files will still be written to the output CD image file.Should be used with the.B \-hideoption..TP.BI \-hide-joliet-list " fileA file containing a list of.I globsto be hidden as above..TP.B \-hide-joliet-trans-tblHide the.B TRANS.TBLfiles from the Joliet tree.These files usually don't make sense in the Joliet World as they listthe real name and the ISO9660 name which may both be different from theJoliet name..TP.B \-hide-rr-movedRename the directory.B RR_MOVEDto.B .rr_movedin the Rock Ridge tree.It seems to be impossible to completely hide the.B RR_MOVEDdirectory from the Rock Ridge tree.This option only makes the visible tree better to understand forpeople who don't know what this directory is for.If you need to have no.B RR_MOVEDdirectory at all, you should use the.B \-Doption. Note that in case that the.B \-Doption has been specified, the resulting filesystem is not ISO9660level-1 compliant and will not be readable on MS-DOS..TP.B \-lAllow full 31 character filenames. Normally the ISO9660 filename will be in an8.3 format which is compatible with MS-DOS, even though the ISO9660 standardallows filenames of up to 31 characters. If you use this option, the disc maybe difficult to use on a MS-DOS system, but this comes in handy on some othersystems (such as the Amiga).Use with caution..TP.BI \-iso-level " levelSet the iso9660 conformance level. Valid numbers are 1..3..spWith level 1, files may only consist of one section and filenames arerestricted to 8.3 characters..spWith level 2, files may only consist of one section..spWith level 3, no restrictions apply..spWith all iso9660 levels all filenames are restricted to uppercase letters, numbers and the underscore (_). The maximum filenamelength is restricted to 31 characters, the directory nesting levelis restricted to 8 and the maximum path length is limited to 255 characters..TP.B \-JGenerate Joliet directory records in addition to regular iso9660 filenames. This is primarily useful when the discs are to be used on Windows-NTor Windows-95 machines. The Joliet filenames are specified in Unicode andeach path component can be up to 64 Unicode characters long..TP.BI \-jcharset " charsetLocal charset that should be used for translating local file names intoJoliet Unicode directory records.To get a list of valid charset names, call.B "mkisofs \-jcharset help.To get a 1:1 mapping, you may use.B defaultas charset name. The default initial values are.I cp437on DOS based systems and.I iso8859-1on all other systems.If the.B \-jcharsetoption is specified, the.B \-Joption is implied..TP.B \-LAllow ISO9660 filenames to begin with a period. Usually, a leading dot isreplaced with an underscore in order to maintain MS-DOS compatibility..brThis violates the ISO9660 standard, but it happens to work on many systems.Use with caution..TP.BI \-log-file " log_fileRedirect all error, warning and informational messages to.I log_fileinstead of the standard error..TP.BI \-m " globExclude.I globfrom being written to CDROM..I globis a shell wild-card-style pattern that must match part of the filename (not the path as with option.BR \-x ).Technically.I globis matched against the.I d->d_namepart of the directory entry.Multiple globs may be excluded.Example:mkisofs \-o rom \-m '*.o' \-m core \-m foobarwould exclude all files ending in ".o", called "core" or "foobar" to becopied to CDROM. Note that if you had a directory called "foobar" it too (andof course all its descendants) would be excluded..spNOTE: The \-m and \-x option description should both be updated, they are wrong.Both now work identical and use filename globbing. A file is excluded if eitherthe last component matches or the whole path matches..TP.BI \-exclude-list " fileA file containing a list of
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -