On Wed, Apr 12, 2000 at 06:44:40PM -0400, James O'Kane wrote:
> On Wed, Apr 12, 2000 at 03:37:33PM -0700, H. Peter Anvin wrote:
> > You need to use the autofs 4 pre-releases.
>
> Does this still require a 2.3 kernel?
A while ago I did this on 2.2.14 with the following patches
(all from http://www.goop.org/~jeremy/autofs):
autofs-4.0.0-pre1.tar.gz daemon and stuf
autofs-2.2.14-20000123.diff autofs version 4
This includes a feature to have executable maps:
/etc/auto.master:
/net /etc/auto.net
/etc/auto.net:
#!/bin/sh
key="$1"
opts="-nosuid,nodev,nolock,retry=-1"
showmount --no-headers -e $key | sort | sed "
s|^\([^ ]*\).*|$key\1 $opts $key:\1|"
I think there are newer patches available.
--
Frank