On 2002-08-11, JW wrote:
> On Sunday 11 August 2002 07:46 am, you wrote:
> > On 2002-08-11, JW wrote:
> > >  Specifically, under /net I want to use <host>/<share> so
> > > that the share "work" on host "devbox1" would be found under
> > > /het/devbox1/work/
> >
> > That's already possible. (or did I miss something?)
> 
> I don't know, I used autofs4 with SusE and tried it, it wouldn't work. Posted to the 
>list abot it a few months ago and was told it couldn't be done.

$ ls /net

$ ls /net/sun-cm
comm_netrac2/  local/

$ ls /net
sun-cm/

As you see -- it works. I'm using slackware-8.1, but it should not
matter.  I think what I did after installing slackware was somewhat
like this:
- Configure the kernel for autofs-4 (the autofs-3 option should
  be off!) (I don't use modules..)
  Of course you also need to configure NFS support..
- Download and compile autofs-4 (compile the kernel and autofs
  with gcc-2.95, not with gcc 3.x, it seems to make a difference
  in this case.)
- Copy the resulting automount binary over the original one in
  /usr/sbin
- Copy the file autofs.net from autofs-4 to /etc
- As root, type: /usr/sbin/automount /net program /etc/auto.net &
  (Or write that command in one of your startup scripts)

At this point it should be working..
This last step I could probably improve, but it works..

Reply via email to