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 03-18-2006, 10:43 PM   #1
paddyjoy
Member
 
Registered: Apr 2005
Location: Sydney
Distribution: FC5
Posts: 174

Rep: Reputation: 30
Long file names in data-DVD


I'm backing up some files from my system onto dvd using the following commands:
Code:
$ mkisofs -dvd -udf -o disk.iso datadir
$ growisofs -Z /dev/hdd=dvd.iso
It works fine but mkisofs shortens all the file names. Is there any way to avoid this?

Paddy
 
Old 03-19-2006, 12:34 AM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 61
I have always just used growisofs on its own. Growisofs actually uses mkisofs to create an iso, so there is no need to use the two separately. The command I use is:
Code:
growisofs -Z /dev/dvd -R -J /some/files
-J is for Joliet, which allows long file names on Windows machines.
-R is similar, but for Linux.
This is from the man page for mkisofs.
 
Old 03-19-2006, 03:30 AM   #3
paddyjoy
Member
 
Registered: Apr 2005
Location: Sydney
Distribution: FC5
Posts: 174

Original Poster
Rep: Reputation: 30
Thanks for the tip however it still shortens the names when I do it on my system

Code:
[paddy@patrickjoy shares]# growisofs -Z /dev/dvd -R -J pictures/
Executing 'mkisofs -R -J pictures/ | builtin_dd of=/dev/dvd obs=32k seek=0'
Unknown file type (unallocated) pictures/.. - ignoring and 
Using GRADU000.JPG;1 for  pictures/Grad pics/Graduation 012.jpg (Graduation 023.jpg)
Using GRADU001.JPG;1 for  pictures/Grad pics/Graduation 023.jpg (Graduation 022.jpg)
Using GRADU002.JPG;1 for  pictures/Grad pics/Graduation 022.jpg (Graduation 024.jpg)
Using GRADU003.JPG;1 for  pictures/Grad pics/Graduation 024.jpg (Graduation 011.jpg)
Using GRADU004.JPG;1 for  pictures/Grad pics/Graduation 011.jpg (Graduation 006.jpg)
Using GRADU005.JPG;1 for  pictures/Grad pics/Graduation 006.jpg (Graduation 015.jpg)
The only thing I can think of doing is tarring up the files first then writing the tar file to the dvd.

Paddy
 
Old 03-19-2006, 07:01 AM   #4
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 61
Using tar is certainly one way of solving the problem.

Do the long file names show up when you access the DVD, or are they all 8.3 format?

--Ian
 
Old 03-19-2006, 07:05 AM   #5
paddyjoy
Member
 
Registered: Apr 2005
Location: Sydney
Distribution: FC5
Posts: 174

Original Poster
Rep: Reputation: 30
Unfortunately the short ones show up on the DVD, for example a file Graduation 012.jpg will be on the DVD as GRADU000.JPG. It's pretty annoying! Maybe it is a lmitation of the DVD file structure, not sure!

I'm just using tar for now.

Paddy
 
  


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
Fat32 Long file names cppkid Programming 1 07-29-2005 05:01 AM
long file names; fatso32 itzfritz Linux - General 7 11-14-2004 07:56 PM
dosfs and long file names Ipolit Slackware 3 12-08-2003 02:36 PM
How to mount DVD-R with long file names? tells Linux - General 1 09-18-2003 07:36 PM
Long File Names Pwcca Linux - General 1 03-05-2003 06:15 AM


All times are GMT -5. The time now is 09:28 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration