From owner-freebsd-current@FreeBSD.ORG Tue Apr 27 22:59:39 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BD9D106564A; Tue, 27 Apr 2010 22:59:39 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id E4A7E8FC1B; Tue, 27 Apr 2010 22:59:38 +0000 (UTC) Received: from park.js.berklix.net (p549A68DA.dip.t-dialin.net [84.154.104.218]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id o3RMLWbH093135; Tue, 27 Apr 2010 22:21:32 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by park.js.berklix.net (8.13.8/8.13.8) with ESMTP id o3RMLL66052967; Wed, 28 Apr 2010 00:21:21 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.3/8.14.3) with ESMTP id o3RMKhqZ017168; Wed, 28 Apr 2010 00:21:00 +0200 (CEST) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201004272221.o3RMKhqZ017168@fire.js.berklix.net> To: Paul B Mahol From: "Julian H. Stacey" Organization: http://www.berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://www.berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Tue, 27 Apr 2010 21:18:56 -0000." Date: Wed, 28 Apr 2010 00:20:43 +0200 Sender: jhs@berklix.com Cc: Tom Evans , Tim Kientzle , current@freebsd.org, fs@freebsd.org Subject: Re: ISO9660 4GB directory structures boundary limit and growisofs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2010 22:59:39 -0000 Hi, Paul B Mahol wrote: > On 4/19/10, Paul B Mahol wrote: > > On 4/19/10, Tom Evans wrote: > >> On Mon, Apr 19, 2010 at 1:48 PM, Paul B Mahol wrote: > >>> On 4/17/10, Paul B Mahol wrote: > >>>> On Sat, Apr 17, 2010 at 4:31 PM, Tim Kientzle > >>>> wrote: > >>>>> Paul B Mahol wrote: > >>>>>> > >>>>>> It is apparently not possible to make use of -use-the-force-luke=4gms > >>>>>> on FreeBSD when appending new session after 4GB. Mounted disk > >>>>>> afterwards show nothing. > >>>>>> > >>>>>> Should we allow it like linux does? > >>>>> > >>>>> Are you claiming there is a problem when FreeBSD reads such > >>>>> images or a problem with creating such images? What > >>>>> programs are you using? > >>>> > >>>> I burn flac files in multiple sessions, each session have separate > >>>> directory, on DVD+R DL MKM/003 > >>>> After I used 4gms switch mounted fs shows nothing. (but there is >5GB > >>>> of > >>>> data) > >>>> > >>>> According to growisofs source BD (bluray) dont need this switch at all > >>>> ... > >>>> > >>>>> This sounds like a pretty unsurprising 32-bit truncation > >>>>> bug: the filesystem structures in ISO9660 are all sector > >>>>> numbers so 8TB should be the natural limit (4G sectors > >>>>> times 2k bytes/sector). > >>>> > >>>> I did not tested this on FreeBSD amd64 yet. > >>> > >>> Update: Linux shows all sessions and Windows 7 shows only first one. > >> > >> > >> From the source code of groisofs.c: > >> > >> * - DVD+R Double Layer support; > >> * - -use-the-force-luke=4gms to allow ISO9660 directory structures > >> * to cross 4GB boundary, the option is effective only with DVD+R DL > >> * and for data to be accessible under Linux isofs a kernel patch is > >> * required; > >> > >> So I'm guessing it does something non standard, particularly if > >> windows also refuses to see the data. > > > > That is pretty old, from 2.4 era, it was added after it was found that > > isofs had bug. Windows at least "try" to show something - only one > > session, but fourth and not second session crossed 4GB limit. > > > > The source also claims that in BD case there is no need for _force_ > > switch at all. > > > > Mounting with -norrip shows all sessions. > Kernel displays "RRIP without PX field?" if I try to mount "normal" way. Might this help ? Kernel config /sys/conf/NOTES options UDF #Universal Disk Format My config notes /* Allows DVDs with files > 2 Gig, to avoid: * "ls: file_about_2.5gig.ts: * Value too large to be stored in data type" * ports/sysutils/k3b can use it to write eg 4G+ files. */ Cheers, Julian -- Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Mail plain text, Not HTML quoted-printable Base64 http://www.asciiribbon.org