mkisofs.8
来自「刻录光盘的程序」· 8 代码 · 共 1,026 行 · 第 1/2 页
8
1,026 行
.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 \-D option has been specified, the resulting filesystem is not ISO9660level-1 compliant and will not be readable on MS-DOS..TP.B \-lAllow full 30 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 30 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.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.B \-LAllow ISO9660 filenames to begin with a period. Usually, a leading dot isreplaced with an underscore in order to maintain MS-DOS compatibility..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 (up to 1000).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.I globsto be exclude as above..TP.BI \-M " path or.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. This may violate the ISO9660standard, but no one really uses the version 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.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 \&.mkisofsrcwith 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 \&.mkisofsrcwith 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 \-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..TP.BI \-sysid " IDSpecifies the system ID.This parameter can also be set in the file.B \&.mkisofsrcwith 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 .B \-UAllows "Untranslated" filenames, completely violating the iso9660 standardsdescribed above. Forces on the -d, -l, -L and -N flags, and also 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.BI \-V " volid Specifies the volume ID to be written into the master block. Thisparameter can also be set in the file.B \&.mkisofsrcwith VOLI=id.If specified in both places, the command line version is used. Note that if you assign a volume ID, this is the name that will be used as the mount point 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 \&.mkisofsrcwith 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..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 (up to 1000).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 BOOT INFORMATION TABLEWhen the.B \-boot-info-table option is given,.B mkisofswill modify the boot file specified by the.B \-boption by inserting a 56-byte "boot information table" at offset 8 inthe file. This modification is done in the source filesystem, so makesure you use a copy if this file is not easily recreated! This filecontains pointers which may not be easily or reliably obtained at boottime..PPThe format of this table is as follows; all integers are insection 7.3.1 ("little endian") format..sp.RS +.2i.ta 1.0i 2.5i 3.5i.nfOffset Name Size Meaning 8 bi_pvd 4 bytes LBA of primary volume descriptor12 bi_file 4 bytes LBA of boot file16 bi_length 4 bytes Boot file length in bytes20 bi_csum 4 bytes 32-bit checksum24 bi_reserved 40 bytes Reserved.fi.RE.spThe 32-bit checksum is the sum of all the 32-bit words in the bootfile starting at byte offset 64. All linear block addresses (LBAs)are given in CD sectors (normally 2048 bytes)..SH CONFIGURATION.B mkisofslooks for the.B \&.mkisofsrcfile,first in the current working directory,then in the user's home directory,and then in the directory in which the.B mkisofsbinary is stored. This file is assumed to contain a series of linesof the form .BI TAG= value,and in this way you can specify certain options.The case of the tag is not significant.Some fields in the volume headerare not settable on the command line, but can be altered through thisfacility.Comments may be placed in this file,using lines which start with a hash (#) character..TP.B APPIThe application identifiershould describe the application that will be on the disc.There is space on the disc for 128 characters of information.May be overridden using the .B \-A command line option..TP.B COPYThe copyright information,often the name of a file on the disc containing the copyright notice.There is space in the disc for 37 characters of information.May be overridden using the .B \-copyrightcommand line option..TP.B ABSTThe abstract information,often the name of a file on the disc containing an abstract.There is space in the disc for 37 characters of information.May be overridden using the .B \-abstractcommand line option..TP.B BIBLThe bibliographic information,often the name of a file on the disc containing a bibliography.There is space in the disc for 37 characters of information.May be overridden using the .B \-biliocommand line option..TP.B PREPThis should describe the preparer of the CDROM,usually with a mailing address and phone number.There is space on the disc for 128 characters of information.May be overridden using the .B \-p command line option..TP.B PUBLThis should describe the publisher of the CDROM,usually with a mailing address and phone number.There is space on the disc for 128 characters of information.May be overridden using the .B \-P command line option..TP.B SYSIThe System Identifier.There is space on the disc for 32 characters of information.May be overridden using the .B \-sysidcommand line option..TP.B VOLIThe Volume Identifier.There is space on the disc for 32 characters of information.May be overridden using the .B \-V command line option..TP.B VOLSThe Volume Set Name.There is space on the disc for 128 characters of information.May be overridden using the .B \-volsetcommand line option..PP.B mkisofscan also be configured at compile time with defaults for many of these fields.See the file defaults.h..SH AUTHOR.B mkisofsis not based on the standard mk*fs tools for unix, because we must generatea complete copy of an existing filesystem on a disk in the iso9660filesystem. The name mkisofs is probably a bit of a misnomer, since itnot only creates the filesystem, but it also populates it as well..PP.brEric Youngdale <ericy@gnu.ai.mit.edu> or <eric@andante.org> wrote both theLinux isofs9660 filesystem and the mkisofs utility.The copyright for the mkisofs utility is held byYggdrasil Computing, Incorporated..SH NOTES.B Mkisofsmay safely be installed suid root. This may be needed to allow .B mkisofsto read the previous session when creating a multi session image..SH BUGS.TP\(buAny files that have hard links to files not in the tree being copied to theiso9660 filesystem will have an incorrect file reference count..TP\(buDoes not check for SUSP record(s) in "." entry of theroot directory to verify the existence of Rock Ridgeenhancements..spThis problem is present when reading old sessions whileadding data in multi-session mode..TP\(buDoes not properly read relocated directories in multi-sessionmode when adding data..spAny relocated deep directory is lost if the new session does notinclude the deep directory..spRepeat by: create first session with deep directory relocationthen add new session with a single dir that differs from theold deep path..TP\(buDoes not re-use RR_MOVED when doing multi-session from TRANS.TBL.TP\(buDoes not create whole_name entry for RR_MOVED in multi-sessionmode..PPThere may be some other ones. Please, report them to the author..SH FUTURE IMPROVEMENTSSome sort of gui interface..SH AVAILABILITY.B mkisofsis available for anonymous ftp from tsx-11.mit.edu in/pub/linux/packages/mkisofs and many other mirror sites..SH "MAILING LISTSIf you want to actively take part on the development of mkisofs,you may join the cdwriting mailing list by sending mail to:.nf.sp other-cdwrite-request@lists.debian.org.sp.fiand include the word .I subscribein the body.The mail address of the list is:.nf.sp cdwrite@lists.debian.org.fi.SH MAINTAINER.nfJ\*org SchillingSeestr. 110D-13353 BerlinGermany.fi.PPMail bugs and suggestions to:.PP.Bschilling@fokus.gmd.deor.Bjs@cs.tu-berlin.deor.Bjoerg@schily.isdn.cs.tu-berlin.de
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?