Subject: Re: union & null fs problem?
To: Kazufumi-MIT-Mitani <mit@mit-s.otaru-uc.ac.jp>
From: Robert Nestor <rnestor@metronet.com>
List: current-users
Date: 02/10/1998 17:43:15
Kazufumi-MIT-Mitani <mit@mit-s.otaru-uc.ac.jp> wrote:

>I'm running 2/5 morning(JST) suped current on my Sparc Station 10 box.
>
>It has 32M memory, 2 disks "<IBM, DCAS-34330, S65A> <SEAGATE, ST11200N
>SUN1.05, 9500>", and CDROM (I attach DAT and CD-R sometime).
>
>1: 
># mount -r /dev/cd0a /cdrom
># mount -t union -o -b /cdrom /mnt/cdrom
># add somefile to /mnt/cdrom/foo/baa
># mkisofs -R -o /mnt/CD /mnt/cdrom
>
>then kernel panic.

Have you tried running without "-R"?  I found that trying to create a 
CDROM Image with Rock Ridge extensions failed on my NetBS/mac68k system, 
although without a Kernel panic.  In my case the CD wasn't recognized by 
NetBSD as having Rock Ridge extenions recorded on it. I verifed this with 
both mkisofs version 1.05 and version 1.11.  Version 1.05 running against 
the same filesystem on a FreeBSD system created the CD image without 
error which was recognized by NetBSD (both i386 and mac68k ports) has 
having Rock Ridge extensions.  My conclusion is that there is a byte 
ordering problem in mkisofs.  I've submitted a PR and sent a detailed 
E-Mail to the author.

-bob