Date: Sun, 28 Nov 2010 13:58:34 +0000 From: Alexander Best <arundel@freebsd.org> To: Andriy Gapon <avg@freebsd.org> Cc: freebsd-current@freebsd.org Subject: Re: two issues with cdfs Message-ID: <20101128135834.GA90165@freebsd.org> In-Reply-To: <4CF02AD0.7000207@freebsd.org> References: <20101125222517.GA82173@freebsd.org> <4CEFB5E0.7020205@freebsd.org> <20101126190808.GA94344@freebsd.org> <4CF02AD0.7000207@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri Nov 26 10, Andriy Gapon wrote: > on 26/11/2010 21:08 Alexander Best said the following: > > On Fri Nov 26 10, Andriy Gapon wrote: > >> 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. > > > > at the moment? ;) any plans for the future? > > Plans/hopes etc. We haven't reached perfection yet, so no eternal code freeze yet. i found a way to access the data on such disks. i simply copied the whole iso to my hdd using dd and then threw tar at it. since tar understands cdfs and also seems to support multi-extent i got the whole file. :) maybe adding an entry to BUGS section of mount_cd9660(8) might be a good idea. cheers. alex > > > does this limit also apply to > > blueray or does it use a different fs? > > Not sure, never had one in my hands. > > > udf support in FreeBSD is also quite > > limited. > > True. Port of NetBSD UDF is in project ideas. > > -- > Andriy Gapon -- a13x
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101128135834.GA90165>