No subject

bogus at does.not.exist.com bogus at does.not.exist.com
Wed Aug 11 13:40:36 PDT 2004


[root at charliebrown /root]# dmesg | grep hd
    ide0: BM-DMA at 0x0860-0x0867, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x0868-0x086f, BIOS settings: hdc:pio, hdd:pio
hda: IBM-DCXA-210000, ATA DISK drive
hdc: TOSHIBA DVD-ROM SD-C2202, ATAPI CDROM drive
hda: IBM-DCXA-210000, 9590MB w/420kB Cache, CHS=1222/255/63, UDMA
hdc: ATAPI 24X DVD-ROM drive, 128kB Cache
 hda: hda1 hda2 hda3 < hda5 hda6 hda7 hda8 hda9 >

As you can see, hdc is my cdrom drive. So it would be "mount -t iso9660
/dev/hdc /mnt/cdrom"
The relevant entry in /etc/fstab shows:
/dev/cdrom /mnt/cdrom iso9660 ro,user,noauto,exec 0 0
So what's /dev/cdrom linked to?
[root at charliebrown /root]# ls -l /dev/cdrom
lrwxrwxrwx   1 root     root            8 Mar 30  2000 /dev/cdrom ->
/dev/hdc
So /dev/cdrom points to /dev/hdc, and /etc/fstab shows /dev/cdrom's
mountpoint is /mnt/cdrom. So the cd is mountable as /mnt/cdrom.
<snip>

It should really be as simple as making sure there's a readable cd in
the drive and doing a "mount /mnt/cdrom"
Or even "mount -t iso9660 /dev/hd? /mnt/cdrom" though iso9660 is the
default for cdroms. From the mount manpage:

The type iso9660 is the default.  If no -t option is given, or if the
auto type is specified, the  superblock  is  probed  for  the 
filesystem  type.

HTH-
-- 
Andrew Mathews
------------------------------------------------------------
  2:45pm  up 12 days, 18:20,  9 users,  load average: 1.13, 1.07, 1.05
------------------------------------------------------------



More information about the Linux-users mailing list