LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Please help! autofs (https://www.linuxquestions.org/questions/linux-general-1/please-help-autofs-51500/)

foetus66 03-24-2003 02:07 PM

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

foetus66 03-25-2003 07:47 AM

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. :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! :cry:


All times are GMT -5. The time now is 10:52 PM.