Technical article 127037

OSR6:UX:cdfs mount.svr5: ERROR: No such device: /dev/cdrom0

OpenServer 6.0.0

Written · Last revised

Problem

I am trying to mount my CD with the command:

# mount -F cdfs -r /dev/cdrom0 /mnt
and I am getting the error:
UX:cdfs mount.svr5: ERROR: No such device: /dev/cdrom0
Yet, /dev/cdrom0 exists:
bash-3.2# ls -al /dev/cdrom0
brw-------    1 root     sys      305, 48 Mar 27 16:09 /dev/cdrom0

Cause

The device file /dev/cdrom0 is not the correct one to use.

Solution

Use:
# mount -F cdfs -r /dev/cd0 /mnt
or:
# mount -F cdfs -r /dev/cdrom/cdrom0 /mnt

These will be linked to your device node, eg:

bash-3.2# ls -al /dev/cd0 /dev/cdrom/cdrom0
/dev/cdrom/c1b0t0l0
brw-rw-rw-    3 root     sys      298, 37 Mar 28 10:25
                                                 /dev/cd0
brw-rw-rw-    3 root     sys      298, 37 Mar 28 10:25
                                                 /dev/cdrom/c1b0t0l0
brw-rw-rw-    3 root     sys      298, 37 Mar 28 10:25
                                                 /dev/cdrom/cdrom0

Please note the "-F cdfs" is optional.

To determine what the filesystem type is then run:

# dtype /dev/cd0
/dev/cd0        : RCKRDG filesystem

From the Xinuos technical article database, record 127037. Reproduced with permission. The original is at www.sco.com/ta/127037, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.