From owner-freebsd-stable@FreeBSD.ORG Fri Dec 5 09:23:37 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A52CD1065673 for ; Fri, 5 Dec 2008 09:23:37 +0000 (UTC) (envelope-from admin@kkip.pl) Received: from mainframe.kkip.pl (kkip.pl [87.105.164.78]) by mx1.freebsd.org (Postfix) with ESMTP id 4EBAE8FC1E for ; Fri, 5 Dec 2008 09:23:37 +0000 (UTC) (envelope-from admin@kkip.pl) Received: from admin.admin.lan.kkip.pl ([10.66.3.254]) by mainframe.kkip.pl with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1L8WuL-0006tQ-CP; Fri, 05 Dec 2008 10:23:36 +0100 Message-ID: <4938F316.9010403@kkip.pl> Date: Fri, 05 Dec 2008 10:23:34 +0100 From: Bartosz Stec User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Bob Johnson References: <4937A786.9080403@kkip.pl> <4937CBBC.1020406@smo.de> <4937D26D.60408@kkip.pl> <54db43990812041614h62f2608bua8462341a59c8626@mail.gmail.com> In-Reply-To: <54db43990812041614h62f2608bua8462341a59c8626@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-User: admin@kkip.pl X-Authenticator: plain X-Sender-Verify: SUCCEEDED (sender exists & accepts mail) X-Spam-Score: -8.9 X-Spam-Score-Int: -88 X-Exim-Version: 4.69 (build at 01-Nov-2008 10:39:57) X-Date: 2008-12-05 10:23:36 X-Connected-IP: 10.66.3.254:1925 X-Message-Linecount: 84 X-Body-Linecount: 70 X-Message-Size: 3320 X-Body-Size: 2621 X-Received-Count: 1 X-Recipient-Count: 2 X-Local-Recipient-Count: 2 X-Local-Recipient-Defer-Count: 0 X-Local-Recipient-Fail-Count: 0 Cc: FreeBSD Stable Subject: Re: Burning DVD with files>4GB from console X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Dec 2008 09:23:37 -0000 Bob Johnson pisze: > On 12/4/08, Bartosz Stec wrote: > >> Philipp Ost pisze: >> >>> Hi, >>> >>> Bartosz Stec wrote: >>> >>>> [...] Is there *any* way to burn DVDs with files>4GB from FreeBSD >>>> console? >>>> >>> I succesfully used growisofs for exactly this task ;-) >>> >>> What I did is (for DL-DVDs): >>> # growisofs -dvd-compat -Z /dev/cd0=$file.iso -speed=2 >>> >>> I had to limit the speed, else it wouldn't do anything. If I burn >>> "normal" DVDs I don't need the speed limit. >>> >>> HTH, >>> Philipp >>> >> But doesn't that command expecting file.iso being already premastered >> ISO image? OK, that's *some* way, but to be clear - I want to avoid >> preparing ISO images too ;) >> >> > > Some thoughts that might be useful: > > 1) I expect the problem is with mkisofs version 2.01 that is used in > FreeBSD (at least in 7.0), but I haven't attempted to confirm this. > Growisofs is supposed to handle large files, and so are recent > versions of mkisofs. The author of mkisofs considers 2.01 to be > obsolete. Perhaps installing a newer mkisofs is the solution (e.g. > sysutils/cdrtools-devel appears to be fairly recent)? > > 2) Perhaps you could do what I do and write tar files directly to DVD > with no filesystem. I use burncd to write the file to the DVD, but I > don't remember if I've tried to exceed 4 GiB per file. You might need > growisofs in premastered image mode instead of burncd. To read the > file later use something like 'tar -xf /dev/cd0'. Might have a > problem with this in Windows, but maybe that's not really a problem? > > 3) You could modify your script to use mkisofs to create the ISO image > as part of the process of splitting your files into (smaller) chunks. > Then use growisofs in premastered image mode, as already suggested. If > you want to do this, look at the -stream-media-size option in mkisofs. > > 4) The 4 GiB limit on file size is built into the ISO 9660 filesystem > prior to Level 3. Level 3 allows larger files by allowing files to > have multiple extents (each extent must still be < 4 GiB). You may > need to explicitly specify ISO Level 3 to get the correct behavior > (i.e. use the '-iso-level 3' option with growisofs or mkisofs). > > > -- Bob Johnson > fbsdlists@gmail.com > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > Thanks a lot! Upgrading to sysutils/cdrtools-devel solves my problem! :) -- Bartosz Stec