From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Macdonald Subject: Re: making the mountpoints visible all the time Date: Fri, 14 Nov 2003 20:19:36 +0000 Sender: autofs-bounces@linux.kernel.org Message-ID: <3FB538D8.2040802@yahoo.com> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: autofs-bounces@linux.kernel.org Content-Type: text/plain; charset="us-ascii"; format="flowed" To: autofs@linux.kernel.org 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: autofs-bounces@linux.kernel.org >>[mailto:autofs-bounces@linux.kernel.org]On Behalf Of >>Alexander Macdonald >>Sent: Friday, November 14, 2003 6:13 AM >>To: autofs@linux.kernel.org >>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 > > >