LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 03-16-2002, 09:36 PM   #1
islandkid
Member
 
Registered: Mar 2002
Location: Victoria, BC, Canada
Distribution: None (www.linuxfromscratch.org)
Posts: 103

Rep: Reputation: 15
/auto - mounting floppy/cdrom problem


my cdrom and floppy drives can't be mounted in /auto for some reason and I get this error when I install rpms:

error: failed to stat /auto: Connection refused

why does the package manager try to connect to /auto ???

anyway, I can't change permissions or do anything to the directory /auto
and when I look at its permissions, it has no read permissions set. This is when I'm logged in as root.

Another thing is that when I try to look at the permissions or try to go into /auto it takes an abnormally long time.
 
Old 03-17-2002, 01:20 PM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
I'm not too sure if I understand what you're trying to accomplish so here's a shot in the dark. It sounds like you are trying to get all removable devices mounted to the same dir (/auto). That _should_ generate at least a couple of messages for ya.

If you're trying to get a simple setup to be able to mount the CD drive your /etc/fstab should have a line in it like this.
Code:
/dev/cdrom      /media/cdrom    auto    ro,noauto,user,exec 0 0
There is a link from /dev/cdrom -> /dev/hdc in my /dev folder. /media/cdrom is where I will mount this particular CD drive and the noauto option means that every time a 'mount -a' (mount all in fstab) is executed (ie: at startup) we won't try to mount our removable devices. Generally things like floppys, CD, DVD, etc are mounted by the user at the time that you need to use them. In the above case I have a link "/cdrom -> /media/cdrom" in my / dir. When a user needs the device they just issue a "mount /cdrom".

OK so why all the extra glue in the /dev/ folder? Let's say I've just setup all my software that uses my CD-ROM and CD-R devices and that I used the device name instead of an aptly named link to the device (like /dev/cdrom). So now my 'cdplayer' (and all other CD apps) use /dev/hdc. It works great until I put the CD drive on a different IDE device. When I install my new skookum IDE controller and want run my CD from it it will now be something like /dev/hde and I would have to change all the software to use /dev/hde instead of /dev/hdc - a real pain in the arse. By using links I just remove the old link /dev/cdrom -> /dev/hdc and create a new one /dev/cdrom /dev/hde. All apps are still ready to go.

I hope I didn't muddy up the issue for ya...
 
Old 03-17-2002, 10:35 PM   #3
islandkid
Member
 
Registered: Mar 2002
Location: Victoria, BC, Canada
Distribution: None (www.linuxfromscratch.org)
Posts: 103

Original Poster
Rep: Reputation: 15
I understand. thanks

Last edited by islandkid; 03-17-2002 at 10:42 PM.
 
Old 03-18-2002, 02:16 AM   #4
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 46
If you are using the /auto directory then most likely you are trying to use autofs. This document might give you some tips http://linuxdoc.org/HOWTO/mini/Automount.html
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cdrom and floppy drive auto mount problem shams Fedora 1 02-27-2005 07:43 AM
mounting cdrom and floppy jimdene Mandriva 22 09-10-2003 12:00 AM
??? cdrom and floppy mounting rikkulinux Linux - Newbie 2 08-13-2003 04:57 PM
mounting floppy and cdrom drive jcb_dreamvsat Linux - Newbie 8 06-22-2003 10:31 AM
Needing help with mounting cdrom and floppy voitel Linux - Software 6 07-13-2001 10:03 PM


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