Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
loop-device cuts filenames to 8 chars
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
zeus06
n00b
n00b


Joined: 31 May 2007
Posts: 5

PostPosted: Sun Jun 10, 2007 1:58 pm    Post subject: loop-device cuts filenames to 8 chars Reply with quote

Hey there!

I got a little problem:

Whenever I want to mount an .iso file, it gets mounted, but every filename/directory name is cut down to 8 chars...

I got root permissions and mount the .iso with
Code:
mount -o loop /myfile.iso /mnt/iso
It's a cdrom-image, mount says
Code:
/mnt/daten/software/games/UT03/UT03_CD1.iso on /mnt/iso type iso9660 (rw,loop=/dev/loop0)
so this should be correct...

I've also considered my kernel being the problem, so I activated
Code:
CDROM/DVD Filesystems -> Joliet
CDROM/DVD Filesystems -> UDF
and re-installed it, but I had no success.

Could anyone please help me?
Back to top
View user's profile Send private message
Shazam
Apprentice
Apprentice


Joined: 23 Nov 2004
Posts: 191
Location: Germany

PostPosted: Sun Jun 10, 2007 9:56 pm    Post subject: Reply with quote

have you tried different iso files?

it sounds like the iso file uses a the old iso level (1) or something like with afaik doesn't support longer filenames.

what about normal cds, is there a difference?
Back to top
View user's profile Send private message
zeus06
n00b
n00b


Joined: 31 May 2007
Posts: 5

PostPosted: Mon Jun 11, 2007 2:10 pm    Post subject: Reply with quote

i opened the iso with ISO Master and it showed the full names...
but: damn, you're right! another iso shows full names...can i convert the iso's somehow to make them use the new format?
can i mount a folder as device?

if i could, i could extract the content with ISO Master (this works, i've tested), mount the directory as device and create a new iso with dd.......

i'll try creating an iso of a normal cd with long filenames, using dd.
i'll post my results then.

thanks for your reply!
Back to top
View user's profile Send private message
Shazam
Apprentice
Apprentice


Joined: 23 Nov 2004
Posts: 191
Location: Germany

PostPosted: Mon Jun 11, 2007 6:07 pm    Post subject: Reply with quote

well, i guess once you've written an iso, you can't change from short to long filenames, as there is no information about the long filename.
shortening a filename should be possible though, but as an act of converting an iso from one type to another, i don't have an idea.

however, in case you say, iso master (i don't know this program) shows you the full names, simply extract the files with this program and create a new image with you favorite burning program ...
k3b for example. you simple click on only create image when it comes to burning the cd.

another way would be (actually k3b uses mkisofs, too however it wraps in a gui) it:
Code:

mkisofs -J -R -l -V -iso-level=3 "CD-NAME" -z -allow-lowercase -allow-multidot -joliet-long -relaxed-filenames -o YOUR.ISO PATH_OF_YOUR_FILES

i hope i didn't miss any commands, but in case i did, man mkisofs and you hopefully find a solution.
Back to top
View user's profile Send private message
zeus06
n00b
n00b


Joined: 31 May 2007
Posts: 5

PostPosted: Mon Jun 11, 2007 9:24 pm    Post subject: Reply with quote

man, thanks.

perfect solution!


<--please close, problem solved-->
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum