On Tue, Jan 11, 2000 at 04:04:35PM +0100, Coetmeur, Alain wrote:
> > I've never used the program maps- tbh, I didn't even think of
> > implementing all this using one. I might give it a try.
>
> this is very powerful, but using /bin/sh
> is quite dangerous. using perl or C++ may be better.
>
> one idea, for extreme performance, could be to use module, or .so like
> kernel modules, that you can add or remove
> from the automounter, so that you don't have to recompile it,
> which is breaking module isolation.
>
> installing your kind of smb automount map, or
> a /net -hosts NFS map, or a Netbios host map, or
> any strange map, would be as easy as installing
> a RPM module and editing /etc/auto.master
I'm sorry but how does this differ from what autofs already does? You
compile lookup_samba.c to lookup_samba.so and install it in
/usr/lib/autofs- then when you give "samba:...." on the autofs command
line (instead of file:....", it dlopens
/usr/lib/autofs/lookup_samba.so and runs lookup_init() etc...
So if I create a .deb with just /usr/lib/autofs/lookup_samba.so in, it
all automagically comes together....
SRH
--
Steve Haslam, Production Engineer, Excite UK [EMAIL PROTECTED]
i sit and stare at the gun pointed at my head
and think about all the possibilities