[ale] Problem creating /dev/<> and mount point for CD

John M. Mills jmills at bismarck.gtri.gatech.edu
Thu Jan 2 14:14:40 EST 1997


Warning:  long question for simple answer -- Sorry.

Greetings --
This ought to be a simple question, but I can't find the magic combination
for linux 1.2.13 to recognize my new CD drive.  Here's what I've done,
all in my old 1.2.13/a.out system:

1) I installed a Mitsumi 8x IDE CD drive as "slave" device on 2nd IDE.
   (comes up as /dev/hdd on a RedHat 4.0 installation search --
    this I find amazing in and of itself -- sorry to digress!)
2) I rebuilt my 1.2.13 kernel (don't ask!) to support iso9660 file systems
   and answered the CONFIG_BLK_DEV_IDECD=y reply to build IDE CD support.
   (No modules were built.)
3) I did _not_ answer "yes" to configure any of the specific CD drivers.

4) When the kernel was built, I dutifully did 'mkdir /cdrom', and have:
# ls -l /       
total 909
[...]
drwxr-xr-x   2 root     root         1024 Dec 31 16:49 cdrom
[...]

(I also found the /dev files contained:
lrwxrwxrwx   1 root     root            8 Dec 31 16:43 /dev/cdrom -> /dev/cdu535

I have no idea where I got that, but maybe it didn't get laundered from
an earlier build.)

5) PROBLEM:
I have been trying to properly define '/dev/hdd' for the CD drive:

# rm /dev/hdd
# mknod /dev/hdd b 22 1
# chgrp disk /dev/hdd
# ls -l /dev/hdd
brw-r--r--   1 root     disk      22,   1 Jan  2 13:52 /dev/hdd

and now I put in a CDROM and attempt to mount it:
# mount -t iso9660 /dev/hdd /cdrom
mount: /dev/hdd is not a block device

How should I be doing this?

TIA --

John M. Mills, Senior Research Engineer   --   john.m.mills at gtri.gatech.edu
   Georgia Tech Research Institute, Georgia Tech, Atlanta, GA 30332-0834
        Phone contacts: 404.894.0151 (voice), 404.894.6285 (FAX)
           "Lies, Damned Lies, Statistics, and Simulations"






More information about the Ale mailing list