Hi,
I am attempting to use the -graft-points option and I cannot find the correct syntax under OS/2. It appears the '=' is not properly recognized?
As an example I have a doc directory and I would like to maintain the files in /doc on the iso image. (by default it places them all in the iso image from the root.) I cannot understand which part of the statement is considered an invalid node. I have tried the same command under Linux and all is well. Please refer to my examples below (a sample of my attempts.) I also tried putting the filename list in an input file with the same results.
I am using the mkisofs version from the Hobbes package:
http://hobbes.nmsu.edu/pub/os2/apps/mmedia/cd/cd-r/cdrtools2-2.01.01a04.zip
[i:\dvdburn]mkisofs2.exe -o tmp.iso -graft-points "/doc=./doc"
Using ".mkisofsrc"
Invalid node - '/doc=./doc': -1 (23)
[i:\dvdburn]mkisofs2.exe -o tmp.iso -graft-points "/doc\=.\\doc"
Using ".mkisofsrc"
Invalid node - '/doc\=.\\doc': -1 (23)
[i:\dvdburn]mkisofs2.exe -o tmp.iso -graft-points "\doc=.\\doc"
Using ".mkisofsrc"
Invalid node - '\doc=.\\doc': -1 (23)
[i:\dvdburn]mkisofs2.exe -version
Using ".mkisofsrc"
mkisofs 2.01.01a04 (i386-pc-os2_vac)
ps This works but does not maintian the path :
[i:\dvdburn]mkisofs2.exe -o tmp.iso -graft-points "./doc"
Using ".mkisofsrc"
Using AN_2000.01A;1 for ./doc/AN-2.01a32 (AN-2.01a31)
Using AN_2001.01A;1 for ./doc/AN-2.01a31 (AN-2.01a30)
Using AN_2002.01A;1 for ./doc/AN-2.01a30 (AN-2.01a29)
Using AN_2003.01A;1 for ./doc/AN-2.01a29 (AN-2.01a28)
Hi again,
I gave up too early, I have found the answer (but Why?) To help out the next user, it apears the -graft-points option (which can be abreviated to -gr on this version) has the oposite effect on OS/2 then on Linux.. OMIT the option to use the graft points under OS/2 ! It seems it is the default.
From the included docs:
-graft-points
Allow to use graft points for filenames. If this option is used, all filenames are checked for graft points. The filename is divided at the first unescaped equal sign. All occurrences of '\\' and '=' characters must be escaped with '\\' if -graft-points has been specified.
From the built in help in mkisofs:
-graft-points DisAllow to use graft points for filenames
This now gives the the results I would like:
[i:\dvdburn]mkisofs2.exe -o tmp.iso "/doc=./doc"
Using ".mkisofsrc"
Using AN_2000.01A;1 for ./doc/AN-2.01a32 (AN-2.01a31)
Using AN_2001.01A;1 for ./doc/AN-2.01a31 (AN-2.01a30)
Using AN_2002.01A;1 for ./doc/AN-2.01a30 (AN-2.01a29)
Using AN_2003.01A;1 for ./doc/AN-2.01a29 (AN-2.01a28)
in the iso file I now have:
/
/doc/...
Regards,
Bart
If you have Audio/Data-CD-Creator installed, just drag the folder to Create Data-CD and select "Write image"
Cheers,
Greggory Shaw
Thanks,
I am trying to update my backup rexx scripts for a new dvd burner. (I can fit multiple directories on one disc now.)
I was having trouble with the retension of the base directories I am backing up. All is well now that I have found the magic incantation. I have been using similar rexx scripts under Linux, but the command line options are not exactly the same.
Regards,
Bart