public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Why would a valid DVD show zero files on Linux?
@ 2001-12-31  0:45 Bryce Nesbitt
  2001-12-31  1:06 ` Alan Cox
       [not found] ` <3C2FB85E.3080508@free.fr>
  0 siblings, 2 replies; 29+ messages in thread
From: Bryce Nesbitt @ 2001-12-31  0:45 UTC (permalink / raw)
  To: linux-kernel

I have a DVD ROM (It's DeLorme Topo USA), which works fine booted in Windows.
Under Linux it mounts fine, but shows no files.  Everything looks normal, like
it should just work.

What's up?  And ideas?


[root@HardHat bryce]# df
...
/dev/scd0               326028    326028         0 100% /mnt/cdrom
/dev/hdc               3277426   3277426         0 100% /mnt/dvdrom

[root@HardHat bryce]# uname -a
Linux HardHat 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown


[root@HardHat bryce]# cat /proc/filesystems 
nodev   sockfs
nodev   tmpfs
nodev   shm
nodev   pipefs
nodev   proc
        ext2
        iso9660
nodev   devpts
nodev   usbdevfs
        vfat
nodev   autofs

[root@HardHat bryce]# dd if=/dev/hdc of=/tmp/A bs=1024 count=200
200+0 records in
200+0 records out
[root@HardHat bryce]# strings /tmp/A
CD001
                                T3DVD                           
                                                                                                                                DELORME                                                                                                                         ADJ                                                                                                                                                                                                                                                                                                                                                                            1999111712541000
2001022814540400
2001022814540400
CD001
9%/E
1999111712541000
2001022814540400
2001022814540400
CD001
BEA01
NSR02
TEA01
T3DVD
00026f70 MTC ForDVD 5.9, March 2000
OSTA Compressed Unicode
OSTA Compressed Unicode
*Multimedia Tech. Cntr.
*UDF LV Info

^ permalink raw reply	[flat|nested] 29+ messages in thread
* Why would a valid DVD show zero files on Linux?
@ 2001-12-31  0:51 Bryce Nesbitt
  0 siblings, 0 replies; 29+ messages in thread
From: Bryce Nesbitt @ 2001-12-31  0:51 UTC (permalink / raw)
  To: linux-kernel

I have a DVD ROM (It's DeLorme Topo USA), which works fine booted in Windows.
Under Linux it mounts fine, but shows no files.  Everything looks normal, like
it should just work.

What's up?  And ideas?


[root@HardHat bryce]# df
...
/dev/scd0               326028    326028         0 100% /mnt/cdrom
/dev/hdc               3277426   3277426         0 100% /mnt/dvdrom

[root@HardHat bryce]# uname -a
Linux HardHat 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown


[root@HardHat bryce]# cat /proc/filesystems 
nodev   sockfs
nodev   tmpfs
nodev   shm
nodev   pipefs
nodev   proc
        ext2
        iso9660
nodev   devpts
nodev   usbdevfs
        vfat
nodev   autofs

[root@HardHat bryce]# dd if=/dev/hdc of=/tmp/A bs=1024 count=200
200+0 records in
200+0 records out
[root@HardHat bryce]# strings /tmp/A
CD001
                                T3DVD                           
                                                                                                                                DELORME                                                                                                                         ADJ                                                                                                                                                                                                                                                                                                                                                                            1999111712541000
2001022814540400
2001022814540400
CD001
9%/E
1999111712541000
2001022814540400
2001022814540400
CD001
BEA01
NSR02
TEA01
T3DVD
00026f70 MTC ForDVD 5.9, March 2000
OSTA Compressed Unicode
OSTA Compressed Unicode
*Multimedia Tech. Cntr.
*UDF LV Info



# grep ATAPI /var/log/messages
Dec 30 17:53:40 hardhat kernel: hdc: \x03 DVD-ROM SD-M1402, ATAPI CD/DVD-ROM 
drive

^ permalink raw reply	[flat|nested] 29+ messages in thread
* Re: Why would a valid DVD show zero files on Linux?
@ 2001-12-31  3:01 RaúlNúñez de Arenas Coronado
  0 siblings, 0 replies; 29+ messages in thread
From: RaúlNúñez de Arenas Coronado @ 2001-12-31  3:01 UTC (permalink / raw)
  To: bryce, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 123 bytes --]

    Hello Bryce :)

