Date: Sun, 19 Aug 2018 13:21:23 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 230649] sysutils/dvd+rw-tools: growisofs cannot write 4gb+ file to blu-ray disc Message-ID: <bug-230649-7788-97Q6LMLs6K@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-230649-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-230649-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230649 --- Comment #3 from scdbackup@gmx.net --- Hi, (It's sunday. Thought trickles slowly ...) Urm, do i get it right that not even in UDF the big file is presented properly on FreeBSD ? How did you mount it ? If not by mount_udf(8): Do you get better results with mount_udf ? > # growisofs -udf -iso-level 3 -Z /dev/cd0 -J -R --graft-points /test/=3Dt= est10g Except "-Z /dev/cd0" these options get forwarded to mkisofs (or genisoimage or xorrisofs, depending on environment variable MKISOFS or GENISOIMAGE). -iso-level 3 enables production of multiple extents per file. This is essential for being able to store files larger than 4 GiB - 1 byte in ISO 9660 and Joliet. -R enables Rock Ridge info in the ISO 9660 filesystem tree. -J enables production of an additional Joliet filesystem. -udf enables production of an UDF filesystem. The resulting UDF filesystem of the image should be mountable by mount_udf(8). ISO 9660 and Joliet are covered by mount_cd9660(8). > P.S. I can write 4gb+ file by 'growisofs -udf -iso-level 3 -Z /dev/cd0i > -J -R -allow-limited-size --graft-points /test/=3Dtest10g' on ubuntu. -allow-limited-size limits the data files in ISO 9660 and Joliet to 2 GiB (minus 1 byte ?). So only the UDF aspect of the image bears the full size. The fact that you have to specify it, is a bug in genisoimage: File file_of_4gb+1m is larger than 4GiB-1. -allow-limited-size was not specified. There is no way do represent this = file size. Aborting. To be consistently buggy it then does not what its man page promises, but rather rolls over the filesize by 4 GiB. To see this, mount on a Linux kernel by mount -t iso9660 ... To your luck (and the luck of genisoimage) the preference on Linux is UDF over Rock Ridge over Joliet over plain ISO 9660. I assume you have an original mkisofs on your FreeBSD machine which can create a proper multi-extent data file in ISO 9660. At least it did not complain about missing -allow-limited-size. (If you can afford to give up option -udf, then xorrisofs would be a nice companion for growisofs. But i still assume that with FreeBSD as target system you are better off with working UDF and broken ISO 9660.) Have a nice day :) Thomas --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230649-7788-97Q6LMLs6K>