LinuxQuestions.org
Visit Jeremy's Blog.
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 03-10-2006, 09:04 AM   #1
EAD
Member
 
Registered: Mar 2006
Distribution: ARCH linux
Posts: 137

Rep: Reputation: 15
Question How does KDE mount my cdrom, any why can't I?


Hii, I have add the line "dev/hdc /mnt/cdrom auto noauto,user,defaults 0 0" to my fstab file, when using KDE "My computer" and press on the cdrom icon I get access to the cd after it mount it, but when tryin to do "mount /dev/dvdrw /mnt/cdrom" I get an erorr say that only SUPER user can do this (ROOT), So what am I doing wrong?

 
Old 03-10-2006, 11:06 AM   #2
victorh
Member
 
Registered: Jul 2005
Location: La Paz, Bolivia
Distribution: Debian Sarge - Sid, Slackware, Gentoo, openSuse, Fedora, Ubuntu, Mandriva
Posts: 241

Rep: Reputation: 30
If you want to mount the cdrom, you need to be root (System Administrator). You can use the command:

Quote:
su
Password: (type your root password)
and then try again. One thing that I noticed is that you want to mount /dev/dvdrw. The device file /dev/dvdrw is a symbolic link to another device file (for example /dev/hdc). Make sure that /dev/dvdrw is pointing to the device you want to mount, try the following command:

Quote:
ln -al /dev/dvdrw
to check this.

Anyway, you can mount directly the cdrom using the command:

Quote:
mount /dev/hdc /mnt/cdrom
 
Old 03-10-2006, 11:35 AM   #3
EAD
Member
 
Registered: Mar 2006
Distribution: ARCH linux
Posts: 137

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by victorh
If you want to mount the cdrom, you need to be root (System Administrator). You can use the command:



and then try again. One thing that I noticed is that you want to mount /dev/dvdrw. The device file /dev/dvdrw is a symbolic link to another device file (for example /dev/hdc). Make sure that /dev/dvdrw is pointing to the device you want to mount, try the following command:



to check this.

Anyway, you can mount directly the cdrom using the command:
Amm, I know how to do this, but Why can't I allow users that arn't root to do it?
I mean when runing KDE not as a ROOT, I can do it from the My Computer, So how does it do it?
 
Old 03-10-2006, 01:32 PM   #4
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,594

Rep: Reputation: 125Reputation: 125
Quote:
Originally Posted by EAD
Hii, I have add the line "dev/hdc /mnt/cdrom auto noauto,user,defaults 0 0" to my fstab file, when using KDE "My computer" and press on the cdrom icon I get access to the cd after it mount it, but when tryin to do "mount /dev/dvdrw /mnt/cdrom" I get an erorr say that only SUPER user can do this (ROOT), So what am I doing wrong?
Is it a typo that you once use /dev/hdc and once /dev/dvdrw?
 
Old 03-10-2006, 04:02 PM   #5
EAD
Member
 
Registered: Mar 2006
Distribution: ARCH linux
Posts: 137

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by titopoquito
Is it a typo that you once use /dev/hdc and once /dev/dvdrw?
yes I think. so How KDE do it? and How can I do it from prompt?
 
Old 03-10-2006, 05:34 PM   #6
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 57
KDE probably does it using HAL or something that would be running as root. In your fstab line, change 'user' to 'users' and you should be able to mount as a user. Your user needs to have permissions on the mountpoint though.

Also, the forum default text size is quite nice. No need to change that, ever.
 
Old 03-10-2006, 09:08 PM   #7
petespin27
Member
 
Registered: Aug 2005
Location: Lansing, IL
Distribution: Opensuse 11
Posts: 140

Rep: Reputation: 15
Also, stick in a disk and try: mount /mnt/cdrom

(leave out the /dev/dvdrw). Also make sure that you are in the cdrom group.
 
Old 03-11-2006, 12:46 AM   #8
bender324
LQ Newbie
 
Registered: Jan 2006
Distribution: Debian
Posts: 10

Rep: Reputation: 0
If I can attach a rider to this question ...

Why might KDE (Konqueror specifically I guess) sometimes not free up access to the CD-ROM, preventing me from unmounting or ejecting the drive?

If anyone wants to line-item veto this question that's cool.
 
Old 03-11-2006, 01:13 AM   #9
Miya
LQ Newbie
 
Registered: Feb 2006
Location: Germany
Distribution: Debian Sarge
Posts: 2

Rep: Reputation: 0
Konqueror and CD-ROM

Quote:
Originally Posted by bender324
If I can attach a rider to this question ...

Why might KDE (Konqueror specifically I guess) sometimes not free up access to the CD-ROM, preventing me from unmounting or ejecting the drive?

If anyone wants to line-item veto this question that's cool.
I have the same problem. I guess it happens beacause Konqueror is still accessing the drive folder.

To solve this I leave my /cdrom folder and wait around 3 minutes. Then I can unmount the drive. If I try to early, I can only unmount the drive with a logout, and this is very annoying.

Is there a better way to solve this?
 
Old 03-11-2006, 03:16 AM   #10
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,594

Rep: Reputation: 125Reputation: 125
You can do a "lsof | grep cdrom" and see what process accesses the cdrom drive. Sometimes you can see clearly what causes this and end the process.
 
  


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
CDROM refuses to mount, /dev/cdrom does not exist shane25119 Linux - Hardware 10 08-02-2009 10:43 PM
mount cdrom under kde marekjs Slackware 11 05-02-2005 05:23 PM
CDROM doesn't mount in KDE, FC3 ai.user Fedora 4 01-27-2005 05:55 PM
KDE cdrom mount problem rhinoss Fedora 3 12-11-2004 05:15 PM
FreeBSD 5.1 (KDE 3.1) I can't mount my CDROM selvyn Linux - Hardware 0 02-27-2004 11:27 AM

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

All times are GMT -5. The time now is 02:51 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration