, Petra Hofmann <petra_lynn@usa.net>
From: Steven Grunza <steven_grunza@ieee.org>
List: netbsd-help
Date: 06/21/2000 16:27:52
Then that is most likely your problem. I believe you need to:
1) Make sure the /cdrom directory exists. As part of setting up a system,
I usually make a /cdrom directory then execute the command:
touch /cdrom/CDROM_drive_not_mounted
This creates an empty file in the /cdrom directory to remind me that if I
can see that file, I haven't mounted the cdrom drive yet.
You only need to do this step the first time you set up the system for
mounting a cdrom.
2) Insert the CDROM into the CDROM drive.
3) Issue the command: mount -t cd9660 -o ro /dev/cd0a /cdrom
If you give the mount command without a CDROM in the drive, you are asking
the CDROM drive to mount a non-existant disk.
4) When I'm done with the CD, I use the command: eject cdrom
Your mileage may vary. I'm planning on getting amd to automagically mount
the CD drive. I just need to get around to working on it.
Steven G.
At 03:13 PM 6/21/00 CDT, Petra Hofmann wrote:
>No it isn't as I understand that I must mount the cd9660 file first then
mount
>/cdrom. Repeating the prev cmd didn't work for me.
>
>
>Steven Grunza <steven_grunza@ieee.org> wrote:
>> I usually get a failure with a message about "unknown phase" or something
>> like that. I then (using csh) type !! to repeat the previous command and
>> it works. I'm chalking it up to the ancient 1X cdrom drive I'm using in my
>> 486DX4 box running NetBSD-1.4.1
>>
>> By the way, is the CD in the drive when you issue the command?
>>
>> At 12:53 PM 6/21/00 CDT, Petra Hofmann wrote:
>> >#mount /cdrom unknown special file or file system.
>> >
>> >I have tried:
>> >
>> >mount -t cd9660 -o ro /dev/cd0a /cdrom :Operation not supported by device
>> >
>> >dmseg | more : cd0 at atapibus() drive 1: <CRD-8240B>, 1997/11/05, 1.15
>> type 5
>> >cdrom removable
>> > cd0: 32-bits data port
>> > cd0: drive supports PIO mode 4, DMA mode 2
>> >
>> >How do I correct the problem?
>> > FWIW eject /dev/cd0a works.
>> >
>> >____________________________________________________________________
>> >Get free email and a permanent address at http://www.netaddress.com/?N=1
>> >
>> >
>>
>>
>> -------------------------------------------------------------------------
>> "Luke, you're going to find that many of | Steven Grunza
>> the truths we cling to depend greatly | voice: (856) 787 - 2759
>> on our own point of view." | fax: (856) 866 - 2033
>> - Obi Wan Kenobi, Return of the Jedi | e-mail: steven_grunza@ieee.org
>> -------------------------------------------------------------------------
>
>
>____________________________________________________________________
>Get free email and a permanent address at http://www.netaddress.com/?N=1
>
>
-------------------------------------------------------------------------
"Luke, you're going to find that many of | Steven Grunza
the truths we cling to depend greatly | voice: (856) 787 - 2759
on our own point of view." | fax: (856) 866 - 2033
- Obi Wan Kenobi, Return of the Jedi | e-mail: steven_grunza@ieee.org
-------------------------------------------------------------------------