Mkisofs

From ICO wiki
Jump to navigationJump to search

Autor

Raivo Tammus - AK21



Sissejuhatus ja ülevaade [1]

Mkisofs (make iso files) on käsk, mida kasutatakse CD kuvandite tegemiseks ISO 9660 standardi järgi. An ISO 9660 file system is a standard CD-ROM file system that allows you to read the same CD-ROM whether you're on a PC, Mac, or other major computer platform.[3] mkisofs is effectively a pre-mastering program to generate an ISO9660/JOLIET/HFS hybrid filesystem. mkisofs is capable of generating the System Use Sharing Protocol records (SUSP) specified by the Rock Ridge Interchange Protocol. This is used to further describe the files in the iso9660 filesystem to a unix host, and provides information such as longer filenames, uid/gid, posix permissions, symbolic links, block and character devices.

vt siit lisaks:

http://wiki.osdev.org/Mkisofs

http://www.thegeekstuff.com/2009/06/how-to-mount-view-iso-file-as-root-and-non-root-user-in-unix/

Käsu formaat [1][2]

mkisofs [ options ] [ -o filename ] pathspec [pathspec ...]  mkisofs  [ options ] [ -o filename ] -find [find expression]

'-abstract' FILE

Specifies the abstract file name. There is space on the disc for 37 characters of information. This parameter can also be set in the file .mkisofsrc with ABST=filename. If specified in both places, the command line version is used.

-A application_id

Specifies a text string that will be written into the volume header. This should describe the application that will be on the disc. There is space on the disc for 128 characters of information. This parameter can also be set in the file .mkisofsrc with APPI=id. If specified in both places, the command line version is used.

-b eltorito_boot_image

Specifies the path and filename of the boot image to be used when making an "El Torito" bootable CD. The pathname must be relative to the source path specified to mkisofs. This option is required to make an "El Torito" bootable CD. The boot image must be exactly the size of either a 1200, 1440, or a 2880 kB floppy, and mkisofs will use this size when creating the output iso9660 filesystem. It is assumed that the first 512 byte sector should be read from 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. If the boot image is not an image of a floppy, you need to add one of the options: -hard-disk-boot or -no-emul-boot. If the system should not boot off the emulated disk, use -no-boot.

If the -sort option has not been specified, the boot images are sorted with low priority (+2) to the beginning of the medium. If you don't like this, you need to specify a sort weight of 0 for the boot images.

-hard-disk-boot

Specifies that the boot image used to create "El Torito" bootable CDs is a hard disk image. The hard disk image must begin with a master boot record that contains a single partition.

-o filename

is the name of the file to which the iso9660 filesystem image should be written. This can be a disk file, a tape drive, or it can correspond directly to the device name of the optical disc writer. If not specified, stdout is used. Note that the output can also be a block special device for a regular disk drive, in which case the disk partition can be mounted and examined to ensure that the premastering was done correctly.

Näited

...

Kokkuvõte

...

Kasutatud kirjandus

Kogu dokumentatsioon on kirjutatud tuginedes järgnevatele allikatele ja juhenditele:

[1]http://linux.die.net/man/8/mkisofs

[2]http://manpages.ubuntu.com/manpages/gutsy/en/man8/mkisofs.8.html

[3]http://whatis.techtarget.com/definition/ISO-9660

Category: Operatsioonisüsteemide administreerimine ja sidumine