Mombu the GNU Linux Forum sponsored links

Go Back   Mombu the GNU Linux Forum > GNU_Linux > problems wiht lower/upper case on DVD versus dd created ISO-image
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 21st September 09:10
de kameel
External User
 
Posts: 1
Default problems wiht lower/upper case on DVD versus dd created ISO-image


Hi,

This is really puzzling me:

1) When I put a video-DVD into my drive, it is mounted and it is shown with
*lower* case directory and file names, both via 'ls' and Konqueror.
2) When I create an ISO-image from the same video-DVD and mount that
ISO-image, I see *upper* case case directory and file names.
3) a 'less' of the the ISO-image shows uppercase (apparently 'less' does
interpretation of the ISO-image?)

I'm quite sure this can't be true at the same time, so one of the tools or
views (!) must be wrong.

My hypothesis is the source video-DVD is correct and therefor must have
uppercase names (=spec video-DVD, right?), and the problem must therefor be
in the mounting and/or the presentation of the video-DVD by
mount/ls/konqueror.

Can anyone confirm this, explain this or give tips?

Details below.

FYI: This seems to be the source of the problem of playing video-DVDs on my
Samsung Home Theater.

de Kameel

sander@athlon64:~$ mount | grep cdrom
/dev/hda on /media/cdrom0 type iso9660 (ro,noexec,nosuid,nodev,user=sander)
sander@athlon64:~$

sander@athlon64:~$ ls -al /media/cdrom/
total 10
dr-xr-xr-x 1 root root 2048 2007-04-23 18:56 .
drwxr-xr-x 3 root root 4096 2007-05-14 23:38 ..
dr-xr-xr-x 1 root root 2048 2007-04-23 18:56 audio_ts
dr-xr-xr-x 1 root root 2048 2007-04-23 18:56 video_ts

sander@athlon64:~$ dd if=/dev/hda of=pan-grote-of-kleine-letters.iso

8146240+0 records in
8146240+0 records out
4170874880 bytes (4.2 GB) copied, 301.856 seconds, 13.8 MB/s
sander@athlon64:~$

sander@athlon64:~$ sudo mount -o loop pan-grote-of-kleine-letters.iso iso2/

sander@athlon64:~$ ls -al iso2/
total 10
dr-xr-xr-x 4 4294967295 4294967295 136 2007-04-23 18:56 .
drwxr-xr-x 31 sander sander 4096 2007-05-17 11:57 ..
dr-xr-xr-x 2 4294967295 4294967295 40 2007-04-23 18:56 AUDIO_TS
dr-xr-xr-x 2 4294967295 4294967295 456 2007-04-23 18:56 VIDEO_TS
sander@athlon64:~$

sander@athlon64:~$ less pan-grote-of-kleine-letters.iso


CD-ROM is in ISO 9660 format
System id:
Volume id: NIEUW
Volume set id: UNDEFINED
Publisher id:
Data preparer id:
Application id: NERO BURNING ROM
Copyright File id:
Abstract File id:
Bibliographic File id:
Volume set size is: 1
Volume set sequence number is: 1
Logical block size is: 2048
Volume size is: 2036304
NO Joliet present
**BAD RRVERSION (0)
NO Rock Ridge present

/AUDIO_TS
/VIDEO_TS
/VIDEO_TS/VIDEO_TS.BUP;1
/VIDEO_TS/VIDEO_TS.IFO;1
/VIDEO_TS/VTS_01_0.BUP;1
/VIDEO_TS/VTS_01_0.IFO;1
/VIDEO_TS/VTS_01_1.VOB;1
/VIDEO_TS/VTS_01_2.VOB;1
/VIDEO_TS/VTS_01_3.VOB;1
/VIDEO_TS/VTS_01_4.VOB;1
pan-grote-of-kleine-letters.iso (END)
  Reply With Quote


  sponsored links


2 21st September 09:10
de kameel
External User
 
Posts: 1
Default problems wiht lower/upper case on DVD versus dd created ISO-image


Found it myself! It indeed is a matter of mounting, and the trick is this
part in the 'mount' option:

map=n[ormal] / map=o[ff] / map=a[corn]
For non-Rock Ridge volumes, normal name translation maps upper
to lower case ASCII, drops a trailing â;1â, and converts â;â to
â.â. With map=off no name translation is done. See norock.
(Default: map=normal.) map=acorn is like map=normal but also
apply Acorn extensions if present.


When I say "-o map=off" or put "map=off" into the options of /etc/fstab,
everything is OK again as the directories on the DVD are shown in uppercase
not lowercase:


sander@athlon64:~$ mount | grep cdrom
/dev/hda on /media/cdrom0 type iso9660 (ro,noexec,nosuid,nodev,map=off)
sander@athlon64:~$
sander@athlon64:~$
sander@athlon64:~$ ls -al /media/cdrom0/
total 10
dr-xr-xr-x 1 root root 2048 2007-04-23 18:56 .
drwxr-xr-x 4 root root 4096 2007-05-17 14:08 ..
dr-xr-xr-x 1 root root 2048 2007-04-23 18:56 AUDIO_TS
dr-xr-xr-x 1 root root 2048 2007-04-23 18:56 VIDEO_TS
sander@athlon64:~$


My /etc/fstab now looks like this:
/dev/hda /media/cdrom0 udf,iso9660 user,noauto,map=off 0 0


Solved. And now I must find the real cause of the Samsung problems. :-(
de Kameel
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666