From owner-freebsd-questions@FreeBSD.ORG Mon May 29 10:15:26 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B6ED16A468 for ; Mon, 29 May 2006 10:15:26 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C4D143D46 for ; Mon, 29 May 2006 10:15:25 +0000 (GMT) (envelope-from freebsd-listen@fabiankeil.de) Received: (qmail 19388 invoked from network); 29 May 2006 10:15:23 -0000 Received: from unknown (HELO localhost) ([pbs]775067@[217.50.128.134]) (envelope-sender ) by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 29 May 2006 10:15:23 -0000 Date: Mon, 29 May 2006 12:15:15 +0200 From: Fabian Keil Cc: freebsd-questions@freebsd.org Message-ID: <20060529121515.6b84a934@localhost> In-Reply-To: References: <20060528192121.GE50477@leia.lambermont.dyndns.org> X-Mailer: Sylpheed-Claws 2.1.1 (GTK+ 2.8.17; i386-portbld-freebsd6.1) X-PGP-KEY-URL: http://www.fabiankeil.de/gpg-keys/freebsd-listen-2006-08-19.asc User-Agent: 321 test Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_i0Cc4/9i8pF9Q57tlF8uUVL"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: What is the maximum file size on a dvd+r ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 May 2006 10:15:26 -0000 --Sig_i0Cc4/9i8pF9Q57tlF8uUVL Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable "Nikolas Britton" wrote: > On 5/28/06, Hans Lambermont 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--