LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-25-2012, 06:53 PM   #1
Alpha90
Member
 
Registered: Jul 2012
Posts: 45

Rep: Reputation: Disabled
I am having an automounting issue with my Optical Drives at boot time


When ever my Optical Drive boots with a Read Only CD / DVD in it i get some boot time errors slowing down my boot process. I checked my fstab and both drives have the option noauto but for some reason at boot they mount and the system tries to write to them I believe.

Since my systems fstab file has the option noauto included i performed a test modifying the fstab to remove both optical drives and mount points. But some how that still did not work and they mounted even without a listing in fstab. I am not sure if i am having a caching issue where the system is reading an old fstab or im having some weird mounting issue. Has anyone ever come across something like this? I am running Debian Squeeze with Kernel 3.2.28.
 
Old 12-25-2012, 09:12 PM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: /root
Distribution: Slackware & BSD
Posts: 1,218

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
But some how that still did not work and they mounted even without a listing in fstab. I am not sure if i am having a caching issue where the system is reading an old fstab or im having some weird mounting issue. Has anyone ever come across something like this?


Everybody running recent linux kernel experience the same. HAL and udev respects the provisions in the /etc/fstab, it is read first and is given priority in the order. If nothing is found there concerning an existing device (say DVD/CD drive) udev creates a /dev/symlink for that automatically; if in case a storage is found therein (a CD or DVD) udev mounts them automatically with the help or (as usual) with the auspices of intrusive mechanisms provided by Kde, Gnome, Xfce or whatever modern DE handles (or grabs) it from the hand of udev --the latter usually sets it to read/write if allowed, if not then an error or informative report is echoed and recorded to the log. To make the media writable the common methods are--

1. Remount it manually with the " -o rw " option;
2. Or automate the process by creating a rule in the /etc/udev/rules.d/70-persistent-blah.
3. Or just nail it at the /etc/fstab for all time.

Hope that helps.

Good luck.
 
  


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
[SOLVED] optical drives don't show up unless boot with media - then they disappear donnied Debian 2 09-06-2010 05:59 PM
[SOLVED] Something other than ivman automounting my drives William (Dthdealer) Linux - Software 2 04-25-2010 07:46 PM
Ultra ATA/133 PCI Adapter Card with 2 optical IDE drives attached, cannot boot my_key Linux - Hardware 2 08-25-2007 05:49 AM
Is there DMA for SATA Optical Drives? Or is my inspiron optical not supported (yet)? RHLinuxGUY Linux - Kernel 14 09-24-2006 03:11 PM
automounting pen drives saini_mw Linux - Hardware 2 04-03-2006 12:33 AM


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