I'm using kernel 2.6.0-test9, i could only see patches for 2.4 so i guess this has the latest autofs in it allready right? I've also upgraded my daemon to autofs-4.1.0-beta3. I then tried running this:-

automount -g /mnt/network/samba/computerA file /etc/autofs/samba

in the file /etc/autofs/samba I have this:-

download -fstype=smbfs,username=guest,password=none ://computera/Download
upload -fstype=smbfs,username=guest,rw,password=none ://computera/Upload


it works fine but it still doesnt do the "ghosting"



Rigler, Steve wrote:



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Alexander Macdonald
Sent: Friday, November 14, 2003 6:13 AM
To: [EMAIL PROTECTED]
Subject: Re: [autofs] making the mountpoints visible all the time



Ian Kent wrote:




The autofs4-2.4 module build kit or the patches contained in

it or the


patches contained in autofs-4.1.0-beta3 can give you this

for some of the


maps. NIS, LDAP and file maps work at the moment.

I's in the expected place on kernel.org.




not sure what you mean by file maps, but I'm trying to mount samba and nfs shares so i guess I'm out of luck...




In order to view the mountpoints before they are mounted you need to have the newer version of the kernel module which is available at kernel.org.

The maps aren't really specific to the type of filesystem you are
trying to mount.  You can get your maps from a local file, NIS, LDAP,
etc.  They can contain information to mount smb, nfs, or even local
filesystems.

If you install the newer kernel module, you can make your mountpoints
visisible with the ghosting option. One way to enable this is to set it in your /etc/auto.master like:


/somedir file:/etc/auto.somedir -g

Or you can add the "-g" to the "daemonoptions" variable line in /etc/init.d/autofs.

-Steve





_______________________________________________
autofs mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to