LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 11-25-2004, 08:21 AM   #1
Rudibot
LQ Newbie
 
Registered: Nov 2004
Posts: 3

Rep: Reputation: 0
The trouble with fstab/auto/user/s


Hi!
Installed Mandrake a few weeks ago and just getting my system nice. Am having some problems with my cdrom; if there was already a cd in the drive on startup it didn't appear on the desktop and I had to mount it manually. My original fstab entry was:
dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec 0 0

Looked into fstab and changed the noauto in the argument list to auto; the entry then looked:
dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec 0 0

This seemed to work well, the only problem being that I couldn't eject the cd as a normal user so then changed user to users so that when it was mounted as root on boot anyone could see it.
/dev/hdc /mnt/cdrom auto umask=0,users,iocharset=iso8859-15,codepage=850,auto,ro,exec 0 0


This all seemed great until then, as a normal user I tried to eject the cd and put another one in - the eject worked fine but the cd woudn't return! (however it does return id you do the same thing as root) Any idea on how I can get the cd to automount again as it had previously? My auto and users changes seemed to have disabled the automounting?

Thnks,
Rudi
 
Old 11-26-2004, 07:02 AM   #2
Rudibot
LQ Newbie
 
Registered: Nov 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Fixed!

Put the fstab cdrom entry back to noauto and left the users:
dev/hdc /mnt/cdrom auto umask=0,users,iocharset=iso8859-15,codepage=850,noauto,ro,exec 0 0

Then edited my /etc/rc.d/rc.local file to include a mount /mnt/cdrom

The cd now behaves like on a Mac; if there is a cd in the drive there is an icon on the desktop. If not - no icon!
 
  


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
Auto-mounting ntfs partition in fstab Mithrilhall Linux - Newbie 3 09-22-2009 01:03 AM
'specify the filesystem type' shouldn't appear if set to 'auto' in fstab. ExCIA Linux - Newbie 4 05-22-2005 09:58 AM
auto and bind options in fstab kaplan71 Linux - Networking 1 05-18-2005 08:58 AM
Win share will not auto mount, inclu in Fstab ZingSter SUSE / openSUSE 4 04-06-2005 07:22 AM
fstab and samba auto network mounting! eca00cdy Linux - Newbie 3 05-14-2002 05:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 07:39 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