LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-28-2004, 05:45 PM   #1
Registered: Dec 2003
Location: England
Distribution: Ubuntu
Posts: 71

Rep: Reputation: 15
mkisofs & symbolic links to directories


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.

Old 10-28-2004, 07:32 PM   #2
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 73
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
mkisofs -r -o my_image.img /home/user/whatever
Burn it to CD by running this command:
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache & symbolic links zeky Linux - Software 3 06-19-2008 10:23 AM
Symbolic Links, directories, and relative paths (../). Can it be done? jimwillsher Linux - Newbie 1 03-11-2005 06:27 PM
Symbolic Links Greg_courageous Linux - Newbie 1 05-10-2004 08:05 AM
mkisofs/cdrecord and directories Pedroski Linux - Software 4 03-12-2004 04:11 PM
symbolic links NoahsMyBro Linux - Newbie 1 11-16-2001 12:13 PM

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration