The current cd9660 implementation does not support "file sections" (a feature allowing portions of a file to be reused), even though this is required for Level 3 compliant implementations. Windows users sometimes creates such CDs, but since they are rather uncommon, I believe it only happens if they tweak their burner settings. Windows has supported Level 3, "Joliet level 3", for a decade or so. Fix: Ideally: Properly implement file sections. AFAICT, none of the BSDs have it implemented, but it's supported by Linux, see for example: http://www.linux-m32r.org/lxr/http/source/fs/isofs/inode.c This requires significant work, and some potential problems in implementing this for NetBSD were discussed at: http://groups.google.com/group/fa.netbsd.current-users/browse_frm/thread/c917600103080381 In the meantime, it shouldn't be too difficult to add warnings when attempting to read a multi-section file. One could also warn at mount time -- the only difference between level 2 and level 3 is that the latter allows for multi-section files -- but the drawback of this is that level 3 doesn't require multi-sections, so a warning might unnecessarily scare the user. Please note that mounting the CD without Joliet extensions doesn't make the files readable. How-To-Repeat: 1, Burn a known file in multiple sections (Roxio's software for Windows appears to be able to do this) 2, Mount CD in FreeBSD 3, Copy the known file, and notice that although it appears to succeed, only a portion of the file is copied. (Also, file sizes in listings are wrong.)
Responsible Changed From-To: freebsd-bugs->freebsd-fs Over to maintainer(s).
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped
mount_udf can mount iso9660 level 3 BD-R DL correctly. P.S. Although I want to write /etc/fstab, I can't specify charset in fstab.
(In reply to Masachika ISHIZUKA from comment #3) Sorry, I can specify charset in fstab as follows. /dev/cd0 /cdrom udf ro,noauto,-C=UTF-8 0 0
There doesn't seem to be any obvious need for multi-extent 700 MB CD images, given cd9660 can reference 2^32-1 bytes (~4GB) in a single extent and the volume is limited by physical media to 700 MB. Meanwhile, DVD and larger media have UDF. I think we can close this, although it would be nice if documentation and/or automated detection were better. (Workaround: Use udf filesystem instead of cd9660.) Thanks Masachika ISHIZUKA for investigation.