LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-14-2004, 11:25 AM   #1
harryman100
LQ Newbie
 
Registered: Nov 2003
Posts: 8

Rep: Reputation: 0
problem mounting DVD drive


Hi,

I have two CD drives, one DVD (writer) drive, and a CDRW drive. I have not tried to get the writing capabilities of either drive working yet - so that is not the problem (I don't think).

They are /dev/hdc for CDRW and /dev/hdd for DVD. The relevant bit of my /etc/fstab looks like this

/dev/cdrw /mnt/cdrw iso9660 noauto,owner,ro 0 0
/dev/dvd /mnt/dvd iso9660 noauto,owner,ro 0 0

There are symlinks from /dev/dvd and /dev/cdrw to the relevant /dev/hd_ entries

I can issue a "mount /dev/cdrw" command fine (and access the contents of the CD!) however, when I do "mount /dev/dvd" I get

harry@slartibartfast:~$ mount /dev/dvd
mount: only root can mount /dev/dvd on /mnt/dvd

when I "su" and try and mount it it works fine....


The permissions for the mounting directories are the same as well:
dr-xr-xr-x 3 root root 2048 2004-08-26 00:49 cdrw
dr-xr-xr-x 1 root root 2048 2000-07-07 12:00 dvd

Does anyone know why these two behave differently?

Thanks,
Harry
 
Old 10-14-2004, 12:08 PM   #2
Gort32
Member
 
Registered: Sep 2004
Distribution: Slack!
Posts: 150

Rep: Reputation: 15
/mnt/cdrw and /mnt/dvd are just symlinks to the real devices - /dev/hdc and /dev/hdd most likely. Check the permissions on these devices and see if that helps. I bet that /dev/hdc has higher permissions than /dev/hdd
 
Old 10-14-2004, 01:17 PM   #3
SiliconFOXX
LQ Newbie
 
Registered: Oct 2004
Location: Fort Walton Beach, FL
Distribution: Slackware
Posts: 7

Rep: Reputation: 0
Try this out, 'cause I get this thing all the time with anything in Slackware mounting-wise.

Edit the /etc/fstab and take a look at the comments to the right of each device. It'll have a little comma-delimited list like "noauto,owner," and so forth. Add "users" onto that little comma list, I bet it'll fix you right up.
 
Old 10-14-2004, 04:23 PM   #4
harryman100
LQ Newbie
 
Registered: Nov 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks, I had to do both of these to fix the problem. The permissions problem, was that /dev/hdc had owner of me, and /dev/hdd had owner root!!

Thanks Guys!
 
  


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
Mounting DVD to a CDR/DVD combo drive f34r7h1s Slackware 38 05-16-2005 07:50 PM
Problem mounting usb dvd-drive bamsesbilledbog Linux - Hardware 3 04-15-2005 11:20 AM
Problem mounting DVD drive that burns fine leontini Linux - Hardware 2 12-07-2004 04:44 PM
mounting dvd drive true_atlantis Linux - Newbie 8 04-15-2004 03:02 AM
Mounting a CD-R on a DVD drive Pwcca Linux - Hardware 2 07-27-2003 04:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration