From nobody@FreeBSD.org  Sun Apr  2 11:40:20 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9556816A400
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  2 Apr 2006 11:40:20 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4CBB543D4C
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  2 Apr 2006 11:40:20 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k32BeJ6B031207
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 2 Apr 2006 11:40:19 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k32BeJj8031206;
	Sun, 2 Apr 2006 11:40:19 GMT
	(envelope-from nobody)
Message-Id: <200604021140.k32BeJj8031206@www.freebsd.org>
Date: Sun, 2 Apr 2006 11:40:19 GMT
From: Pete <xd888cc7541309c3f@f4n.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: File sections on ISO9660 level 3 CDs ignored
X-Send-Pr-Version: www-2.3

>Number:         95222
>Category:       kern
>Synopsis:       [cd9660] File sections on ISO9660 level 3 CDs ignored
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-fs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 02 11:50:17 GMT 2006
>Closed-Date:    
>Last-Modified:  Sat Nov 27 19:00:54 UTC 2010
>Originator:     Pete
>Release:        6.0
>Organization:
>Environment:
N/A
>Description:
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.
>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.)
>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.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-fs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon May 18 03:10:06 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=95222 
>Unformatted:
