View previous topic :: View next topic |
Author |
Message |
chief_officer n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Southpark/avatar26.gif)
Joined: 07 Jun 2006 Posts: 10 Location: 127.0.0.1
|
Posted: Sat Jun 10, 2006 6:43 pm Post subject: [SOLVED] How to access my cd/dvd drive? |
|
|
Friends,
I'm continuing my n00b questions.
I am unable to cd to my dvd drive. Here is my output:
Code: | hdc: TOSHIBA DVD-ROM SD-C2502, ATAPI CD/DVD-ROM drive
Uniform CD-ROM driver Revision: 3.20 |
from here I see that my dvd drive is /dev/hdc. Then I try to the output is bash: cd: /dev/hdc is not a directory. Then I try and then the output is brw-rw---- 1 root cdrom 22, 0 Jun 10 20:58 /dev/hdc. All my final naive attemptsto reach my dvd fail.
There is a simple point I am missing but I can't figure out. Can somebody point me to the right direction?
Regards,
Last edited by chief_officer on Thu Jun 15, 2006 6:13 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54856 Location: 56N 3W
|
Posted: Sat Jun 10, 2006 6:59 pm Post subject: |
|
|
chief_officer,
A few things, your CD/DVD is a block device like any other, its accessed the same way.
You need an entry in /etc/fstab like Code: | /dev/cdrom /mnt/dvd iso9660,udf noauto,ro,users 0 0 |
You should find that /dev/cdrom is a symbolic link to /dev/hdc like this Code: | ls -l /dev/cdrom
lrwxrwxrwx 1 root root 3 Jun 10 09:48 /dev/cdrom -> h | You will need to if it does not exist.
With that right, you can put a data CD/DVD in the drive and as any user, do to make the content of the media available at /mnt/dvd. The other information the mount requires is read from /etc/fstab. will also work.
You need kernel support (module or built in) for iso9660 and udf filesystesms.
There is one exception to the above - Audio CDs. They do not have a filesystem and cannot be mounted. CD players use raw device access to control the drive to play the CD. You need to be in the cdrom group. Video DVDs are played this way too. They do have filesystems that match the data on the disk but dvd players do raw device access to play the film, so such DVDs need not be mounted either. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|