Mkisofs

From Www

This page has no content. Enrich the Www workspace by contributing.




Buring a bootable iso image

mkisofs -



mkisofs -v -l -J -r -R -o outfile.iso 

mkisofs -v -l -J -r -R -V "VolumeID" -o outfile.iso

use -V "VolumeID" (max 31 chars ? )
1234567890123456789012345678901
0000000001111111111222222222233
20050423 Personal Media 1
20050501 /network Doc & Exec
20050401 Brad Ries Laptop
OpenOffice Beta 1.9 CDv2

What do those mean ?

-l Allow full 30 char names
-J Generate Joliet directory records
-R Generate SUSP and RR records using the Rock Ridge
-r setup ownership and modes to useful values
(-T generate TRANS.TBL for non-RR systems )
-o output file
-v verbose execution

-f "to follow symbolic links"
-joliet-long "for longgg file names"

cat ~/a_list_of_files.text | while read a_line
do echo $a_line
ln -s $THE_DIR/$a_line $Temp_Dir

-abstract FILE Set Abstract filename
-A ID, -appid ID Set Application ID
-biblio FILE Set Bibliographic filename
-copyright FILE Set Copyright filename
-log-file LOG_FILE Re-direct messages to LOG_FILE
-path-list FILE File with list of pathnames to process
-p PREP, -preparer PREP Set Volume preparer
-publisher PUB Set Volume publisher
-sysid ID Set System ID
-V ID, -volid ID Set Volume ID
-volset ID Set Volume set ID
-volset-size # Set Volume set size
-volset-seqno # Set Volume set sequence number


mkisofs 2.01a34-unofficial-iconv (i686-pc-linux-gnu)
Usage: mkisofs [options] file...
Options:
-nobak Do not include backup files
-no-bak Do not include backup files
-abstract FILE Set Abstract filename
-A ID, -appid ID Set Application ID
-biblio FILE Set Bibliographic filename
-cache-inodes Cache inodes (needed to detect hard links)
-no-cache-inodes Do not cache inodes (if filesystem has no unique unides)
-check-oldnames Check all imported ISO9660 names from old session
-check-session FILE Check all ISO9660 names from previous session
-copyright FILE Set Copyright filename
-debug Set debug flag
-b FILE, -eltorito-boot FILE
Set El Torito boot image name
-eltorito-alt-boot Start specifying alternative El Torito boot parameters
-B FILES, -sparc-boot FILES Set sparc boot image names
-sunx86-boot FILES Set sunx86 boot image names
-G FILE, -generic-boot FILE Set generic boot image name
-sparc-label label text Set sparc boot disk label
-sunx86-label label text Set sunx86 boot disk label
-c FILE, -eltorito-catalog FILE
Set El Torito boot catalog name
-C PARAMS, -cdrecord-params PARAMS
Magic paramters from cdrecord
-d, -omit-period Omit trailing periods from filenames (violates ISO9660)
-dir-mode mode Make the mode of all directories this mode.
-D, -disable-deep-relocation
Disable deep directory relocation (violates ISO9660)
-file-mode mode Make the mode of all plain files this mode.
-f, -follow-links Follow symbolic links
-gid gid Make the group owner of all files this gid.
-graft-points Allow to use graft points for filenames
-root DIR Set root directory for all new files and directories
-old-root DIR Set root directory in previous session that is searched for
files
-help Print option help
-hide GLOBFILE Hide ISO9660/RR file
-hide-list FILE File with list of ISO9660/RR files to hide
-hidden GLOBFILE Set hidden attribute on ISO9660 file
-hidden-list FILE File with list of ISO9660 files with hidden attribute
-hide-joliet GLOBFILE Hide Joliet file
-hide-joliet-list FILE File with list of Joliet files to hide
-hide-joliet-trans-tbl Hide TRANS.TBL from Joliet tree
-hide-rr-moved Rename RR_MOVED to .rr_moved in Rock Ridge tree
-gui Switch behaviour for GUI
-i ADD_FILES No longer supported
-input-charset CHARSET Local input charset for file name conversion
-output-charset CHARSET Output charset for file name conversion
-iso-level LEVEL Set ISO9660 conformance level (1..3) or 4 for ISO9660 versio
n 2
-J, -joliet Generate Joliet directory information
-joliet-long Allow Joliet file names to be 103 Unicode characters
-jcharset CHARSET Local charset for Joliet directory information
-l, -full-iso9660-filenames Allow full 31 character filenames for ISO9660 names
-max-iso9660-filenames Allow 37 character filenames for ISO9660 names (violates ISO
9660)
-allow-leading-dots Allow ISO9660 filenames to start with '.' (violates ISO9660)
-ldots Allow ISO9660 filenames to start with '.' (violates ISO9660)
-L, -allow-leading-dots OLD Pre-POSIX.1-2001 option - don't use -L
-log-file LOG_FILE Re-direct messages to LOG_FILE
-m GLOBFILE, -exclude GLOBFILE
Exclude file name
-exclude-list FILE File with list of file names to exclude
-pad Pad output to a multiple of 32k (default)
-no-pad Do not pad output to a multiple of 32k
-M FILE, -prev-session FILE Set path to previous session to merge
-dev SCSIdev Set path to previous session to merge
-N, -omit-version-number Omit version number from ISO9660 filename (violates ISO9660)
-new-dir-mode mode Mode used when creating new directories.
-force-rr Inhibit automatic Rock Ridge detection for previous session
-no-rr Inhibit reading of Rock Ridge attributes from previous sessi
on
-no-split-symlink-components
Inhibit splitting symlink components
-no-split-symlink-fields Inhibit splitting symlink fields
-o FILE, -output FILE Set output file name
-path-list FILE File with list of pathnames to process
-p PREP, -preparer PREP Set Volume preparer
-print-size Print estimated filesystem size and exit
-publisher PUB Set Volume publisher
-P PUB, -publisher PUB OLD Pre-POSIX.1-2001 option - don't use -P
-quiet Run quietly
-r, -rational-rock Generate rationalized Rock Ridge directory information
-R, -rock Generate Rock Ridge directory information
-s TYPE, -sectype TYPE Set output sector type to e.g. data/xa1/raw
-sort FILE Sort file content locations according to rules in FILE
-split-output Split output into files of approx. 1GB size
-stream-file-name FILE_NAME Set the stream file ISO9660 name (incl. version)
-stream-media-size # Set the size of your CD media in sectors
-sysid ID Set System ID
-T, -translation-table Generate translation tables for systems that don't understan
d long filenames
-table-name TABLE_NAME Translation table file name
-ucs-level LEVEL Set Joliet UCS level (1..3)
-udf Generate UDF file system
-dvd-video Generate DVD-Video compliant UDF file system
-uid uid Make the owner of all files this uid.
-U, -untranslated-filenames Allow Untranslated filenames (for HPUX & AIX - violates ISO9
660). Forces -l, -d, -N, -allow-leading-dots, -relaxed-filenames, -allow-lowercase, -allow
-multidot
-relaxed-filenames Allow 7 bit ASCII except lower case characters (violates ISO
9660)
-no-iso-translate Do not translate illegal ISO characters '~', '-' and '#' (vi
olates ISO9660)
-allow-lowercase Allow lower case characters in addition to the current chara
cter set (violates ISO9660)
-allow-multidot Allow more than one dot in filenames (e.g. .tar.gz) (violate
s ISO9660)
-use-fileversion LEVEL Use file version # from filesystem
-v, -verbose Verbose
-version Print the current version
-V ID, -volid ID Set Volume ID
-volset ID Set Volume set ID
-volset-size # Set Volume set size
-volset-seqno # Set Volume set sequence number
-x FILE, -old-exclude FILE Exclude file name(depreciated)
-hard-disk-boot Boot image is a hard disk image
-no-emul-boot Boot image is 'no emulation' image
-no-boot Boot image is not bootable
-boot-load-seg # Set load segment for boot image
-boot-load-size # Set numbers of load sectors
-boot-info-table Patch boot image with info table
-XA Generate XA directory attruibutes
-xa Generate rationalized XA directory attruibutes
-z, -transparent-compression
Enable transparent compression of files
-hfs-type TYPE Set HFS default TYPE
-hfs-creator CREATOR Set HFS default CREATOR
-g, -apple Add Apple ISO9660 extensions
-h, -hfs Create ISO9660/HFS hybrid
-map MAPPING_FILE Map file extensions to HFS TYPE/CREATOR
-H MAPPING_FILE, -map MAPPING_FILE
OLD Pre-POSIX.1-2001 option - don't use -H
-magic FILE Magic file for HFS TYPE/CREATOR
-probe Probe all files for Apple/Unix file types
-mac-name Use Macintosh name for ISO9660/Joliet/RockRidge file name
-no-mac-files Do not look for Unix/Mac files (depreciated)
-boot-hfs-file FILE Set HFS boot image name
-part Generate HFS partition table
-cluster-size SIZE Cluster size for PC Exchange Macintosh files
-auto FILE Set HFS AutoStart file name
-no-desktop Do not create the HFS (empty) Desktop files
-hide-hfs GLOBFILE Hide HFS file
-hide-hfs-list FILE List of HFS files to hide
-hfs-volid HFS_VOLID Volume name for the HFS partition
-icon-position Keep HFS icon position
-root-info FILE finderinfo for root folder
-input-hfs-charset CHARSET Local input charset for HFS file name conversion
-output-hfs-charset CHARSET Output charset for HFS file name conversion
-hfs-unlock Leave HFS Volume unlocked
-hfs-bless FOLDER_NAME Name of Folder to be blessed
-hfs-parms PARAMETERS Comma separated list of HFS parameters
-prep-boot FILE PReP boot image file -- up to 4 are allowed
-chrp-boot Add CHRP boot header
--cap Look for AUFS CAP Macintosh files
--netatalk Look for NETATALK Macintosh files
--double Look for AppleDouble Macintosh files
--ethershare Look for Helios EtherShare Macintosh files
--exchange Look for PC Exchange Macintosh files
--sgi Look for SGI Macintosh files
--macbin Look for MacBinary Macintosh files
--single Look for AppleSingle Macintosh files
--ushare Look for IPT UShare Macintosh files
--xinet Look for XINET Macintosh files
--dave Look for DAVE Macintosh files
--sfm Look for SFM Macintosh files
--osx-double Look for MacOS X AppleDouble Macintosh files
--osx-hfs Look for MacOS X HFS Macintosh files
This version of mkisofs includes the unofficial iconv-patch
from http://users.utu.fi/jahhein/mkisofs/
Report errors to cdrtools@packages.debian.org (mailto:cdrtools@packages.debian.org)

Byte Position Field Name Content
1 Volume Descriptor Type 1
2 to 6 Standard Identifier CD001
41 to 72 Volume Identifier d-characters allowed (1)
81 to 88 Volume Space Size Number of logical blocks in the Volume
129 to 132 Logical Block Size The size in bytes of a Logical Block. Most ISO
9660 discs use a Logical Block Size of 2048, the same as Sector Size
133 to 140 Path Table Size Length in bytes of the Path Table
141 to 144 Location of Type L Path Table Logical Block Number of first Block
allocated to the Type L Path Table, Type L meaning multiple byte numerical values
are recorded with least significant byte first. This value is also recorded with
least significant byte first.
149 to 152 Location of Type M Path Table Logical Block Number of first Block
allocated to the Type M Path Table, Type M meaning multiple byte numerical values
are recorded with most significant byte first. This value is also recorded with
most significant byte first.
157 to 190 Directory record for Root Directory This is the actual directory
record for the top of the directory structure. See the section on directory records
for the format of this data.
319 to 446 Publisher Identifier Identifiers who provided the actual data
contained in the files. a-characters allowed.
447 to 574 Data Prepare Identifier Identifiers who performed the actual creation
of the current volume. a-characters allowed.
575 to 702 Application Identifier Identifies the specification of how the data in
the files are recorded. For example, this field might contain SGML if the files were
recorded according to the Standard Generalized Markup Language.
703 to 739 Copyright File Identifier Identifies the file in the root
directory that contains copyright notice for this volume. If there is no copyright
file, this field should contain all spaces.
740 to 776 Abstract File Identifier Identifies the file in the root directory that
contains the abstract statement for this volume. If there is no abstract file, this
field should contain all spaces.
777 to 813 Bibliographic File Identifier Identifies the file in the root
directory that contains bibliographic records. If there is no bibliographic file,
this field should contain all spaces.

d-characters are: A-Z, 0-9, _ (see ISO-9660:1988, Annex A, Table 15)
a-characters are: A-Z, 0-9, _, space, !, ", %, &, ', (, ), *, +, ,, -, ., /, :, ;, <, =, >
, ? (see ISO-9660:1988, Annex A, Table 14)


Files (0)
 

Retrieved from "http://www.penguinsunbound.com/User:Goeko/Mkisofs"

Accessed 302 times.This page was last modified 23:13, 28 Sep 2007



Running DekiWiki-stable.