LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-26-2007, 05:11 AM   #1
amit_usual
LQ Newbie
 
Registered: Jun 2007
Posts: 7

Rep: Reputation: 0
problem in mounting cdrom(audio files running but not reading data files)


(using ubuntu fiesty fawn)
I wouldn't exactly say that the problem i am having is in mounting the cd.
I am able to mount the cd and i am able to play audio files but i am not able to read Data files . Please tell me what could be the reason for this?
 
Old 12-26-2007, 06:37 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
What command do you use to mount the data cd?

Did you make the data cd yourself? If so, what command did you use to make the cd?
 
Old 12-26-2007, 08:39 PM   #3
roy_lt_69
Member
 
Registered: Aug 2006
Location: Vancouver, BC, Canada
Distribution: Slackware, Mint, Debian
Posts: 238

Rep: Reputation: 29
Also, what does your /etc/fstab look like?
 
Old 12-27-2007, 06:52 AM   #4
amit_usual
LQ Newbie
 
Registered: Jun 2007
Posts: 7

Original Poster
Rep: Reputation: 0
well i use mount /media/cdrom.. (in a general scenario it should be mounted automatically)
yes i made the data disk myself , i have read from it earlier and also checked it out on some other machine ...
--my /etc/fstab looks like:



# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda1
UUID=ff89e892-8820-4513-b830-8da56e05585d / ext3 defaults,errors=remount-ro 0 1
# /dev/sda5
UUID=962ddb3b-59d9-4e34-b5a7-ad7ca0a0193d none swap sw 0 0
#/dev/hdb /media/cdrom0 udf,iso9660 user,noauto 0



--my /etc/mtab looks like


/dev/hda1 / ext3 rw,errors=remount-ro 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
/sys /sys sysfs rw,noexec,nosuid,nodev 0 0
varrun /var/run tmpfs rw,noexec,nosuid,nodev,mode=0755 0 0
varlock /var/lock tmpfs rw,noexec,nosuid,nodev,mode=1777 0 0
procbususb /proc/bus/usb usbfs rw 0 0
udev /dev tmpfs rw,mode=0755 0 0
devshm /dev/shm tmpfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
lrm /lib/modules/2.6.20-16-generic/volatile tmpfs rw 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
 
Old 12-27-2007, 06:55 AM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
According to your mtab listing, the cdrom is not mounted. So you are reading the contents of the directory instead, which is empty.
 
Old 12-27-2007, 07:53 AM   #6
amit_usual
LQ Newbie
 
Registered: Jun 2007
Posts: 7

Original Poster
Rep: Reputation: 0
--for an audio disk my mount gives the following result



/dev/hda1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
lrm on /lib/modules/2.6.20-16-generic/volatile type tmpfs (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/dev/hdb on /media/mp 3 type iso9660 (ro,nosuid,nodev,uid=1000,utf8)


obviously different from /etc/mtab when a data disk is inserted , how is that possible?? i don't get it...
 
Old 12-27-2007, 11:21 PM   #7
roy_lt_69
Member
 
Registered: Aug 2006
Location: Vancouver, BC, Canada
Distribution: Slackware, Mint, Debian
Posts: 238

Rep: Reputation: 29
Add an entry to /etc/fstab for your cd drive:
/dev/hdb /media/cdrom iso9660 defaults,users,ro,noauto 0 0
 
Old 12-29-2007, 05:52 AM   #8
amit_usual
LQ Newbie
 
Registered: Jun 2007
Posts: 7

Original Poster
Rep: Reputation: 0
well it worked but still i have a few questions
1. why should one give noauto??
2. well it is dvd reader actually and i have a few dvds it is still not able to read...
i tried mounting it by specifying udf file system but still it was no use ... what all filesystem types are possible on dvds and how should i specify more than one file system
in /etc/fstab
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting an audio CD that has files other than the tracks. Basel Slackware 3 11-11-2005 10:19 AM
Reading binary files on CDROM dwforslund Linux - General 2 09-29-2005 05:39 PM
Create ISO files from audio, data and video cds Bateman Linux - General 4 06-19-2005 03:02 AM
Reading audio data files as an actual audio file? Erik_the_Red Linux - Software 1 06-01-2005 07:22 AM
Not reading all files on CDRom AnthonyM Linux - Newbie 2 03-26-2002 09:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration