The FreeBSD Diary |
![]() |
(TM) | Providing practical examples since 1998If you buy from Amazon USA, please support us by using this link. |
|
Mounting a SCSI CD-ROM
10 June 1999
|
|
This section shows you how I figured out how to mount my SCSI CD -ROM. It wasn't
easy. I had just installed 2.2.8 on a machine which would server as an FTP server for an upcoming install-a-thon [that is an event experienced FreeBSD users help novices install FreeBSD on their machines]. But I couldn't mount the CD-ROM. Eventually I figured it out. Here's what the box told me about my CD-ROM:
The highlighted lines show the details of the CD-ROM. I tried various things to mount the CD-ROM. Like the following: fred# mount /dev/scd0a /mnt /dev/scd0a on /mnt: Device not configured fred# mount /dev/scd0c /mnt /dev/scd0c on /mnt: Device not configured fred# ls -lt sc* brw-r----- 1 root operator 16, 2 Jun 11 1999 scd0c brw-r----- 1 root operator 16, 0 Jun 11 1999 scd0a fred# ./MAKEDEV scd0 fred# mount /dev/scd0a /mnt /dev/scd0a on /mnt: Device not configured fred# ./MAKEDEV scd0a bad unit for disk in: scd0a fred# mount /dev/matcd0c /mnt /dev/matcd0c on /mnt: Device not configured fred# mount /dev/cd0a /mnt /dev/cd0a on /mnt: Incorrect super block. fred# mount /dev/mcd0 /mnt /dev/mcd0 on /mnt: No such file or directory fred# mount /dev/mcd0a /mnt /dev/mcd0a on /mnt: Device not configured fred# /mount /mcd0b /mnt /mount: Command not found. fred# mount /dev/mcd0b /mnt [D[Dmo/dev/mcd0b: Command not found. fred# mount /dev/cd0a /mnt /dev/cd0a on /mnt: Incorrect super block. fred# mount /dev/cd0c /mnt /dev/cd0c on /mnt: Incorrect super block. Then I started searching the FreeBSD Mailing List Archives and I found this entry. In short, it mentions this: mount -t cd9660 -o ro /dev/cd0a /cdrom Which is kind of familiar. In fact, I wrote about this before. Look at cdrom.html#mount and you'll see what I mean. I should be referring to my own notes more often! <grin> And it was from that page that I learned out to add this entry to /etc/fstab: /dev/cd0a /cdrom cd9660 ro,noauto 0 0 |