LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-25-2009, 04:39 AM   #1
vaibhavs
Member
 
Registered: Jun 2008
Posts: 113

Rep: Reputation: 15
growisof : file names on DVD are in ALL CAPS


Hi,

I am using the following command to write data to DVD:

Code:
growisofs -dvd-compat -speed=1 -use-the-force-luke=bufsize:32m -Z /dev/sr0 -graft-points -rational-rock -full-iso9660-filenames -iso-level 2 -V $DATE $(sed 's/\n/ /g' /Backups/scripts/DVDBackupList.txt)

Everything is working fine, but the file names (of all files and folders) on DVD are in ALL CAPS.

If and when I restore data from DVD to server, I have a difficult time resetting the file names as it originally was.


I checked on google, but could not find any info.

Please suggest what I may be doing wrong and how to correct.

Thx
Vai
 
Old 07-26-2009, 06:57 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Hello vaibhavs

From the genisoimage man page: With all ISO9660 levels from 1 to 3, all filenames are restricted to uppercase letters ..

Best

Charles
 
Old 07-27-2009, 04:24 AM   #3
vaibhavs
Member
 
Registered: Jun 2008
Posts: 113

Original Poster
Rep: Reputation: 15
@catkin, yes, the man pages talks about this.

But I am damn confused with the options, --allow-lower, 8.3 format, multiple dots format and lots of other options.

Someone please help me with the appropriate syntax which will help me reproduce the exact files names as on the linux box (be it 8.3 or multiple dot or small case, large case or mixed case).

Please help!!

Thx
Vai
 
Old 07-27-2009, 04:35 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Hello Vai
Quote:
Originally Posted by vaibhavs View Post
@catkin, yes, the man pages talks about this.

But I am damn confused with the options, --allow-lower, 8.3 format, multiple dots format and lots of other options.

Someone please help me with the appropriate syntax which will help me reproduce the exact files names as on the linux box (be it 8.3 or multiple dot or small case, large case or mixed case).
I cannot fully answer your question, having only used growisofs with simple filenames, not the full range you are asking for, but I can tell you that where your command includes -iso-level 2 it is guaranteed not to give you what you want! Try changing to -iso-level 4 and see if that does all you want.

There's one limit you may not be able to get around and that is maximum path length. That's "path" as in directory names followed by file name. The limit on DVDs is smaller than on Linux. A workaround is to put all the files into an archive and put the archive file on the DVD. Common archivers: tar, cpio, dar.

Best

Charles
 
Old 07-27-2009, 04:53 AM   #5
vaibhavs
Member
 
Registered: Jun 2008
Posts: 113

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by catkin View Post
I can tell you that where your command includes -iso-level 2 it is guaranteed not to give you what you want!
The man page says this:

With all ISO9660 levels from 1 to 3, all filenames are restricted to uppercase letters, numbers and underscores (_).

For certain reasons, I wish to backup directory structures as it is, and not put them into archives.

I am stuck!!!

Please help someone...


Thx
Vai
 
Old 07-27-2009, 07:40 AM   #6
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Hello Vai
Quote:
Originally Posted by vaibhavs View Post
For certain reasons, I wish to backup directory structures as it is, and not put them into archives.
That may not be possible; what then?

Quote:
Originally Posted by vaibhavs View Post
I am stuck!!!

Please help someone...
No you are not. You could read a little further in the man page or you could try what I suggested about iso-level.

Regards getting the most out of LQ ... People who answer posts are completely free to do so or not. What do you think motivates them most? Your distress? Your need to be spoon fed? Or that you have made a sincere effort to solve your problem including trying advice given?

Best

Charles
 
Old 07-27-2009, 10:35 AM   #7
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Jessie (Fluxbox WM)
Posts: 1,387
Blog Entries: 52

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
an argument for a different archive solution

Quote:
I wish to backup directory structures as it is, and not put them into archives
Unfortunately transferring from one file system to another will always involve some loss of information because of incompatibilities (you might be able to live with that). For example, the ISO file systems are going to lose much of the permission information on the files being backed up from the hard disk. That is what motivates people to use archive formats for backup.

One middle road solution is to use something like squashfs. You can create a single archive which is burnt onto the DVD, but this can then be mounted via loopback as if it were a real device (so that from the point of view of the system accessing the backup, it looks like a normal linux filesystem, even though it is actually an archive on a DVD).
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
using growisofs to write dvd causes small file names sumeet inani Linux - Newbie 1 06-29-2009 05:22 AM
why is growisofs changing my file names with data dvd? kryptobs2000 Linux - Software 2 01-17-2008 01:57 PM
Long file names in data-DVD paddyjoy Linux - Newbie 4 03-19-2006 07:05 AM
Mount DVD While Preserve Upper Case File Names xptools Linux - Software 2 12-12-2005 11:18 AM
How to mount DVD-R with long file names? tells Linux - General 1 09-18-2003 07:36 PM


All times are GMT -5. The time now is 02:53 PM.

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