LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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-24-2003, 02:07 PM   #1
foetus66
LQ Newbie
 
Registered: Mar 2003
Location: Oregon
Distribution: RH8
Posts: 7

Rep: Reputation: 0
Question Please help! autofs


I'll try to make this as brief as possible. In my /etc folder i have two files, each with just one line and I will list the contents of them here.


auto.master:

/mp3 /etc/auto.tofu --timeout=900


auto.tofu:

mp3 -fstype=smbfs ://tofu/Mp3


(note that they have tabs in them, they just dont seem to show in the forum)

I am under the impression that if I go to the folder /mp3 that it should access the share. (the share works fine if i do smb://tofu/Mp3 from Nautilus)

I'm sure it's something obvious, just not obvious to me.
Help!

Carl

Last edited by foetus66; 03-24-2003 at 02:09 PM.
 
Old 03-25-2003, 07:47 AM   #2
foetus66
LQ Newbie
 
Registered: Mar 2003
Location: Oregon
Distribution: RH8
Posts: 7

Original Poster
Rep: Reputation: 0
frustration

Ok I've read up a little more since I posted that, and I am fairly certain I've got it right now.

However, after some experimentation, I've determined that basically what is happening is whatever I have as the first entry in auto.master will become an unusable directory.

Example auto.master:

/mnt /etc/auto.tofu --timeout=60

If I stop autofs, then everything works normally (Except of course for automount).
If autofs is on, the directory /mnt suddenly has no contents (the cdrom and floppy folders are just not there) and even as root I do not have permissions to create a folder.
When I stop autofs again, go back to / and then return to /mnt, the folders have returned.
The same thing happens if my auto.master says:
/mnt/test /etc/auto.tofu --timeout=60

the folder 'test' now is basically non-functional.
The share still works fine at smb://tofu and i can easily mount it as root with the command:
mount -t smbfs //tofu /mnt/tofu

I am really confused.

I really don't want to go back to windows but I've been struggling with making RedHat 8 perform basic tasks for days on end now. HELP!
 
  


Reply



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
autofs kemkem42 Linux - Software 1 09-22-2005 01:22 PM
autofs fitteschleiker Slackware 2 06-28-2005 04:17 PM
Autofs tefal Linux - Software 4 07-20-2004 10:58 AM
Using Autofs guygriffiths Linux - Software 1 09-17-2003 10:31 AM
Autofs...help please yourcompadre Linux - Networking 0 06-03-2003 09:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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