LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   mkisofs & symbolic links to directories (http://www.linuxquestions.org/questions/linux-general-1/mkisofs-and-symbolic-links-to-directories-248509/)

Imek 10-28-2004 04:45 PM

mkisofs & symbolic links to directories
 
Hi,

I've been trying to use ln, mkisofs and cdrecord to make MP3 CD's for my player. To achieve this I planned to put symbolic links to each album directory I want in a seperate directory, which I would then use mkisofs on to make my ISO image. However, when I use 'mkisofs -f' to do this, it follows the links - then just dumps all the contents of the symlinks to the root of the ISO image. In fact, it majorly messes up the names of all the files too, though the files themselves are intact. Is there any way to make mkisofs do it properly, or am I stuck with XCDRoast? I've been Ring TFM, but with no luck.

Thanks,

J.W. 10-28-2004 06:32 PM

I'd say just forget about the symlinks. Instead, create a new directory, which I'll call "/home/user/whatever", and copy the appropriate files into it. Next you would make your image file, which I'll call "my_image.img" by running this command
Code:

mkisofs -r -o my_image.img /home/user/whatever
Burn it to CD by running this command:
Code:

cdrecord -v speed=8 dev=0,0,0 -data my_image.img
Obviously you would want to adjust the speed parameter to fit your hardware. Good luck with it -- J.W.


All times are GMT -5. The time now is 04:10 PM.