[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Reading files/image creation from DVD



I'm trying to understand the following (on sid).

First the devices:

lrwxrwxrwx 1 root root      3 Jan  4 08:10 /dev/cdrom -> hdc
lrwxrwxrwx 1 root root      3 Jan  4 08:10 /dev/dvd -> hdc
brw-rw---- 1 root cdrom 22, 0 Jan  4 08:10 /dev/hdc

I'm trying this both as my own user (who is in the cdrom group) and as
the root user. In each case here where /dev/dvd is used - I have also
tried with /dev/cdrom and /dev/hdc - just in case.

mount -t udf /dev/dvd /mnt/dvd
ls -l /mnt/dvd/VIDEO_TS/

total 4571236
-r--r--r-- 1 4294967295 4294967295      12288 Dec 17  2002 VIDEO_TS.BUP
-r--r--r-- 1 4294967295 4294967295      12288 Dec 17  2002 VIDEO_TS.IFO
-r--r--r-- 1 4294967295 4294967295    3932160 Dec 17  2002 VIDEO_TS.VOB
-r--r--r-- 1 4294967295 4294967295      83968 Dec 17  2002 VTS_01_0.BUP
-r--r--r-- 1 4294967295 4294967295      83968 Dec 17  2002 VTS_01_0.IFO
-r--r--r-- 1 4294967295 4294967295  312850432 Dec 17  2002 VTS_01_0.VOB
-r--r--r-- 1 4294967295 4294967295 1073537024 Dec 17  2002 VTS_01_1.VOB
-r--r--r-- 1 4294967295 4294967295 1073737728 Dec 17  2002 VTS_01_2.VOB
-r--r--r-- 1 4294967295 4294967295 1073506304 Dec 17  2002 VTS_01_3.VOB
-r--r--r-- 1 4294967295 4294967295 1073584128 Dec 17  2002 VTS_01_4.VOB
-r--r--r-- 1 4294967295 4294967295   69605376 Dec 17  2002 VTS_01_5.VOB

Note the uid/gid pair here

mount -t iso9660 /dev/dvd /mnt/dvd
ls -l /mnt/dvd/video_ts/

total 4571236
-r-xr-xr-x 1 root root      12288 Dec 17  2002 video_ts.bup*
-r-xr-xr-x 1 root root      12288 Dec 17  2002 video_ts.ifo*
-r-xr-xr-x 1 root root    3932160 Dec 17  2002 video_ts.vob*
-r-xr-xr-x 1 root root      83968 Dec 17  2002 vts_01_0.bup*
-r-xr-xr-x 1 root root      83968 Dec 17  2002 vts_01_0.ifo*
-r-xr-xr-x 1 root root  312850432 Dec 17  2002 vts_01_0.vob*
-r-xr-xr-x 1 root root 1073537024 Dec 17  2002 vts_01_1.vob*
-r-xr-xr-x 1 root root 1073737728 Dec 17  2002 vts_01_2.vob*
-r-xr-xr-x 1 root root 1073506304 Dec 17  2002 vts_01_3.vob*
-r-xr-xr-x 1 root root 1073584128 Dec 17  2002 vts_01_4.vob*
-r-xr-xr-x 1 root root   69605376 Dec 17  2002 vts_01_5.vob*

Now - as iso9660 I can at least get meaningful uid/gid but

cp /mnt/dvd/video_ts/vts_01_0.vob .

gives (and there is space on the destination - I've checked)

cp: reading `/mnt/dvd/video_ts/vts_01_0.vob': Input/output error

So - trying dd instead

dd if=/dev/dvd of=foo.iso

dd: reading `/dev/dvd': Input/output error
8896+0 records in
8896+0 records out
4554752 bytes (4.6 MB) copied, 6.32198 seconds, 720 kB/s

mplayer can play the dvd in this box.

My windows xp box at home can read the files OK.

Any ideas?

-- 
Chris



Reply to: