What is the maximum file size on a dvd+r ?
freebsd-listen at fabiankeil.de
Mon May 29 03:15:26 PDT 2006
"Nikolas Britton" <nikolas.britton at gmail.com> wrote:
> On 5/28/06, Hans Lambermont <hans at 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/msg01736.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).
> 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.
|The cd9660 filesystem can not handle files of more than 2147483647 bytes,
|while the specification of the filesystem arguably allows for files up to
|4294967295 bytes. (Specifically, the "32 bit quantity" is not specified as
|signed or unsigned. In my opinion, since negative file sizes are not
|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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060529/56655df1/signature.pgp
More information about the freebsd-questions