I assume that's v1.11a12 of cdrtools (with includes mkisofs v1.15a12) ...

There are a couple of problems here:

You need to use the -graft-points option - if you don't then the
directories 'F:/Pages', 'F:/Pages/Docs' and 'F:/PDFs' get mapped
to the top level of the CD - that is, their immediate contents appear
in the root of the CD.

e.g attempts to but both 'F:/Pages/Desktop.ini' and 'F:/PDFs/Desktop.ini'
at the top level of the CD - hence the error message.

The syntax for the -graft-points will be something like:

mkisofs -r -J -o cd.iso -graft-points -path-list cdfiles

where 'cdfiles' contain:

/Pages/=F:/Pages
/Pages/Docs/=F:/Pages/Docs
/PDFs/=F:/PDFs

[I haven't done this with the Cygwin version, so I don't know how mkisofs
will cope with 'DOS style' pathspecs in the path-list file]

However, this will still give you problems as /Pages/Docs is a sub-directory
of /Pages, so you will still get name clashes. i.e. leave out the
/Pages/Docs line.

As you really want to give mkisofs a list of files to include on the CD,
then you might want to look at my 'files' test patch at:

ftp://ftp.ge.ucl.ac.uk/pub/mkhfs/testing/

See the file 'README.files'

By default, mkisofs includes all the files it finds in a given source
directory - and you have to explictly exclude files if you don't want
them. This patch works the other way round, it will only include the
file names given - it may help you in this case.

However, I have not tested the patch in the Cygwin environment.

James Pearson

>This regards the Win32/Cygwin compiled version 1.11a12 of MKISOFS.
>
>The command: "mkisofs.exe -o cd.iso -r -J F:/"
>results in a perfect mirror image of the contents of drive 'F' which 
>includes directories with subdirectories, files with names like 
>"Chinese-Big5.lang.txt" and several files with the same name but in 
>different directories. Mkisofs handles all these cases without a problem 
>and cdrecord faithfully records the iso to a CDR/CDRW perfectly.
>
>However the same command with the added -path-list file 
>option  i.e.  "mkisofs.exe -o cd.iso -path-list cdfiles -r -J F:/"
>results in error messages such as:
>Using CHINE000.TXT;1 for  /Chinese-Big5.lang.txt (Chinese-Big5.lang.txt)
>Error: F:/AutoPlay.exe and F:/AutoPlay.exe have the same Rock Ridge name
>Error: F:/Pages/Desktop.ini and F:/PDFs/Desktop.ini have the same Rock 
>Ridge name
>
>cdfiles (the -path-list file) has pathspecs designations like:
>F:/Pages
>F:/Pages/Docs
>F:/PDFs
>
>Am I using the -path-list option wrong? Or using the wrong pathspec 
>designations in the -path-list file? Does every single file in every 
>directory need to be listed or do wild card designations 
>like   *.*  or  *.txt  need to be used?  And do I need to include the 
>-allow-multidot option when using -path-list?
>
>What I would like to be able to do is to use a file that lists all the 
>directories and/or files to be included in the iso image rather than using 
>the command line. That way I could use any one of several -path-list files 
>(even files created on-the-fly) as a variable and plug it into a batch file 
>or front-end for mkisofs.


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

Reply via email to