mounting dvd drive
I'm trying to mount my DVD drive to /dvdrom. I tried the commands prescribed to zLinuxz. Here is the error message I get:
Code:
bash-3.1# mkdir /dvdrom Code:
bash-3.1# dmesg | tail Code:
/dev/hda5 swap swap defaults 0 0 Code:
bash-3.1# cd /mnt/cdrom Code:
bash-3.1# mount I am btw running Slackware 12.1 stock kernel. I've skimmed through the man page for mount, but couldn't figure out how to mount a dvd/cd drive. |
Sounds like a hardware problem. Disconnect the drive cables and reconnect firmly. Bad connections can cause this problem.
|
What kind of disk is in the drive - it may be bad - or it may be ... audio ? (cannot mount that)
|
Quote:
|
...because it has no filesystem
|
How do I attach the CD drive to the filesystem? I made the DVD drive a directory: /dvdrom.
|
You do not. As stated you can not mount an audio CD because it does not contain a valid filesystem. In a nutshell audio player applications access the hardware. It is the filesystem that is attached to the file tree and not the drive.
FYI iso9660 is the filesystem type for a data CD. ISO (International Organization for Standardization), 9660 is the standard number that describes how data is read/written to a CD. |
If I can't mount the device b/c the fs is invalid, then is this CD not readable in Linux?
Here is my mount command without speciffying a fs: Code:
bash-3.1# mount /dev/hdc /dvdrom |
Here is the command with -t auto:
Code:
bash-3.1# mount -t auto /dev/hdc /dvdrom |
Lets start over.
According to post #4 you stated you are trying to mount an audio CD. An audio CD can not be mounted like data because music is not in the iso9660 or udf (DVD) format. Basically you can not view a music CDs contents. You must rip the music to the hard drive first. Well actually there is virtual filesystem called cdfs which does let you view an audio CD contents but it requires one to patch the kernel. I am not sure how well it works. To play a music CD you just open the application (i.e. xmms) and push the play button. The player must first be configured to point to the CD device. |
Hi,
Too the OP! I would suggest that you look at the 'SlackwareŽ Essentials' & 'SlackwareŽ Basics' to get some good background information. Another good reference would be 'Rute Tutorial & Exposition'. These links and others can be found at 'Slackware-Links' . More than just SlackwareŽ links! |
|
I should have been a little more elaborate the first time.
It really feels weird: there is the disk, there are obviously data in the form of music on it, and then you are told that you can only play or rip, but not mount this disk. As michalek said - an audio-cd does not contain a valid filesystem - we know how the data is arranged - and thus can "play" it. You can play it when you tell the audio application, where it finds the disk (/dev/hdc) - the player then knows how to "speak" to the hardware to get that music. But knowing how data is arranged on an audio-cd does not make having it a filesystem. It always is a filesystem you attach to the tree you already have - in fact you can only attach filesystems. You do not attach a drive to it. A cd-drive is a device which lets you access the filesystem on it. When you mount the drive to your tree (mount /dev/hdc /mnt/cdrom) you can access these data below /mnt/cdrom. If there is no filesystem - you cannot attach it to your thee. That is why you get: Code:
mount: /dev/hdc: can't read superblock A cd with lots of ogg or mp3 files on it is a different issue - these are files just like any other - and written to cd following the iso9660 standard - a filesystem description. These you can mount. |
All times are GMT -5. The time now is 06:10 AM. |