On Tue, Feb 08, 2000 at 05:24:42PM +0100, Charlie RULLEAU wrote:
> > Ok. I think the problem is here.
> > In order to _mount_ cd's on my scsi cd-writer, I need to
> > do a
> > modprobe sr_mod
> > before /dev/scd0 and /dev/scd1 exsist
> 
> does it mean that I have to change the rc.sysinit in order to have the
> modprobe done before any dev installation ? /dev/scd* exists by default
> on my system, the first one works, not the second one.
> 
Right, but even though the device /dev/scd0 exsists, it doesn't mean that
the kernel knows how to deal with requests for that device:
example:

Script started on Tue Feb  8 09:14:11 2000

celine:/home/noop# rm /dev/scd0
celine:/home/noop# cat /dev/scd0
cat: /dev/scd0: No such file or directory
celine:/home/noop# mknod /dev/scd0 b 11 0
celine:/home/noop# cat /dev/scd0
cat: /dev/scd0: No such device
celine:/home/noop# exit
exit

Script done on Tue Feb  8 09:14:41 2000

After the mknod, even though I have a /dev/scd0, there is nothing
there, which is why cat returns No such device.

If I had done a modprobe sr_mod first, when I had typed cat /dev/scd0,
cat would have started reading from the cd ROM. Having a file for the device
there without a driver is just fine, but you won't be able to do anything
with it. If you modprobe sr_mod, you should be able to do
mount /dev/scd0 /mnt -t iso9660
no problem.

hope this helps

Greg
> 
-- 

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to