LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   CD Drive Mount (https://www.linuxquestions.org/questions/linux-hardware-18/cd-drive-mount-48903/)

alwayslearning 03-08-2003 06:32 PM

CD Drive Mount
 
no doubt this is an easy question, but here it is anyway:

what do I type from the cl to see what cd drives are mounted and how do I mount my 52x drive. My burner already shows up in GnomeToaster Beta5, but not the 52x drive.

and, how do I discern if vpn is installed on my workstation.

thanks, in advance,

David

ranger_nemo 03-08-2003 06:57 PM

To see what is mounted, just use the mount command without any options.

As root, you need to know what place your CD has on the IDE controller...
Primary Master = hda
Primary Slave = hdb
Secondary Master = hdc
Secondary Slave = hdd

You then use that in...
mount -t auto /dev/hdd /mnt/cdrom

Of course, you need to use the correct /dev/hdX , and a valid mount point. /mnt/cdrom is pretty standard.

Once you get that to work, you can create a link in /dev between hdX and cdrom, so that you can use /dev/cdrom .

You can also then insert a line in /etc/fstab to allow you to mount as a regular user, with a simple mount /dev/cdrom ...
Code:

/dev/cdrom  /mnt/cdrom  auto  noauto,owner,kudzu,ro    0 0
As for the VPN, I'm not too sure. If it's installed from an RPM, you can run rpm -qa | grep vpn . You might also try the same command with capital VPN, just in case. I don't know what package it would be in, though.

alwayslearning 03-08-2003 07:11 PM

thanks very much.......I will let you know how these suggestions work....

David

alwayslearning 03-08-2003 07:15 PM

I am a little confused:

[root@localhost root]# mount
/dev/hdb3 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hdb1 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hdb6 on /home type ext3 (rw)
none on /dev/shm type tmpfs (rw)
/dev/hdb7 on /tmp type ext3 (rw)
/dev/hdb2 on /usr type ext3 (rw)
/dev/hdb9 on /usr/local type ext3 (rw)
/dev/hdb5 on /var type ext3 (rw)
[root@localhost root]#

there is no hda, b, c, or d....

David

ranger_nemo 03-10-2003 05:24 PM

Quote:

there is no hda, b, c, or d....
Sure there is... /dev/hdb1 on /boot type ext3 (rw)

Your /boot is mounted on /dev/hdb1 as fstype EXT3. Your system is installed on a hard-drive on the primary/slave IDE channel. The # after the /dev/hdb is the partition on the drive.

It doesn't show a listing for your burner because it wasn't currently mounted. CD drives don't have partitions, so they don't have a #. Give us a print out of your /etc/fstab , and we'll help determine where your CD drives are. It might show up as /dev/cdrom , so then you would need to ls -l /dev/cdrom to see to which device it's linked.


All times are GMT -5. The time now is 08:44 AM.