⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mkisofs.8

📁 刻录光盘的程序
💻 8
📖 第 1 页 / 共 2 页
字号:
.\" -*- nroff -*-.\".\" $Id: mkisofs.8,v 1.19 1999/11/22 02:36:28 eric Exp $.\".if t .ds a \v'-0.55m'\h'0.00n'\z.\h'0.40n'\z.\v'0.55m'\h'-0.40n'a.if t .ds o \v'-0.55m'\h'0.00n'\z.\h'0.45n'\z.\v'0.55m'\h'-0.45n'o.if t .ds u \v'-0.55m'\h'0.00n'\z.\h'0.40n'\z.\v'0.55m'\h'-0.40n'u.if t .ds A \v'-0.77m'\h'0.25n'\z.\h'0.45n'\z.\v'0.77m'\h'-0.70n'A.if t .ds O \v'-0.77m'\h'0.25n'\z.\h'0.45n'\z.\v'0.77m'\h'-0.70n'O.if t .ds U \v'-0.77m'\h'0.30n'\z.\h'0.45n'\z.\v'0.77m'\h'-0.75n'U.if t .ds s \\(*b.if t .ds S SS.if n .ds a ae.if n .ds o oe.if n .ds u ue.if n .ds s sz.TH MKISOFS 8 "17. Jan 2000" "Version 1.12".SH NAMEmkisofs \- create a iso9660 filesystem with optional Rock Ridge attributes..SH SYNOPSIS.B mkisofs[.B \-a][.B \-abstract .I FILE][.B \-biblio.I FILE][.B \-b.I eltorito_boot_image][.B \-B.I sparc_boot_image_list][.B \-G.I generic_boot_image][.B \-gui][.B \-C.I #,#][.B \-hard-disk-boot][.B \-no-emul-boot][.B \-no-boot][.B \-boot-load-seg][.B \-boot-load-size][.B \-boot-info-table][.B \-c.I boot_catalog][.B \-copyright .I FILE][.B \-A.I application_id][.B \-f][.B \-d][.B \-D][.B \-hide.I glob][.B \-hide-list.I file][.B \-hide-joliet.I glob][.B \-hide-joliet-list.I file][.B \-hide-joliet-trans-tbl][.B \-hide-rr-moved][.B \-J][.B \-l][.B \-L][.B \-log-file.I log_file][.B \-M.I path | device][.B -nobak][.B -no-bak][.B -no-split-symlink-components][.B -no-split-symlink-fields][.B \-path-list.I file][.B \-p.I preparer][.B \-print-size][.B \-P.I publisher][.B \-quiet][.B \-r][.B \-R][.B \-sysid.I ID][.B \-T][.B \-U][.B \-v][.B \-V.I volid][.B \-volset.I ID][.B \-volset-size.I #][.B \-volset-seqno.I #][.B \-x.I path][.B \-exclude-list.I file][.B \-z][.B \-m.I glob].B \-o.I filename.I pathspec [pathspec].SH DESCRIPTION.B mkisofsis effectively a pre-mastering program to generate the iso9660 filesystem - ittakes a snapshot of a given directory tree, and generates a binary image whichwill correspond to an iso9660 filesystem when written to a block device..PP.B mkisofsis also capable of generating the System Use Sharing Protocol records specifiedby the Rock Ridge Interchange Protocol.  This is used to further describe thefiles in the iso9660 filesystem to a unix host, and provides information suchas longer filenames, uid/gid, posix permissions, and block and characterdevices..PPEach file written to the iso9660 filesystem must have a filename in the 8.3format (8 characters, period, 3 characters, all upper case), even if Rock Ridgeis in use.  This filename is used on systems that are not able to make use ofthe Rock Ridge extensions (such as MS-DOS), and each filename in each directorymust be different from the other filenames in the same directory..B mkisofsgenerally tries to form correct names by forcing the unix filename to uppercase and truncating as required, but often times this yields unsatisfactoryresults when there are cases where thetruncated names are not all unique..B mkisofsassigns weightings to each filename, and if two names that are otherwise thesame are found the name with the lower priority is renamed to have a 3 digitnumber as an extension (where the number is guaranteed to be unique).  Anexample of this would be the files foo.bar andfoo.bar.~1~ - the file foo.bar.~1~ would be written as FOO.000;1 and the filefoo.bar would be written as FOO.BAR;1.PPNote that.B mkisofsis not designed to communicate with the writer directly.  Most writershave proprietary command sets which vary from one manufacturer toanother, and you need a specialized tool to actually burn the disk.The.B cdwriteutility is one such tool that runs under Linux and performs this task.The latest version of.B cdwriteis capable of communicating with the Phillips/IMS/Kodak, HP and Yamaha drivesthat have been manufactured before 1997.Most writers come with some version of DOS software that allows a direct imagecopy of an iso9660 image to the writer.  The current version of.B cdwriteis available from sunsite.unc.edu: /utils/disk-management/cdwrite-2.0.tar.gzNote that cdwrite has not been actively maintained since 1995..PPThe.Bcdrecordutility is another utility capable of burning an actual disc.  The latest versionof.B cdrecordis available fromftp://ftp.fokus.gmd.de/pub/unix/cdrecordCdrecord is under constant development..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.br.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..PPIt 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..Bmkisofs will 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..SH OPTIONS.TP.B \-aInclude all files on the iso9660 filesystem.  Normally files that contain thecharacters '~' or '#' will not be included (these are typically backup filesfor editors under unix). This option is now obsolete (see -no-bak option)..TP.BI \-abstract " FILESpecifies the abstract file name.This parameter can also be set in the file.B \&.mkisofsrcwith 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 \&.mkisofsrcwith APPI=id.If specified in both places, the command line version is used..TP.BI \-biblio " FILESpecifies the bibliographic file name.This parameter can also be set in the file.B \&.mkisofsrcwith 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.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..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_imagewil be placed on the first 16 sectors of the CD. The first 16 sectors are 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 " BOOT INFO TABLEsection for a description of this table..TP.BI \-C " last_sess_start,next_sess_startThis option is needed when .B mkisofs is 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 created by.B mkisofsin the source filesystem, so besure the specified filename does not conflict with an existing file, asit will be quietly overwritten! Usually a name like "boot.catalog" ischosen..TP.BI \-copyright " FILESpecifies the Copyright file name.This parameter can also be set in the file.B \&.mkisofsrcwith 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.  This violates theISO9660 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.  This violates the ISO9660 standard, but it works on manysystems.  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.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 (up to 1000).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 \-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 (up to 1000).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

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -