Home | History | Annotate | Line # | Download | only in dist
      1  1.1  tsutsui 
      2  1.1  tsutsui 	mkhybrid v1.12b5.1 - make ISO9660/HFS shared hybrid CD volume
      3  1.1  tsutsui 
      4  1.1  tsutsui HFS hybrid code Copyright (C) James Pearson 1997, 1998, 1999
      5  1.1  tsutsui libhfs code Copyright (C) 1996, 1997 Robert Leslie
      6  1.1  tsutsui libfile code Copyright (c) Ian F. Darwin 1986, 1987, 1989,
      7  1.1  tsutsui 	1990, 1991, 1992, 1994, 1995
      8  1.1  tsutsui mkisofs code Copyright 1993 Yggdrasil Computing, Incorporated
      9  1.1  tsutsui 
     10  1.1  tsutsui WARNING - this is Beta release code - please use with care!
     11  1.1  tsutsui If you find a bug, please report it to the address given below.
     12  1.1  tsutsui 
     13  1.1  tsutsui This code is based on a Beta release of mkisofs, so there may be
     14  1.1  tsutsui problems unrelated to my additions. However, I have found mkisofs
     15  1.1  tsutsui v1.12b5 to be very stable.
     16  1.1  tsutsui 
     17  1.1  tsutsui However, many people are using v1.12, so although it's called a "beta"
     18  1.1  tsutsui release, I would encourage people to use it ...
     19  1.1  tsutsui Most of the HFS features work fine, however, some are not fully tested.
     20  1.1  tsutsui These are marked as "Alpha" in the man page.
     21  1.1  tsutsui 
     22  1.1  tsutsui Please read the man page (mkhybrid.8, or mkhybrid_man.html) for information
     23  1.1  tsutsui on how to use mkhybrid.
     24  1.1  tsutsui 
     25  1.1  tsutsui Also see "ChangeLog.mkhybrid" for any minor changes/bug fixes
     26  1.1  tsutsui 
     27  1.1  tsutsui DESCRIPTION
     28  1.1  tsutsui 
     29  1.1  tsutsui mkhybrid is a pre-mastering utility that creates ISO9660/ROCKRIDGE/JOLIET/HFS
     30  1.1  tsutsui hybrid CDROM images. You will have to use some other CD-R package to write
     31  1.1  tsutsui the image to a CD.
     32  1.1  tsutsui 
     33  1.1  tsutsui INSTALLATION
     34  1.1  tsutsui 
     35  1.1  tsutsui To make/install, type "./configure", make any changes to the Makefile
     36  1.1  tsutsui and type "make"
     37  1.1  tsutsui 
     38  1.1  tsutsui This has been tested with gcc on SunOS 4.1.3 (see below), gcc on Linux
     39  1.1  tsutsui (Redhat v5.1), cc on IRIX 5.3/6.2 and gcc on Win95/WinNT4 using Cygnus'
     40  1.1  tsutsui cygwin (see README.win32)
     41  1.1  tsutsui 
     42  1.1  tsutsui If you are using SunOS 4.1.[34], then you need the following patches
     43  1.1  tsutsui to read CDs with associated files:
     44  1.1  tsutsui 
     45  1.1  tsutsui SunOS 4.1.3:		Patch 101832-05
     46  1.1  tsutsui SunOS 4.1.3_U1:		Patch 101833-02
     47  1.1  tsutsui SunOS 4.1.4:		Patch 102583-02
     48  1.1  tsutsui 
     49  1.1  tsutsui 
     50  1.1  tsutsui EXAMPLES
     51  1.1  tsutsui 
     52  1.1  tsutsui To create a HFS hybrid CD with the Joliet and Rock Ridge extensions or
     53  1.1  tsutsui the source directory cd_dir:
     54  1.1  tsutsui 
     55  1.1  tsutsui % mkhybrid -o cd.iso -r -J -hfs cd_dir
     56  1.1  tsutsui 
     57  1.1  tsutsui To create a HFS hybrid CD from the source directory cd_dir that contains
     58  1.1  tsutsui Netatalk Apple/Unix files:
     59  1.1  tsutsui 
     60  1.1  tsutsui % mkhybrid -o cd.iso --netatalk cd_dir
     61  1.1  tsutsui 
     62  1.1  tsutsui To create a HFS hybrid CD from the source directory cd_dir, giving all files
     63  1.1  tsutsui CREATOR and TYPES based on just their filename extensions listed in the file 
     64  1.1  tsutsui "mapping".:
     65  1.1  tsutsui 
     66  1.1  tsutsui % mkhybrid -o cd.iso -no-mac-files -map mapping cd_dir
     67  1.1  tsutsui 
     68  1.1  tsutsui To create a CD with the 'Apple Extensions to ISO9660', from the source
     69  1.1  tsutsui direcories cd_dir and another_dir. Files in all the known Apple/Unix format
     70  1.1  tsutsui are decoded and any other files are given CREATOR and TYPE based on their
     71  1.1  tsutsui magic number given in the file "magic":
     72  1.1  tsutsui 
     73  1.1  tsutsui % mkhybird -o cd.iso -magic -apple cd_dir another_dir
     74  1.1  tsutsui 
     75  1.1  tsutsui The following example puts different files on the CD that all have
     76  1.1  tsutsui the name README, but have different contents when seen as a
     77  1.1  tsutsui ISO9660/RockRidge Joliet or HFS CD.
     78  1.1  tsutsui 
     79  1.1  tsutsui Current directory contains
     80  1.1  tsutsui 
     81  1.1  tsutsui % ls -F
     82  1.1  tsutsui README.hfs     README.joliet  README.unix    cd_dir/
     83  1.1  tsutsui 
     84  1.1  tsutsui The following command puts the contents of the directory "cd_dir" on the
     85  1.1  tsutsui CD along with the three README files - but only one will be seen from
     86  1.1  tsutsui each of the three filesystems:
     87  1.1  tsutsui 
     88  1.1  tsutsui % mkhybrid -o cd.iso -hfs -J -r \
     89  1.1  tsutsui         -hide README.hfs -hide README.joliet \
     90  1.1  tsutsui         -hide-joliet README.hfs -hide-joliet README.unix \
     91  1.1  tsutsui         -hide-hfs README.joliet -hide-hfs README.unix \
     92  1.1  tsutsui         README=README.hfs README=README.joliet README=README.unix \
     93  1.1  tsutsui         cd_dir
     94  1.1  tsutsui 
     95  1.1  tsutsui i.e. the file README.hfs will be seen as README on the HFS CD and the
     96  1.1  tsutsui other two README files will be hidden. Similarly for the Joliet and
     97  1.1  tsutsui ISO9660/RockRidge CD.
     98  1.1  tsutsui 
     99  1.1  tsutsui There are probably all sorts of stange results possible with
    100  1.1  tsutsui combinations of the hide options ...
    101  1.1  tsutsui 
    102  1.1  tsutsui 
    103  1.1  tsutsui Any comments, bug reports/fixes to the address below.
    104  1.1  tsutsui 
    105  1.1  tsutsui Please state the version, platform and command line used when submitting
    106  1.1  tsutsui a bug report - the output from "-log-file -v" would help.
    107  1.1  tsutsui 
    108  1.1  tsutsui James Pearson (j.pearson (a] ge.ucl.ac.uk)
    109