Problem
I am trying to mount my CD with the command:
# mount -F cdfs -r /dev/cdrom0 /mntand I am getting the error:UX:cdfs mount.svr5: ERROR: No such device: /dev/cdrom0Yet, /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 /mntor:# mount -F cdfs -r /dev/cdrom/cdrom0 /mntThese will be linked to your device node, eg:
bash-3.2# ls -al /dev/cd0 /dev/cdrom/cdrom0
/dev/cdrom/c1b0t0l0brw-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/cdrom0Please note the "-F cdfs" is optional.
To determine what the filesystem type is then run:
# dtype /dev/cd0
/dev/cd0 : RCKRDG filesystem