All of lore.kernel.org
 help / color / mirror / Atom feed
* making the mountpoints visible all the time
@ 2003-11-13 17:52 Alexander Macdonald
  2003-11-13 20:29 ` Taylor, ForrestX
  0 siblings, 1 reply; 16+ messages in thread
From: Alexander Macdonald @ 2003-11-13 17:52 UTC (permalink / raw)
  To: autofs

Hi

I've currently got automount setup so that i can cd into a directory 
like /mnt/someplace and someplace will be automatically created and 
mounted... it would be quite usefull if that directory was allways 
visible so that i could browse to it in gui applications... how do i do 
that?

^ permalink raw reply	[flat|nested] 16+ messages in thread
* RE: making the mountpoints visible all the time
@ 2003-11-14 14:48 Rigler, Steve
  2003-11-14 20:19 ` Alexander Macdonald
  2003-11-18 14:05 ` Ian Kent
  0 siblings, 2 replies; 16+ messages in thread
From: Rigler, Steve @ 2003-11-14 14:48 UTC (permalink / raw)
  To: Alexander Macdonald, autofs



> -----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

^ permalink raw reply	[flat|nested] 16+ messages in thread
* RE: making the mountpoints visible all the time
@ 2003-11-14 21:34 Rigler, Steve
  0 siblings, 0 replies; 16+ messages in thread
From: Rigler, Steve @ 2003-11-14 21:34 UTC (permalink / raw)
  To: autofs


> -----Original Message-----
> From: autofs-bounces@linux.kernel.org
> [mailto:autofs-bounces@linux.kernel.org]On Behalf Of 
> Alexander Macdonald
> Sent: Friday, November 14, 2003 2:20 PM
> To: autofs@linux.kernel.org
> Subject: Re: [autofs] making the mountpoints visible all the time
> 
> 
> 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"
> 
> 

I haven't tried the 2.6 kernel yet, so anything I suggest would be
based on experience with the 2.4 kernel.

One thing is to make sure you have an entry in /etc/modules.conf
to force loading of the autofs4 module.

It should look like:
alias autofs autofs4

If you have to add the line then stop autofs.  Do "rmmod autofs"
and then start autofs again (I believe the init script will load
the module for you).

-Steve

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2003-11-19  0:41 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-13 17:52 making the mountpoints visible all the time Alexander Macdonald
2003-11-13 20:29 ` Taylor, ForrestX
2003-11-14  0:53   ` Todd Denniston
2003-11-14  3:04   ` Ian Kent
2003-11-14 12:13     ` Alexander Macdonald
2003-11-14 15:09       ` Ryan Go
2003-11-14 15:13       ` Greg Bradner
2003-11-14 18:54     ` Ruslan U. Zakirov
2003-11-16 16:12       ` Ian Kent
2003-11-16 18:09         ` H. Peter Anvin
2003-11-19  0:24     ` Taylor, ForrestX
2003-11-19  0:41       ` Ian Kent
  -- strict thread matches above, loose matches on Subject: below --
2003-11-14 14:48 Rigler, Steve
2003-11-14 20:19 ` Alexander Macdonald
2003-11-18 14:05 ` Ian Kent
2003-11-14 21:34 Rigler, Steve

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.