Lee wrote:
<snip>
> Perchance you would like to enlighten us heathens as to the proper
> command to mount the CDROM and CDRW. I've tried mount -t fstab
> /dev/cdrom /mnt/cdrom and got fstab not supported. 

The syntax is: mount -t filesystemtype /dev/hd? /mnt/mountpoint. You
can't use fstab as a filesystem type. It's a configuration file.
Substitute sd for hd if you're using SCSI drives.

>Mount -t vfat /dev/cdrom /mnt/dev get /dev not a block device. 

Is there really an entry in your /mnt directory called dev? Or is it
actually /mnt/cdrom?

>Try mount auto /dev/cdrom /mnt/cdrom get a shopping list of options. Pick one of them
> mount -t auto /dev/cdrom /mnt/cdrom and i get the not valid block
> device. If I go to free disk under the system menu the cdroms are listed
> as /dev/cdrom and /dev/cdrom1 with a mount point of /mnt/cdrom and a
> driver of iso9660.

You're confusing a filesystem type and a driver (better known as a
module in linux)
iso9660, vfat, ext2, xfs, etc. are filesystem types. You see these when
you issue the mount command by itself.
i82365,soundcore, 3c59x, are modules (drivers). You see these when you
issue the lsmod command by itself.
  
What is the output of "dmesg | grep hd" and your /etc/fstab?
>From mine:
[root@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@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
------------------------------------------------------------
_______________________________________________
Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.

Reply via email to