Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 2006 12:15:15 +0200
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: What is the maximum file size on a dvd+r ?
Message-ID:  <20060529121515.6b84a934@localhost>
In-Reply-To: <ef10de9a0605281430w6b35a3f7yff2b02123eb156b7@mail.gmail.com>
References:  <20060528192121.GE50477@leia.lambermont.dyndns.org> <ef10de9a0605281430w6b35a3f7yff2b02123eb156b7@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_i0Cc4/9i8pF9Q57tlF8uUVL
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

"Nikolas Britton" <nikolas.britton@gmail.com> wrote:

> On 5/28/06, Hans Lambermont <hans@lambermont.dyndns.org> wrote:
> > What is the maximum file size on a dvd+r ?
> >
> > System : 5.4-RELEASE-p6
> > Command used : growisofs -Z /dev/cd0 -l -J -r burn/
> > In burn/ I have a backup file of size 4166629386 bytes and some
> > smaller files. In total 4577410 kB.
> >
> > growisofs ends normally :
> >  99.88% done, estimate finish Fri May 26 23:22:48 2006
> > Total translation table size: 0
> > Total rockridge attributes bytes: 519
> > Total directory bytes: 0
> > Path table size(bytes): 10
> > Max brk space used d724
> > 2287734 extents written (4468 MB)
> > builtin_dd: 2287744*2KB out @ average 2.4x1385KBps
> > /dev/pass0: flushing cache
> > /dev/pass0: closing track
> > /dev/pass0: closing session
> > # echo $?
> > 0
> >
> > An 'ls -la' of the mounted dvd+r shows :
> > ls: backup.bz2: Value too large to be stored in data type
> >
> > I can read the whole dvd without problems on a non-FreeBSD system. I
> > cannot find a limit in GROWISOFS(1m) or MKISOFS(8), but on
> > http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2005-12/msg01=
736.html
> > I read about a 2 GB maximum filesize for a file on a dvd. Is this
> > true ? If so I think it should be mentioned in GROWISOFS(1m).
> >
>=20
> FreeBSD's implementation is correct, Linux is the one that's wrong,
> they decided to embrace and extend the standard. Theirs a 2GB cap per
> file on DVDs.

http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern-91488:

|The cd9660 filesystem can not handle files of more than 2147483647 bytes,=
=20
|while the specification of the filesystem arguably allows for files up to=
=20
|4294967295 bytes. (Specifically, the "32 bit quantity" is not specified as=
=20
|signed or unsigned. In my opinion, since negative file sizes are not=20
|meaningfull, it should be interpreted as unsigned.)

While I didn't read the spec, I heard that explanation before and
I think it's entirely correct to assume that the file size value
is unsigned. This has nothing to do with embracing standards.

Fabian
--=20
http://www.fabiankeil.de/

--Sig_i0Cc4/9i8pF9Q57tlF8uUVL
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFEesm4jV8GA4rMKUQRAqjoAJ41cvZtL42vBgqAS0J3W7WyGXk8awCgiSNp
Zi7iv7EJ59ZdfPOjD6oEdJY=
=STsM
-----END PGP SIGNATURE-----

--Sig_i0Cc4/9i8pF9Q57tlF8uUVL--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060529121515.6b84a934>