Subject: Re: cdrom mounting (fwd)
To: Guy Santiglia <fredfl2@soback.kornet21.net>
From: Dave Huang <khym@bga.com>
List: port-mac68k
Date: 12/29/1998 02:26:26
On Tue, 29 Dec 1998, Guy Santiglia wrote:
> I read the mac68k faq about this but that didn't help.  The faq says the
> following:
> 
>   1.  check to see if /dev/cd0? exists.
> 
>    "I did this and found that I have cd0a - cd0c in there, but no cd0"
>  Is that OK?  is the question mark a special characiter "cd0" in step
> one?"

Yes, that's how it's supposed to be... the question mark stands for any
single character. If you type "ls /dev/cd0?", it should show you
/dev/cd0a and /dev/cd0c.

>   2. If it does not exist, as root, type:
> 
> cd /dev; sh MAKEDEV cd0
> 
> 	"I did this, but it still doesn't show this cd0  file in the /dev
> directory"  Why is that?

That's normal too... there isn't supposed to be a cd0 file. That command
creates all of the files needed to access the "cd0" device: cd0a, cd0c,
rcd0a, and rcd0c.

> 3.  Then make sure the mount point exists.
> 	mkdir /cdrom
> 
> 	"no problem here."

Okay :)

> 4.  mount -t cd9660 -o ro /dev/cdoc /cdrom
> 
>   " I get this message when I try this step: "mount_cd9660: : Invalid
> argument"  fredfl2: /dev # Dec 29 14:55:29 fredfl2 /netbsd: cd0(esp0:3:0):
> no data found, requested size: 16 (decimal), data = 00 00 00 00 64 00 00
> 00 00"
> 
>   Does any one know where the problem might?  Is there a mistake in the
> FAQ instructions?

Hmm, I'm afraid I don't know what the problem is... the FAQ is correct.
Are you trying to mount a Macintosh (HFS) CDROM? Currently, NetBSD only
supports ISO9660 format discs.
-- 
Name: Dave Huang     |   Mammal, mammal / their names are called /
INet: khym@bga.com   |   they raise a paw / the bat, the cat /
FurryMUCK: Dahan     |   dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 23 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++