Re: mounting cdrom and dvd

From: Andreas Janssen (andreas.janssen_at_bigfoot.com)
Date: 08/31/03


Date: Sun, 31 Aug 2003 10:34:05 +0200

Hello

Carlos (<garciasuarez@ya.com>) wrote:

> I have a dvd-rom and read write CD in my Red Hat 8 box.
>
> When mounting
>
> mount /dev/cdrom /mnt/cdrom
>
> only the dvd-rom is mounted.
>
> How can I mount the rw drive in a directory like /mnt/cdrom1 ?

1. Make a directory in /mnt where you want to mount the device
2. Find out the device file of your drive:
IDE drives:
        Primary Master: /dev/hda
        Primary Slave: /dev/hdb
        Secondary Master: /dev/hdc
        Secondary Slave: /dev/hdd

SCSI drives or IDE drives with IDE SCSI emulation:
        From /dev/scd0 on

Do cat /proc/scsi/scsi or cdrecord -scanbus to check if your writer is
setup with ide scsi emulation (very probably it is).

Now mount the device:

mount /dev/yourdevice /mnt/yourdir

You can also make a symbolic link pointing to the real device file like
/dev/cdrom is:

cd /dev
ln -s yourdevice cdrw

and then mount it

mount /dev/cdrw /mnt/yourdir

Also, check your /etc/fstab, probably there is already an entry for your
drive.

bets regards
        Andreas Janssen

-- 
Andreas Janssen
andreas.janssen@bigfoot.com
PGP-Key-ID: 0xDC801674
Registered Linux User #267976


Relevant Pages

  • Re: problems with the permissions for /mnt/windows parition
    ... >> mount, which obviously means he has totoal control over it. ... built from the ground up for personal desktops, and as linux lovies will ... that'll give you a list of the drives which the os can see. ... If you want to write to the win disk, you mite try being root. ...
    (alt.linux)
  • Re: Moving Along with Fedora!
    ... but I would like to know the windows equivalent of the Linux ... you "mount" them to the tree. ... all the letter designations for drives have disappeared. ... a drive, the partitions have device named like /dev/hda1 or /dev/hda2, ...
    (Fedora)
  • Re: SUCCESS AT LAST
    ... showing you to use two different drives letters, ... It has *nothing* whatsoever to do with your game. ... You could mount 10 different partitions ... Let's say that I tell you to get me a glass. ...
    (comp.sys.ibm.pc.games.adventure)
  • Re: moving /home [Solved - HowTo]
    ... > I've read the mount and fstab man pages, and googled this issue, but I'm ... Install new drive: ... This halts the boot process and brings up the kernel line. ... This file is read at boot time by your system, and mounts your drives to the ...
    (Fedora)
  • Re: Missing hard drive space
    ... First step I'd make sure the device still mounts on Windows. ... remove hardware" to dismount the drives before going back to Linux. ... If it mounts for Windows and you dismount it properly it should mount ... # Entry for /dev/sda1: ...
    (Ubuntu)