📄 mkisofs.8
字号:
.I globsto be exclude as above..TP.B \-max-iso9660-filenamesAllow 37 chars in iso9660 filenames.This option forces the.B \-Noption as the extra name space is taken from the space reserved forISO-9660 version numbers..brThis violates the ISO9660 standard, but it happens to work on many systems.Although a conforming application needs to provide a buffer space of atleast 37 characters, disks created with this option may cause a bufferoverflow in the reading operating system. Use with extreme care..TP.BI \-M " pathor.TP.BI \-M " deviceSpecifies path to existing iso9660 image to be merged. The alternate formtakes a SCSI device specifier that uses the same syntax as the.B "dev=parameter of.B cdrecord.The output of .B mkisofswill be a new session which should get written to the end of theimage specified in \-M. Typically this requires multi-session capabilityfor the recorder and cdrom drive that you are attempting to write thisimage to.This option may only be used in conjunction with the.B \-Coption..TP.B \-NOmit version numbers from ISO9660 file names..brThis violates the ISO9660 standard, but no one really uses theversion numbers anyway.Use with caution..TP.B \-nobak.TP.B \-no-bakDo not include backup files files on the iso9660 filesystem.If the.B \-no-bakoption is specified, files that contain the characters '~' or '#'or end in '.bak' will not be included (these are typically backup filesfor editors under unix)..TP.B \-no-rrDo not use the Rock Ridge attributes from previous sessions.This may help to avoid getting into trouble when.B mkisofsfinds illegal Rock Ridge signatures on an old session..TP.B \-no-split-symlink-componentsDon't split the SL components, but begin a new Continuation Area (CE)instead. This may waste some space, but the SunOS 4.1.4 cdrom driverhas a bug in reading split SL components (link_size = component_size instead of link_size += component_size)..TP.B \-no-split-symlink-fieldsDon't split the SL fields, but begin a new Continuation Area (CE)instead. This may waste some space, but the SunOS 4.1.4 andSolaris 2.5.1 cdrom driver have a bug in reading split SL fields(a `/' can be dropped)..TP.BI \-o " filenameis the name of the file to which the iso9660 filesystem image should bewritten. This can be a disk file, a tape drive, or it can correspond directlyto the device name of the optical disc writer. If not specified, stdout isused. Note that the output can also be a block special device for a regulardisk drive, in which case the disk partition can be mounted and examined toensure that the premastering was done correctly..TP.B \-padPad the end of the ISO9660 by 16 sectors (32kB). If the total size thenis not a multiple of 16 sectors, the needed number of sectors is added.If the option.B \-Bis used, then there is a second padding at the end of the boot partitions..spThe padding is needed as many operating systems (e.g. Linux)implement read ahead bugs in their filesystem I/O. These bugs result in readerrors on one or more files that are located at the end of a track. They areusually present when the CD is written in Track at Once mode or whenthe disk is written as mixed mode CD where an audio track follows thedata track..TP.BI \-path-list " fileA file containing a list of.I pathspecdirectories and filenames to be added to the ISO9660 filesystem. This listof pathspecs are processed after any that appear on the command line. If theargument is.IR \- ,then the list is read from the standard input. There must be at least one.I pathspecgiven on the command line as well..TP.BI \-P " publisher_idSpecifies a text string that will be written into the volume header.This should describe the publisher of the CDROM, usually with amailing address and phone number. There is space on the disc for 128characters of information. This parameter can also be set in the file.B \&.m\&kisofsrcwith PUBL=.If specified in both places, the command line version is used..TP.BI \-p " preparer_idSpecifies a text string that will be written into the volume header.This should describe the preparer of the CDROM, usually with a mailingaddress and phone number. There is space on the disc for 128characters of information. This parameter can also be set in the file.B \&.m\&kisofsrcwith PREP=.If specified in both places, the command line version is used..TP.B \-print-sizePrint estimated filesystem size and exit. This option is needed forDisk At Once mode and with some CD-R drives when piping directly into.B cdrecord.In this case it is needed to know the size of the filesystem before theactual CD-creation is done.The option \-print-size allows to get this size from a "dry-run" beforethe CD is actually written..TP.B \-quietThis makes.B mkisofseven less verbose. No progress output will be provided..TP.B \-RGenerate SUSP and RR records using the Rock Ridge protocol to further describethe files on the iso9660 filesystem..TP.B \-rThis is like the \-R option, but file ownership and modes are set tomore useful values. The uid and gid are set to zero, because they areusually only useful on the author's system, and not useful to theclient. All the file read bits are set true, so that files anddirectories are globally readable on the client. If any execute bit isset for a file, set all of the execute bits, so that executables areglobally executable on the client. If any search bit is set for adirectory, set all of the search bits, so that directories are globallysearchable on the client. All write bits are cleared, because theCD-Rom will be mounted read-only in any case. If any of the specialmode bits are set, clear them, because file locks are not useful on aread-only file system, and set-id bits are not desirable for uid 0 orgid 0.When used on Win32, the execute bit is set on.I allfiles. This is a result of the lack of file permissions on Win32 and theCygwin POSIX emulation layer..TP.B \-relaxed-filenamesThe option.B \-relaxed-filenamesallows ISO9660 filenames to include digits, uppercase charactersand all other 7 bit ASCII characters (resp. anything except lowercasecharacters)..brThis violates the ISO9660 standard, but it happens to work on many systems.Use with caution..TP.BI \-sort " sort fileSort file locations on the media. Sorting is controlled by a file thatcontains pairs of filenames and sorting offset weighting.If the weighting is higher, the file will be located closer to thebeginning of the media, if the weighting is lower, the file will be locatedcloser to the end of the media. There must be only one space or tabscharacter between the filename and theweight and the weight must be the last characters on a line. The filenameis taken to include all the characters up to, but not including the lastspace or tab character on a line. This is to allow for space characters tobe in, or at the end of a filename. See README.sort for more details..TP.BI \-sysid " IDSpecifies the system ID.This parameter can also be set in the file.B \&.m\&kisofsrcwith SYSI=system_id.If specified in both places, the command line version is used..TP.B \-TGenerate a file TRANS.TBL in each directory on the CDROM, which can be usedon non-Rock Ridge capable systems to help establish the correct file names.There is also information present in the file that indicates the major andminor numbers for block and character devices, and each symlink has the name ofthe link file given..TP.BI \-table-name " TABLE_NAMEAlternative translation table file name (see above). Implies the.B \-Toption.If you are creating a multi-session image you must use the same nameas in the previous session..TP.BI \-ucs-level " levelSet Unicode conformance level in the Joliet SVD. The default level is 3.It may be set to 1..3 using this option..TP.B \-use-fileversionThe option .B \-use-fileversionallows mkisofs to use file version numbers from the filesystem.If the option is not specified, .B mkisofscreates a version if 1 for all files.File versions are strings in the range .I ";1"to.I ";32767"This option is the default on VMS. .TP.B \-UAllows "Untranslated" filenames, completely violating the iso9660 standardsdescribed above. Forces on the \-d, \-l, \-L, \-N, \-relaxed-filenames,\-allow-lowercase, \-allow-multidot and \-no-iso-translateflags. It allows morethan one '.' character in the filename, as well as mixed case filenames.This is useful on HP-UX system, where the built-in CDFS filesystem doesnot recognize ANY extensions. Use with extreme caution..TP.B \-no-iso-translateDo not translate the characters '#' and '~' which are invalid for iso9660 filenames.These characters are though invalid often used by Microsoft systems..brThis violates the ISO9660 standard, but it happens to work on many systems.Use with caution..TP.BI \-V " volidSpecifies the volume ID (volume name or label) to be written into themaster block. This parameter can also be set in the file.B \&.m\&kisofsrcwith VOLI=id.If specified in both places, the command line version is used. Note thatif you assign a volume ID, this is the name that will be used as the mountpoint used by the Solaris volume management system and the name that isassigned to the disc on a Windows or Mac platform..TP.BI \-volset " IDSpecifies the volset ID.This parameter can also be set in the file.B \&.m\&kisofsrcwith VOLS=volset_id.If specified in both places, the command line version is used..TP.BI \-volset-size " #Sets the volume set size to #.The volume set size is the number of CD's that are in a CD set.The.B \-volset-sizeoption may be used to create CD's that are part of e.g. a OperationSystem installation set of CD's.The option.B \-volset-sizemust be specified before.B \-volset-seqnoon each command line..TP.BI \-volset-seqno " #Sets the volume set sequence number to #.The volume set sequence number is the index number of the currentCD in a CD set.The option.B \-volset-sizemust be specified before.B \-volset-seqnoon each command line..TP.B \-vVerbose execution. If given twice on the command line, extra debug informationwill be printed..TP.BI \-x " pathExclude.I pathfrom being written to CDROM..I pathmust be the complete pathname that results from concatenating the pathnamegiven as command line argument and the path relative to this directory.Multiple paths may be excluded.Example: mkisofs \-o cd \-x /local/dir1 \-x /local/dir2 /local.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.B \-zGenerate special SUSP records for transparently compressed files. This isonly of use and interest for hosts that support transparent decompression.This is an experimental feature, and no hosts yet support this, but thereare ALPHA patches for Linux that can make use of this feature..SH "HFS OPTIONS.TP.B \-hfsCreate an ISO9660/HFS hybrid CD. This option should be used in conjunctionwith the.BR \-map ,.R \-magicand/or the various.I double dashoptions given below..TP.B \-appleCreate an ISO9660 CD with Apple's extensions. Similar to the.B \-hfsoption, except that the Apple Extensions to ISO9660 are added instead ofcreating an HFS hybrid volume..TP.BI \-map " mapping_fileUse the.I mapping_fileto set the CREATOR and TYPE information for a file based on thefilename's extension. A filename is mapped only if it is not one of the know Apple/Unix file formats. See the.B "HFS CREATOR/TYPEsection below..TP.BI \-magic " magic_fileThe CREATOR and TYPE information is set by using a file's.I magic number(usually the first few bytes of a file). The.I magic_fileis only used if a file is not one of the known Apple/Unix file formats, orthe filename extension has not been mapped using the.B \-mapoption. See the .B "HFS CREATOR/TYPEsection below for more details..TP.BI \-hfs-creator " CREATORSet the default CREATOR for all files. Must be exactly 4 characters. See the.B "HFS CREATOR/TYPEsection below for more details..TP.BI \-hfs-type " TYPESet the default TYPE for all files. Must be exactly 4 characters. See the.B "HFS CREATOR/TYPEsection below for more details..TP.B \-probeSearch the contents of files for all the known Apple/Unix file formats.See the.B HFS MACINTOSH FILE FORMATSsection below for more about these formats.However, the only way to check for.I MacBinaryand.I AppleSinglefiles is to open and read them. Therefore this option.I mayincrease processing time. It is better to use one or more.I double dashoptions given below if the Apple/Unix formats in use are known..TP.B \-no-desktopDo not create (empty) Desktop files. New HFS Desktop files will be createdwhen the CD is used on a Macintosh (and stored in the System Folder).By default, empty Desktop files are added to the HFS volume..TP.B \-mac-nameUse the HFS filename as the starting point for the ISO9660, Joliet andRock Ridge file names. See the.B HFS MACINTOSH FILE NAMESsection below for more information..TP.BI \-boot-hfs-file " driver_fileInstalls the.I driver_filethat.I maymake the CD bootable on a Macintosh. See the.B HFS BOOT DRIVERsection below. (Alpha)..TP.B \-partGenerate an HFS partition table. By default, no partition table is generated,but some older Macintosh CDROM drivers need an HFS partition table on theCDROM to be able to recognize a hybrid CDROM..TP.BI \-auto " AutoStart_fileMake the HFS CD use the QuickTime 2.0 Autostart feature to launch anapplication or document. The given filename must be the name of a document orapplication located at the top level of the CD. The filename must be lessthan 12 characters. (Alpha)..TP.BI \-cluster-size " sizeSet the size in bytes of the cluster or allocation units of PC Exchangefiles. Implies the.B \--exchangeoption. See the.B HFS MACINTOSH FILE FORMATSsection below..TP.BI \-hide-hfs " globHide.I globfrom the HFS volume. The file or directory will still exist in theISO9660 and/or Joliet directory..I globis a shell wild-card-style pattern that must match any part of the filenameMultiple globs may be excluded.Example:mkisofs \-o rom \-hfs \-hide-hfs '*.o' \-hide-hfs foobarwould exclude all files ending in ".o" or called "foobar" from the HFS volume. Note that if you had a directory called"foobar" it too (and of course all its descendants) would be excluded.The.I globcan also be a path name relative to the source directories given on thecommand line. Example:mkisofs \-o rom \-hfs \-hide-hfs src/html srcwould exclude just the file or directory called "html" from the "src"directory. Any other file or directory called "html" in the tree willnot be excluded.Should be used with the.B \-hideand/or.B \-hide-jolietoptions..TP.BI \-hide-hfs-list " fileA file containing a list of.I globsto be hidden as above..TP.BI \-hfs-volid " hfs_volidVolume name for the HFS partition. This is the name that isassigned to the disc on a Macintosh and replaces the.I volidused with the .B \-Voption.TP.B \-icon-positionUse the icon position information, if it exists, from the Apple/Unix file.The icons will appear in the same position as they would on a Macintosh
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -