two issues with cdfs

Alexander Best arundel at freebsd.org
Sun Nov 28 13:58:34 UTC 2010


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


More information about the freebsd-current mailing list