>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.
I *think* the syntax should be:
mkisofs -graft-points /xxx/yyy=xxx/yyy a\\=b
However, after having had a quick look at the code, this still won't work -
I'm pretty sure this is a bug ...
The following patch (made against mkisofs v1.13 (cdrecord 1.9)) seems to
fix the problem ... hopefully Joerg will be able to check this (or let us
know the correct syntax) - as I haven't really used the -graft-points
syntax in anger yet ...
James Pearson
*** mkisofs.c.dist Thu Jul 20 17:31:17 2000
--- mkisofs.c Tue Aug 8 17:35:20 2000
***************
*** 2080,2086 ****
if (!use_graft_ptrs)
node = NULL;
if (node == NULL) {
! node = arg;
} else {
/*
* Remove '\\' escape chars which are located
--- 2080,2086 ----
if (!use_graft_ptrs)
node = NULL;
if (node == NULL) {
! node = escstrcpy(nodename, arg);
} else {
/*
* Remove '\\' escape chars which are located
***************
*** 2223,2229 ****
}
} else {
graft_dir = root;
! node = arg;
}
/*
--- 2223,2229 ----
}
} else {
graft_dir = root;
! node = escstrcpy(nodename, arg);
}
/*
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]