We had trouble with a CD automatically mounting, so we had to dig in a bit to mount the CD manually.
First we ascertained that the cd was on the same controller as the internal HDD, so listing the devices on controller 0.
# ls /dev/dsk/c0* /dev/dsk/c0t0d0s0 /dev/dsk/c0t10d0s6 /dev/dsk/c0t12d0s4 /dev/dsk/c0t6d0s2 /dev/dsk/c0t0d0s1 /dev/dsk/c0t10d0s7 /dev/dsk/c0t12d0s5 /dev/dsk/c0t6d0s3 /dev/dsk/c0t0d0s2 /dev/dsk/c0t11d0s0 /dev/dsk/c0t12d0s6 /dev/dsk/c0t6d0s4 /dev/dsk/c0t0d0s3 /dev/dsk/c0t11d0s1 /dev/dsk/c0t12d0s7 /dev/dsk/c0t6d0s5 /dev/dsk/c0t0d0s4 /dev/dsk/c0t11d0s2 /dev/dsk/c0t1d0s0 /dev/dsk/c0t6d0s6 /dev/dsk/c0t0d0s5 /dev/dsk/c0t11d0s3 /dev/dsk/c0t1d0s1 /dev/dsk/c0t6d0s7 /dev/dsk/c0t0d0s6 /dev/dsk/c0t11d0s4 /dev/dsk/c0t1d0s2 /dev/dsk/c0t9d0s0 /dev/dsk/c0t0d0s7 /dev/dsk/c0t11d0s5 /dev/dsk/c0t1d0s3 /dev/dsk/c0t9d0s1 /dev/dsk/c0t10d0s0 /dev/dsk/c0t11d0s6 /dev/dsk/c0t1d0s4 /dev/dsk/c0t9d0s2 /dev/dsk/c0t10d0s1 /dev/dsk/c0t11d0s7 /dev/dsk/c0t1d0s5 /dev/dsk/c0t9d0s3 /dev/dsk/c0t10d0s2 /dev/dsk/c0t12d0s0 /dev/dsk/c0t1d0s6 /dev/dsk/c0t9d0s4 /dev/dsk/c0t10d0s3 /dev/dsk/c0t12d0s1 /dev/dsk/c0t1d0s7 /dev/dsk/c0t9d0s5 /dev/dsk/c0t10d0s4 /dev/dsk/c0t12d0s2 /dev/dsk/c0t6d0s0 /dev/dsk/c0t9d0s6 /dev/dsk/c0t10d0s5 /dev/dsk/c0t12d0s3 /dev/dsk/c0t6d0s1 /dev/dsk/c0t9d0s7 |
The target number in a solaris device pathname is the SCSI ID, generally 6 for the CDROM drive. Now all we have to do is choose the right slice. Let’s try 0:
# mount -o ro /dev/dsk/c0t6d0s0 /mnt/cdrom mount: /dev/dsk/c0t6d0s0 is not this fstype. |
That doesn’t seem to work. Maybe it’s slice 1.
# mount -o ro /dev/dsk/c0t6d0s1 /mnt/cdrom # df / (/dev/dsk/c0t0d0s0 ): 5785196 blocks 500003 files /proc (/proc ): 0 blocks 7871 files /etc/mnttab (mnttab ): 0 blocks 0 files /dev/fd (fd ): 0 blocks 0 files /var/run (swap ): 1861312 blocks 48876 files /tmp (swap ): 1861312 blocks 48876 files /export/home (/dev/dsk/c0t0d0s7 ): 623948 blocks 162556 files /mnt/cdrom (/dev/dsk/c0t6d0s1 ): 41268 blocks 114922 files # cd /mnt/cdrom # ls a dev kernel opt reconfigure usr bin devices lib platform sbin var cdrom etc mnt proc tmp webstart |
Total joy. Note: we had to create the mountpoint /mnt/cdrom.