//  This relates to the Cygwin version of MKISOFS v1.15a12 included in 
cdrtools and running on Win9x & WinXP //

James Pearson,  Bill Davidsen, et. al. regarding: "if it is possible to 
create an ISO9660 image with just the file names given on the command line and
preserving their path." ( from 'mkisofs-1.14-files-4.patch.gz' located at 
ftp://ftp.ge.ucl.ac.uk/pub/mkhfs/testing/ )

MKISOFS in a Win32 environment using the '-graph-points' option with a 
'-path-list' file only includes the files and directories listed (it does 
not recurse the directories).
Just to make this clear I include the following detailed example.
-----------------------------------------------------------------------------------------------------------------

To create an ISO9660 image of the following files located on my hardrive's 
logical drive 'F':
F:/Desktop.ini
F:/AutoPlay.exe
F:/program.exe
F:/copyright.gif
F:/readme.htm
F:/DBs/Desktop.ini
F:/DBs/DBO95.XLS
F:/DBs/DBO97.XLS
F:/Images/Desktop.ini
F:/Images/DB.bmp
F:/Images/button1.gif
F:/Images/button2.gif
F:/Menu/copyrt.htm
F:/Menu/mainmenu.htm
F:/Menu/Desktop.ini
F:/Pages/000.htm
F:/Pages/001.htm
F:/Pages/011.htm
F:/Pages/Desktop.ini
F:/Pages/Docs/001.doc
F:/Pages/Docs/002.doc
F:/Pages/Docs/Desktop.ini
F:/Pages/JPGs/000.jpg
F:/Pages/JPGs/001.jpg
F:/Pages/JPGs/Desktop.ini
F:/PDFs/manual.pdf
F:/PDFs/Desktop.ini

my batch file (or command line) contains the following:
mkisofs -r -J -o cd.iso -graft-points -path-list cdfiles    // Notice no 
path designation at the end. Paths however can be given for 'cd.iso and 
'cdfiles'.

the '-path-list' file 'cdfiles' contain the following lines:
/=F:/Desktop.ini
/=F:/AutoPlay.exe
/=F:/program.exe
/=F:/copyright.gif
/=F:/readme.htm
/DBs/=F:/DBs/Desktop.ini
/DBs/=F:/DBs/DBO95.XLS
/DBs/=F:/DBs/DBO97.XLS
/Images/=F:/Images/Desktop.ini
/Images/=F:/Images/DB.bmp
/Images/=F:/Images/button1.gif
/Images/=F:/Images/button2.gif
/Menu/=F:/Menu/copyrt.htm
/Menu/=F:/Menu/mainmenu.htm
/Menu/=F:/Menu/Desktop.ini
/Pages/=F:/Pages/000.htm
/Pages/=F:/Pages/001.htm
/Pages/=F:/Pages/011.htm
/Pages/=F:/Pages/Desktop.ini
/Pages/Docs/=F:/Pages/Docs/001.doc
/Pages/Docs/=F:/Pages/Docs/002.doc
/Pages/Docs/=F:/Pages/Docs/Desktop.ini
/Pages/JPGs/=F:/Pages/JPGs/000.jpg
/Pages/JPGs/=F:/Pages/JPGs/001.jpg
/Pages/JPGs/=F:/Pages/JPGs/Desktop.ini
/PDFs/=F:/PDFs/manual.pdf
/PDFs/=F:/PDFs/Desktop.ini

and the result is an ISO9660 output image with the same structure as the 
hardrive's logical drive 'F' .
(The directories are added, but not traversed).

In this case the iso image file contains the following layout of 
directories and files:
/Desktop.ini              // root directory of the CD
/AutoPlay.exe
/program.exe
/copyright.gif
/readme.htm
/DBs/Desktop.ini
/DBs/DBO95.XLS
/DBs/DBO97.XLS
/Images/Desktop.ini
/Images/DB.bmp
/Images/button1.gif
/Images/button2.gif
/Menu/copyrt.htm
/Menu/mainmenu.htm
/Menu/Desktop.ini
/Pages/000.htm
/Pages/001.htm
/Pages/011.htm
/Pages/Desktop.ini
/Pages/Docs/001.doc
/Pages/Docs/002.doc
/Pages/Docs/Desktop.ini
/Pages/JPGs/000.jpg
/Pages/JPGs/001.jpg
/Pages/JPGs/Desktop.ini
/PDFs/manual.pdf
/PDFs/Desktop.ini

Are you saying it doesn't work that way in Unix/Linux?

Bill 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to