LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-20-2005, 11:30 PM   #1
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,163

Rep: Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527
Question Editing etc/fstab- yet again:-)


Hi Folks,

Well I've got sound working on Slackware 10, many thanks to shilo and his very thorough help file. I was missing one piece of the puzzle and he provide the clue.

I've been trying to mount my cd rom drive so I can play my music cds.

I've edited my fstab; here's what it looks like:

/dev/cdrom /mnt/cdrom iso9960 noauto,users,ro,unhide 0 0

How does that look?

I've been trying unsuccessfully to mount my cd rom drive using these commands:

mount /dev/cdrom

mount /cd

I've tried using su as well, nothing works.

Any suggestions would be greatly appreciated.

Thank you.

hitest
 
Old 04-20-2005, 11:38 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
You can't mount music CDs because they don't contain a filesystem. You can however play them in two forms. One is analogic, the default one, which requieres you to have connected a cable from the cd-rom to the soundcard. If you don't have that cable you can play it "digitally". In XMMS you've a input plug-in (it comes with XMMS by default) which is called Audio CD Player or something like that (i've the spanish version ) there you can go to Configure and select the mode you want to read the music cd.
Hope this helps.

Last edited by gbonvehi; 04-20-2005 at 11:40 PM.
 
Old 04-20-2005, 11:54 PM   #3
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,163

Original Poster
Rep: Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527
Thanks gbonvehi!!

Thank you for your kind explanation, gbonvehi! I appreciate that.
Just for the heck of it I popped in a music cd when I was logged on as root, started x windows, and clicked on cd player and everything works, music sounds great.
But, just now, when I log on as user and do the same thing cd player is displaying "Drive Error"
I'm stumped.
aaaarrrrrggggghhhhh
 
Old 04-21-2005, 12:25 AM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Don't worry, try checking two things. First the permissions of your cdrom.
Do: ls -l /dev/cdrom
It should be a symlink pointing to /dev/hdc or /dev/hdd (or other).
So now do: ls -l /dev/theonecdrompointsto
That should give you the permissions. If nothing changed, it should be owned by root and belong to cdrom group. And the permissions should be: brw-rw---- that means read/write by root and the group (cdrom). So you can achieve what you're trying by adding your user to the cdrom group. Do that by opening /etc/group with a editor and adding your user at the end of the ine that starts with cdrom (if there's another name, separate it with a , ).

Enjoy your music

Last edited by gbonvehi; 04-21-2005 at 12:26 AM.
 
Old 04-21-2005, 12:28 AM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,974
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
That's not an fstab-issue then ...

More likely permissions on the raw-device, since that's
what the CD-Player apps are accessing ... find out which
sg or sr your CD-ROM is and change the group ownership
on it. For example create a group cdrom, make yourself a
member of it and then change the ownership to e.g.
chown root:cdrom /dev/sg0


Cheers,
Tink
 
Old 04-21-2005, 12:49 AM   #6
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,163

Original Poster
Rep: Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527
Opened etc/group

Hi gbonvehi

I've opened up /etc/group and here is what my cdrom line looks like

cdrom::19:

Now do I put user after the 19 and the colon or hitest? Do I need a comma in there? Do I put in the group my user (hitest) belongs to which is 500?
Thank you for your patience.

Last edited by hitest; 04-21-2005 at 12:58 AM.
 
Old 04-21-2005, 03:06 AM   #7
AxelFendersson
Member
 
Registered: Mar 2004
Location: Darkest Oxfordshire
Distribution: Arch, Slackware
Posts: 184

Rep: Reputation: 30
Add yourself to the end of the line, so that it says:
cdrom::19:hitest

Other groups it may be useful to add yourself to are audio and video.
 
Old 04-21-2005, 12:50 PM   #8
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,163

Original Poster
Rep: Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527
Quote:
Originally posted by AxelFendersson
Add yourself to the end of the line, so that it says:
cdrom::19:hitest

Other groups it may be useful to add yourself to are audio and video.
Thanks, I tried cdrom::19:hitest, that didn't work.
I'll try your other suggestions tonight:-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
editing /etc/fstab Mad Malc Linux - Newbie 6 09-19-2005 01:25 AM
Editing fstab GingerMegs Linux - Software 1 06-04-2005 04:24 PM
Editing fstab jodef Yoper 4 11-27-2004 09:06 AM
Who is editing my fstab???!!! laszlo Linux - Newbie 5 06-30-2004 05:37 AM
Fstab editing Ando Linux - General 4 06-29-2003 05:17 PM


All times are GMT -5. The time now is 10:46 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration