Subject: kern/10804: Impossible convert RockRidge atrribute at multisession CD
To: None <gnats-bugs@gnats.netbsd.org>
From: kazz <zaa83571@oak.zero.ad.jp>
List: netbsd-bugs
Date: 08/10/2000 10:28:20
>Number:         10804
>Category:       kern
>Synopsis:       Impossible convert RockRidge atrribute at multisession CD
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 10 10:29:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Kazuhiko Fukuhara
>Release:        NetBSD 1.4.2
>Organization:
>Environment:
System: NetBSD hannibal 1.4.2 NetBSD 1.4.2 (Bikini) #1: Mon May 29 16:17:26 JST
2000 root@hannibal:/usr/src/sys/arch/i386/compile/Bikini i386

>Description:
Impossible convert RockRidge extend atrribute at multisession CD-ROM.

>How-To-Repeat:
Mount CD-ROM

>Fix:
--- usr/src.orig/sys/isofs/cd9660/cd9660_vfsops.c	Sun Jan 16 01:48:22 2000
+++ usr/src/sys/isofs/cd9660/cd9660_vfsops.c	Mon Apr 17 14:38:39 2000
@@ -333,6 +333,7 @@
 	memset((caddr_t)isomp, 0, sizeof *isomp);
 	isomp->logical_block_size = logical_block_size;
 	isomp->volume_space_size = isonum_733 (pri->volume_space_size);
+	isomp->volume_space_size += sess;
 	memcpy(isomp->root, rootp, sizeof(isomp->root));
 	isomp->root_extent = isonum_733 (rootp->extent);
 	isomp->root_size = isonum_733 (rootp->size);
>Release-Note:
>Audit-Trail:
>Unformatted: