Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 06-01-2004, 04:44 PM   #1
LQ Newbie
Registered: Jun 2004
Distribution: Fedora Core 1 (Yarrow)
Posts: 1

Rep: Reputation: 0
Question Automount my windows shared directory fails

I have FC1 installed on my laptop and want to make occasional use of my windows XP network shared 'install' directory.

My windows machine has the network name 'gandalf' (it isn't that smart actually but just as ugly) and i have a directory shared as 'install'.

When i use
mount -t smbfs -o username=user,password=secret //gandalf/install /mnt/gandalf
it works fine and I can read and write with it.

What I want is to have this install directory automatically mounted under /mnt/gandalf so i can do
ls /mnt/gandalf/install

So I read man pages of automount, autofs and auto.master and:
1. created the /mnt/gandalf directory
2. added this line to /etc/auto.master -> /mnt/gandalf /etc/auto.gandalf
3. created the /etc/auto.gandalf file containing the following line ->
install -fstype=smbfs,username=jeroen,password=secret  ://gandalf/install
4. since the auto.master file was changed reloaded autofs -> /etc/init.d/autofs reload

But when I try to ls /mnt/gandalf I see nothing, nor when I ls /mnt/gandalf/install.

So I checked the /var/log/messages and found this entry:
automount[2783]: mount(generic): failed to mount (null) (type smbfs) on /mnt/gandalf/install

I undid (even rebooted) everything after I tested with the normal mount command.

What am I doing wrong here?


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
mounting windows shared directory on to a linux box srinivasarajui Linux - Networking 2 09-28-2005 05:56 AM
Automount fails and doesn't retry asmithumd Linux - Networking 0 05-23-2005 10:16 AM
Accessing automount directory using chroot prakashpms Linux - Security 1 06-24-2004 05:17 PM
How to create Shared Documents Directory like in Windows XP? neranjana Linux - Newbie 1 01-11-2004 10:07 PM
Connecting to Shared Windows Directory NiallC Linux - Networking 3 08-10-2003 05:08 AM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration