Click to See Complete Forum and Search --> : some sort of mkisofs question


beosmrx
01-28-2007, 02:58 AM
how would I add directories recursively with mkisofs in -J mode . What I am doing currently results in all the files being just in the iso file, instead of the directories showing up

mkisofs -V "cd01" -J -o temp.iso Symphonix_-_Music_Prostitute-2006/ VA-For_DJ_Only_2007-01-2CD-Retail-2007-ONe/ Billy_Talent-Billy_Talent_II-\(Retail\)-2006-MP3/ Billy_Talent-Billy_Talent_\(Advance\)-2003-BUTT DJ_Dean_-_Eye_of_a_Champ-2006-MOD/

saikee
01-28-2007, 07:02 AM
I think the idea of using mkisofs is to make everything into an iso so that it can be burn into a bootable CD. The content in the Cd may be expanded to the directories that you want. Have you found it out the otherwise?

chameleon
01-28-2007, 07:25 AM
how would I add directories recursively with mkisofs in -J mode . What I am doing currently results in all the files being just in the iso file, instead of the directories showing up

mkisofs -V "cd01" -J -o temp.iso Symphonix_-_Music_Prostitute-2006/ VA-For_DJ_Only_2007-01-2CD-Retail-2007-ONe/ Billy_Talent-Billy_Talent_II-\(Retail\)-2006-MP3/ Billy_Talent-Billy_Talent_\(Advance\)-2003-BUTT DJ_Dean_-_Eye_of_a_Champ-2006-MOD/

Directories should be added. I think your problem is that you are specifying several input directories instead of one, so mkisofs is just dumping the contents of these directories into the image, and I'm assuming there are no sub directories in there?

beosmrx
01-28-2007, 02:26 PM
Nope. But first if I add one folder that has all the other folders inside of it they will show up when I mount the iso but then the folder that I said to make an iso doesnt show, just the files and folders that were in it. This is for making my CD-RWs that I then use in my MP3 CD player. I tried doing '-root root' but that just created a folder and then put all the mp3 files non-recursively inside that directory. Any ideas from here ? I could make it by creating a temp folder and then making links to the directories and then make an iso out of that...
mkisofs -V "cd01" -J -f -o temp.iso temp2addmp3/

I would much rather figure out what the correct solution is to my original problem :(

retsaw
01-28-2007, 02:49 PM
I think the only other solution is to use graft points. e.g.mkisofs -V "cd01" -J -graft-points -o temp.iso DirNameOnCD=/path/to/actual/dirwhere "DirNameOnCD" is the name you want the directory to show up as in your iso.

chameleon
01-28-2007, 03:55 PM
Yeah, graft-points seem to be the way forward. Unfortunately it doesn't look like there is an easy way of avoiding typing in a graft-point for each of your directories, a little tedious if you have lots of them. You could always write a script, or just use your original temp folder idea!

beosmrx
01-29-2007, 02:13 AM
Yeah... graft thing is a solution but not one I will be using. I guess I can live with using a temp folder with the links to the albums I want. I just need to remember to use the -f flag that means to follow links (btw I am on beos, cdrecord and mkisofs work great on here)