2002-02-26 14:53:38

by Roy Sigurd Karlsbakk

[permalink] [raw]
Subject: [BUG] Getting incorrect size on large files from DVD

hi

Reading > 2^31bytes files, results in Linux reporting extremely low size -
typically <10MB. Putting the same DVD disc into a Windoze box works fine.

Anyone have any ideas?

I'm running 2.4.18-rc2

roy


--
Roy Sigurd Karlsbakk, Datavaktmester

Computers are like air conditioners.
They stop working when you open Windows.


2002-02-26 17:01:21

by Andreas Dilger

[permalink] [raw]
Subject: Re: [BUG] Getting incorrect size on large files from DVD

On Feb 26, 2002 15:53 +0100, Roy Sigurd Karlsbakk wrote:
> Reading > 2^31bytes files, results in Linux reporting extremely low size -
> typically <10MB. Putting the same DVD disc into a Windoze box works fine.
>
> Anyone have any ideas?

Are you mounting it as UDF or as ISO? You should use UDF for DVD discs.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/

2002-02-26 23:25:40

by Roy Sigurd Karlsbakk

[permalink] [raw]
Subject: Re: [BUG] Getting incorrect size on large files from DVD

> > Anyone have any ideas?
>
> Are you mounting it as UDF or as ISO? You should use UDF for DVD discs.

Linux auto-mounted it as ISO. I'll try UDF

--
Roy Sigurd Karlsbakk, Datavaktmester

Computers are like air conditioners.
They stop working when you open Windows.

2002-02-27 12:36:58

by Roy Sigurd Karlsbakk

[permalink] [raw]
Subject: Re: [BUG] Getting incorrect size on large files from DVD

> Are you mounting it as UDF or as ISO? You should use UDF for DVD discs.

is UDF backwards compatible with ISO, or should I mount CDROMs
specifically as ISO?

--
Roy Sigurd Karlsbakk, Datavaktmester

Computers are like air conditioners.
They stop working when you open Windows.

2002-02-27 17:52:21

by Andreas Dilger

[permalink] [raw]
Subject: Re: [BUG] Getting incorrect size on large files from DVD

On Feb 27, 2002 13:36 +0100, Roy Sigurd Karlsbakk wrote:
> > Are you mounting it as UDF or as ISO? You should use UDF for DVD discs.
>
> is UDF backwards compatible with ISO, or should I mount CDROMs
> specifically as ISO?

Sorry, I don't know for sure. You could always try mounting them as ISO.
What I did in the end was to have two symlinks (/dev/cdrom and /dev/dvd)
pointing to the same device (/dev/hdc) and then in /etc/fstab put in a
different fs type for each device.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/

2002-02-27 19:18:15

by Guest section DW

[permalink] [raw]
Subject: Re: [BUG] Getting incorrect size on large files from DVD

On Wed, Feb 27, 2002 at 01:36:36PM +0100, Roy Sigurd Karlsbakk wrote:

> > Are you mounting it as UDF or as ISO? You should use UDF for DVD discs.
>
> is UDF backwards compatible with ISO

No.