All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: making the mountpoints visible all the time (fwd)
@ 2003-11-19  8:13 Ian Kent
  2003-11-19 16:45 ` H. Peter Anvin
  0 siblings, 1 reply; 16+ messages in thread
From: Ian Kent @ 2003-11-19  8:13 UTC (permalink / raw)
  To: autofs mailing list

On Sun, 16 Nov 2003, H. Peter Anvin wrote:

> Ian Kent wrote:
> >
> > But how do you know what the keys are?
> >
> > In order to make mount points visible you need to know what they are. The
> > definition of a program map is that it produces map entries as output
> > given an input key.
> >
>
> You need a new operation on a map -- enumerate.  Most, but not all map
> types support it.
>
> In the case of a program map I would suggest implementing enumeration by
> passing no argument and expecting the enumerated list back.
>

That sounds good a good idea for inclusion in 4.1.1 (I have quite a list
already).

Move the decision on what the map contains to the program map implementer.
That would be fairly straight forward to implement given that I have a
placeholder function in each map module.

Ian

^ permalink raw reply	[flat|nested] 16+ messages in thread
* RE: making the mountpoints visible all the time (fwd)
@ 2003-11-17  5:05 Chris Croswhite
  2003-11-17  5:32 ` Ian Kent
  2003-12-02 13:49 ` Ian Kent
  0 siblings, 2 replies; 16+ messages in thread
From: Chris Croswhite @ 2003-11-17  5:05 UTC (permalink / raw)
  To: Ian Kent, Alexander Macdonald; +Cc: autofs

I can offer up about 75 Linux boxes as testing.  They are used pretty heavily mounting about 300-400 differnet mount points during the day from slowlaris, HPsUx, Linux and NetApp file systems.  Just let me know.

TIA,
Chris


-----Original Message-----
From:	Ian Kent [mailto:raven@themaw.net]
Sent:	Sun 16-Nov-03 18:53
To:	Alexander Macdonald
Cc:	autofs@linux.kernel.org
Subject:	Re: [autofs] making the mountpoints visible all the time (fwd)
On Sun, 16 Nov 2003, Alexander Macdonald wrote:

> I'm happy to try out any patches, although I'm only using autofs for
> about 20 or so samba and nfs shares on a few pcs so it wont exactly be
> thorough enterprise level testing :)
>
> >In fact, I don't have a 2.6 environment other than what I use to test at
> >home so volenteers are needed for testing. We can't expect the changes
> >to be accepted without some testing other than my simple setup.
> >
> >

Any help is appreciated.

I'll let you know when I've got something to test.

Thanks.

-- 

   ,-._|\    Ian Kent
  /      \   Perth, Western Australia
  *_.--._/   E-mail: raven@themaw.net
        v    Web: http://themaw.net/

_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

^ permalink raw reply	[flat|nested] 16+ messages in thread
* RE: making the mountpoints visible all the time (fwd)
@ 2003-11-16 16:05 Ian Kent
  2003-11-16 19:58 ` Alexander Macdonald
  0 siblings, 1 reply; 16+ messages in thread
From: Ian Kent @ 2003-11-16 16:05 UTC (permalink / raw)
  To: autofs mailing list


---------- Forwarded message ----------
Date: 16 Nov 2003 23:56:22 +0800
From: Ian Kent <raven@themaw.net>
To: "Rigler, Steve" <SRigler@MarathonOil.com>
Subject: RE: [autofs] making the mountpoints visible all the time

On Sat, 2003-11-15 at 05:34, 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 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"
> > 
> > 

There is no port of these changes for 2.6 yet.

I'm working on it and hope to submit my changes within a week. Hopefully
I'll get something into the kernel.

In fact, I don't have a 2.6 environment other than what I use to test at
home so volenteers are needed for testing. We can't expect the changes
to be accepted without some testing other than my simple setup.

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

Yes.

The 4.1.0 betas contain an init script which checks and loads the
autofs4 kernel module first (ie. before autofs) so this shouldn't be
needed however it can't hurt.
 
-- 

   ,-._|\    Ian Kent
  /      \   Perth, Western Australia
  *_.--._/   E-mail: raven@themaw.net
        v    Web: http://themaw.net/

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

end of thread, other threads:[~2003-12-02 13:49 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-19  8:13 making the mountpoints visible all the time (fwd) Ian Kent
2003-11-19 16:45 ` H. Peter Anvin
2003-11-21  0:51   ` Ian Kent
2003-11-21  1:43     ` H. Peter Anvin
2003-11-21  6:59       ` Ian Kent
2003-11-21  8:49         ` Ruslan U. Zakirov
2003-11-22  7:14           ` Ian Kent
2003-11-21 19:52         ` H. Peter Anvin
2003-11-21 19:56         ` H. Peter Anvin
2003-11-22  7:19           ` Ian Kent
  -- strict thread matches above, loose matches on Subject: below --
2003-11-17  5:05 Chris Croswhite
2003-11-17  5:32 ` Ian Kent
2003-12-02 13:49 ` Ian Kent
2003-11-16 16:05 Ian Kent
2003-11-16 19:58 ` Alexander Macdonald
2003-11-17  2:53   ` Ian Kent

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.