From owner-freebsd-current@FreeBSD.ORG Fri Nov 26 13:28:04 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68168106564A; Fri, 26 Nov 2010 13:28:04 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 76F138FC12; Fri, 26 Nov 2010 13:28:03 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id PAA24939; Fri, 26 Nov 2010 15:28:00 +0200 (EET) (envelope-from avg@freebsd.org) Message-ID: <4CEFB5E0.7020205@freebsd.org> Date: Fri, 26 Nov 2010 15:28:00 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20101029 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: Alexander Best References: <20101125222517.GA82173@freebsd.org> In-Reply-To: <20101125222517.GA82173@freebsd.org> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: two issues with cdfs 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: Fri, 26 Nov 2010 13:28:04 -0000 on 26/11/2010 00:25 Alexander Best said the following: > hi there, > > i've tripped over two issues with the cdfs: What's cdfs? :-/ > 1) take a > 4 GB example.file > 2) do `mkisofs -iso-level 4 -input-charset ISO-8859-15 -V "Test 1" -o new.iso example.file` > 3) mdconfig -a -t vnode -f new.iso > 4) mount -t cd9660 /dev/mdX /some/place > > the resulting file size is only 3115015779 bytes, although it should be > 7409981027 bytes (in my case). > > the second issue: > > 1) take a > 4 GB file > 2) do `mkisofs -iso-level 4 -J -r -input-charset ISO-8859-15 -V "Test 2" -o new.iso example.file` > 3) mdconfig -a -t vnode -f new.iso > 4) mount -t cd9660 /dev/mdX /some/place > > there are 2 files with the same indode. the file size is 4294965248 bytes, > although it should be 7409981027 bytes (in my case). Likely we don't support multi-extent files at the moment. P.S. version of mkisofs could have been important too -- Andriy Gapon