>From: Joachim Backes <[EMAIL PROTECTED]>

>I have problems to use mkisofs when using the "graft-points" option:
>My aim is to make an image of the directory /xxx/yyy and the file named a=b.

>my mkisofs command is:

>        mkisofs -graft-points xxx/yyy=/xxx/yyy 'a\=b'

>mkisofs is rejected by: Invalid node - a\=b

>I am not sure whether I understood the usage of escaping the = character
>correctly, but I am sure that mkisofs gets the string "a\=b" as the second
>filename.

>How to escape correctly? (I use RedHat 6.1 as OS).

There is a bug in the mkisofs-1.13...

Here is a patch:

------- mkisofs.c -------
*** /tmp/sccs.p0aiX1    Mit Aug  9 17:44:41 2000
--- mkisofs.c   Mit Aug  9 17:48:28 2000
***************
*** 2080,2086 ****
        if (!use_graft_ptrs)
                node = NULL;
        if (node == NULL) {
!               node = arg;
        } else {
                /*
                 * Remove '\\' escape chars which are located
--- 2080,2089 ----
        if (!use_graft_ptrs)
                node = NULL;
        if (node == NULL) {
!               if (use_graft_ptrs)
!                       node = escstrcpy(nodename, arg);
!               else
!                       node = arg;
        } else {
                /*
                 * Remove '\\' escape chars which are located
***************
*** 2223,2229 ****
                        }
                } else {
                        graft_dir = root;
!                       node = arg;
                }
  
                /*
--- 2226,2235 ----
                        }
                } else {
                        graft_dir = root;
!                       if (use_graft_ptrs)
!                               node = escstrcpy(nodename, arg);
!                       else
!                               node = arg;
                }
  
                /*

J�rg

 EMail:[EMAIL PROTECTED] (home) J�rg Schilling D-13353 Berlin
       [EMAIL PROTECTED]               (uni)  If you don't have iso-8859-1
       [EMAIL PROTECTED]           (work) chars I am J"org Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


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



Reply via email to