>What's up?  And ideas?

    Have you 'UDF' support in your kernel? This may be the problem.

    Raúl

^ permalink raw reply	[flat|nested] 29+ messages in thread
* Re: Why would a valid DVD show zero files on Linux?
@ 2001-12-31 15:29 Andries.Brouwer
  2002-01-01 11:50 ` Kai Henningsen
  0 siblings, 1 reply; 29+ messages in thread
From: Andries.Brouwer @ 2001-12-31 15:29 UTC (permalink / raw)
  To: LAV, bryce; +Cc: linux-kernel

Vitaly Lipatov:

> On my system it do not work. :(

So, if either mount is broken or its documentation
is outdated, why not write to the maintainer (aeb@cwi.nl)
and tell what is wrong? Empty complaints are useless.

Andries

^ permalink raw reply	[flat|nested] 29+ messages in thread
* Re: Why would a valid DVD show zero files on Linux?
@ 2002-01-05  2:50 Andries.Brouwer
  2002-01-05  4:20 ` Bryce Nesbitt
  2002-01-05 16:14 ` Bryce Nesbitt
  0 siblings, 2 replies; 29+ messages in thread
From: Andries.Brouwer @ 2002-01-05  2:50 UTC (permalink / raw)
  To: bryce; +Cc: Lionel.Bouton, alan, linux-kernel, util-linux

> Here are the first 2048 1024 byte blocks.

Hmm. I am a bit slow, but just looked at this image.
It looks fine in iso9660 style, provided you give the
nojoliet option. I get:

# mount DeLorme_TopoUSA_DVD.head /mnt -t iso9660 -o loop,nojoliet
# ls -l /mnt
total 12
dr-xr-xr-x    1 root     root         2048 Feb 28  2001 .
drwxr-xr-x   31 root     root         4096 Jan  3 02:11 ..
-r-xr-xr-x    1 root     root         2763 Feb 28  2001 cd.txt
dr-xr-xr-x    1 root     root         2048 Feb 28  2001 data
-r-xr-xr-x    1 root     root          196 Feb 28  2001 pdataset.txt

and

# mount DeLorme_TopoUSA_DVD.head /mnt -t udf -o loop
# ls -l /mnt
total 14
dr-xr-xr-x    3 4294967295 4294967295      184 Feb 28  2001 .
drwxr-xr-x   31 root     root         4096 Jan  3 02:11 ..
-r--r--r--    1 4294967295 4294967295     2763 Feb 28  2001 CD.TXT
dr-xr-xr-x    2 4294967295 4294967295      380 Feb 28  2001 DATA
-r--r--r--    1 4294967295 4294967295      196 Feb 28  2001 PDATASET.TXT

so the iso9660 version looks a bit better than the udf version.
(But I cannot look at the actual contents because the initial
fragment is not large enough. You can check for yourself
whether the nojoliet mount is OK.)

Thus, there do not seem reasons to change mount(2) or mount(8)
in the way you suggested. There is no "empty iso9660 filesystem" here.

Andries

^ permalink raw reply	[flat|nested] 29+ messages in thread
* Re: Why would a valid DVD show zero files on Linux?
@ 2002-01-05 17:16 Andries.Brouwer
  0 siblings, 0 replies; 29+ messages in thread
From: Andries.Brouwer @ 2002-01-05 17:16 UTC (permalink / raw)
  To: Andries.Brouwer, bryce, util-linux; +Cc: linux-kernel

	From bryce@obviously.com Sat Jan  5 17:14:28 2002

	Here is the table of contents mounted three ways.  First udf, then
	iso9660, then iso9660 nojoliet.  Only the udf version works with the
	application.  Note that the huge udf filesizes are not a mistake -
	this DVD is also offered as 7 CD set.

[iso9660 nojoliet:]

	/mnt/cdrom1/data:
	total 22849
	dr-xr-xr-x    1 root     root         2048 Feb 28  2001 .
	dr-xr-xr-x    1 root     root         2048 Feb 28  2001 ..
	-r-xr-xr-x    1 root     root      1181228 Feb 28  2001 gridak.dat
	-r-xr-xr-x    1 root     root      1921298 Feb 28  2001 gridak.ind
	-r-xr-xr-x    1 root     root      3603453 Feb 28  2001 grid.dat
	-r-xr-xr-x    1 root     root       797273 Feb 28  2001 grid.ind
	-r-xr-xr-x    1 root     root        34839 Feb 28  2001 vec.cov
	-r-xr-xr-x    1 root     root     15153107 Feb 28  2001 vec.v
	-r-xr-xr-x    1 root     root       643405 Feb 28  2001 vec.vi

Hmm. I find

total 3266826
dr-xr-xr-x    1 root     root         2048 Feb 28  2001 .
dr-xr-xr-x    1 root     root         2048 Feb 28  2001 ..
-r-xr-xr-x    1 root     root     1832319997 Feb 28  2001 grid.dat
-r-xr-xr-x    1 root     root     51128921 Feb 28  2001 grid.ind
-r-xr-xr-x    1 root     root     34735660 Feb 28  2001 gridak.dat
-r-xr-xr-x    1 root     root      1921298 Feb 28  2001 gridak.ind
-r-xr-xr-x    1 root     root        34839 Feb 28  2001 vec.cov
-r-xr-xr-x    1 root     root     1424439251 Feb 28  2001 vec.v
-r-xr-xr-x    1 root     root       643405 Feb 28  2001 vec.vi

Could it be that you are using some old kernel, say, older than
2.4.13, that enables the "cruft" option when it sees a big file?
(You should see the corresponding messages in the logs.)

Andries

^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2002-01-30 15:08 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-31  0:45 Why would a valid DVD show zero files on Linux? Bryce Nesbitt
2001-12-31  1:06 ` Alan Cox
     [not found] ` <3C2FB85E.3080508@free.fr>
2001-12-31  2:07   ` Bryce Nesbitt
2001-12-31 13:13     ` Alan Cox
2001-12-31 14:21       ` Bryce Nesbitt
2001-12-31 14:48         ` Marius Gedminas
2002-01-01 10:40           ` Alan Cox
2001-12-31 15:10         ` Vitaly Lipatov
2001-12-31 23:37         ` Cameron Simpson
2002-01-01  5:34           ` Bryce Nesbitt
2002-01-01 10:12             ` Alan Cox
2002-01-01 10:30               ` Ryan Cumming
2002-01-01 10:43                 ` Alan Cox
2002-01-01 10:46         ` Alan Cox
2002-01-01 14:22           ` Bryce Nesbitt
2002-01-01 15:24             ` Alan Cox
2002-01-01 23:29               ` Grahame Jordan
2002-01-01 23:49                 ` Bryce Nesbitt
2002-01-01 23:53                 ` Alan Cox
2002-01-02  7:57                   ` Grahame Jordan
2002-01-30 15:08           ` Bryce Nesbitt
  -- strict thread matches above, loose matches on Subject: below --
2001-12-31  0:51 Bryce Nesbitt
2001-12-31  3:01 RaúlNúñez de Arenas Coronado
2001-12-31 15:29 Andries.Brouwer
2002-01-01 11:50 ` Kai Henningsen
2002-01-05  2:50 Andries.Brouwer
2002-01-05  4:20 ` Bryce Nesbitt
2002-01-05 16:14 ` Bryce Nesbitt
2002-01-05 17:16 Andries.Brouwer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox