Skip site navigation (1)Skip section navigation (2)
Date:      15 Oct 2004 15:11:52 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Alfred Perlstein <alfred@freebsd.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: automount vs Solaris
Message-ID:  <443c0fzthj.fsf@be-well.ilk.org>
In-Reply-To: <20041014165827.GI29177@elvis.mu.org>
References:  <200410072252.i97Mqifa084091@wattres.Watt.COM> <20041008084627.GA48159@happy-idiot-talk.infracaninophile.co.uk> <44vfdds39q.fsf@be-well.ilk.org> <20041014165827.GI29177@elvis.mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Alfred Perlstein <alfred@freebsd.org> writes:

> * Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> [041014 08:55] wrote:
> > Matthew Seaman <m.seaman@infracaninophile.co.uk> writes:
> > 
> > > On the other hand, there is this:
> > > 
> > >     http://lists.freebsd.org/pipermail/freebsd-current/2004-September/036786.html
> > > 
> > >     http://www.freebsd.org/cgi/getmsg.cgi?fetch=1001154+0+/usr/local/www/db/text/2004/cvs-all/20040905.cvs-all
> > > 
> > > so there will be autofs support in 5.3-RELEASE.
> > 
> > That's on 6.x, not 5.x; is there any reason to think it will get
> > MFC'd?  [At all; I'd be surprised if release engineering okayed
> > it for 5.3.]
> 
> I'll probably immediately MFC it after the release.
> 
> Since it works on 4.x I might even bring it back there.
> 
> The main issue is that no one has stepped forward to write
> the glue between my autofs and amd(8).  I'm too busy right now.
> 
> You can have fun with /usr/share/examples/autofs/autodriver
> if you want to expiriment or try your own.

I've got a deadline coming up, so I may have time to play with it
after that.

In the meantime, I came up with the following bit of awk to translate
the table syntax, for my fairly simple case:

  match($2,"/[^/]*$") { 
      print substr($2, RSTART+1, RLENGTH) " \trhost:=" $1 ";rsf:="
      substr($2, 1, RSTART-1) ;
      print ""
  }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?443c0fzthj.fsf>