Writing CDs using Linux

i

Wannabe Storage Freak
Joined
Feb 10, 2002
Messages
1,080
I have to say that this is one area where Windows absolutely blows the doors off of Linux. Has anyone here been able to write a CD using Linux with a directory structure that is anything more than brain-dead simple?

It's this Rock Ridge stuff that's driving me insane. Suppose I have a directory called "August" that contains a whole bunch of differently-named subdirectories. Within each one of those unique subdirectories, there happen to be files that share the same names as some files in the other subdirectories.

I want all the subdirectories in "/home/me/August/" preserved (and their contents too of course) and sent to an ISO file in /var/tmp. So here's the command I use:



[me@sparky]$ mkisofs -o /var/tmp/backup.iso -J -r -v -V August_Backup /home/me/August/*



And here's the output I get:



...
mkisofs: Error: '/home/me/August/Dingbats/WY.pdf' and '/home/me/August/FrootLoops/WY.pdf' have the same Rock Ridge name 'WY.pdf'
...

(the error is repeated over and over for hundreds of identically named files, but files which are contained in differently-named source directories)




This is beyond lame. Apparently the Rock Ridge extension (apparently a critical requirement for being able to read your CD on some UNIX systems - god knows which ones or under what conditions: it's not like you'll easily find any helpful information about it anywhere) require EACH AND EVERY FILE TO HAVE A UNIQUE NAME REGARDLESS OF THE DIRECTORY THEY'RE GOING TO BE IN. At least, that's the best I can tell so far.

The only "solution" I can find is to add the "-D" switch to the mkisofs command. But if you read the mkisofs documention, this is what it says:

"-D switch: Do not use deep directory relocation, and instead just pack them in the way we see them. This violates the ISO9660 standard, but it happens to work on many systems. Use with caution."

What kind of trash is this? Does this really mean I have the choice of either renaming thousands of files ensuring unique names for each one regardless of the subdirectory they're in, or violating some kind of other haywire standard that, quote, should be used with caution?

And they expect me to use Linux for any kind of important backup functions?! What kind of lunacy is this? Can anyone explain what I'm doing wrong here?
 

i

Wannabe Storage Freak
Joined
Feb 10, 2002
Messages
1,080
Darnit. This requires the use of so-called "graft points" doesn't it? I think I've had to solve this problem before, but I can't remember the details now ...

*grumble* *grumble*
 

Mercutio

Fatwah on Western Digital
Joined
Jan 17, 2002
Messages
21,604
Location
I am omnipresent
I usually make tarballs and then back those up. Much easier. :)
Seriously, have you played around on freshmeat.net?
 

i

Wannabe Storage Freak
Joined
Feb 10, 2002
Messages
1,080
The only GUI CD-writing app I've tried is X-CD-Roast.

Let me put my thoughts about it this way: I'd find CPanel easier and more intuitive to use for writing CDs than I would with X-CD-Roast. :wink:

Any suggestions for other options?
 

blakerwry

Storage? I am Storage!
Joined
Oct 12, 2002
Messages
4,203
Location
Kansas City, USA
Website
justblake.com
i think the title is kdb3 .. it's a common CD burner and I didn't have problems with it... i was backing up home directories and din't have problems... i would think that some of the files like trash and hidden files would have had the same name but been in different users' folders. Don't remember any of the details....
 
Top