hi ya james

> > > Great job on "autofs". The only grief I had with the package are:

ditto that for hpa

> > > 1) Links for the "autofs" start scripts were omitted from the RPM.
> > >      Workaround "ln -s /etc/rc.d/init.d/autofs /etc/rc.d/rc[3-5].d/S08autofs"

which distribution is this from ??

[ lots of snips ]

> #!/bin/bash
> if /usr/bin/ypmatch $1 hosts.byname 2>/dev/null 1>&2
> then
>   echo $1:/
> fi  

I use hard coded /Net/Servers
to be able to do standard /net/<hostname> stuff

/etc/auto.misc
        server1  -fstype=nfs,soft,intr  server1:/export
        server2  -fstype=nfs,soft,intr  server2:/export
        server3  -fstype=nfs,soft,intr  server3:/export

cd /Net ;
        ln -s /.autofs/server1 . 
        ln -s /.autofs/server2 . 
        ln -s /.autofs/server3 .

diff /Net/server1/etc/passwd /Net/Backup/etc/passwd

- nice to have more than one solution for all unix problems... 

have fun
alvin
http://www.linux-consulting.com/Amd_AutoFS/autofs-HOWTO.html

> So now I can do the standard:
> 
>   ls /net/<hostname> 
> 
> stuff.  
> 
> Hope this helps.  Anybody have a better "hack"?
> 
> Andrew
> 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>    Andrew Patterson                          Voice:  (970) 898-3261
>    Hewlett-Packard Company                   FAX:    (970) 898-2180
>    Development Solutions Lab                 email: [EMAIL PROTECTED]
>    3404 East Harmony Road / MS 7
>    Fort Collins, Colorado  80525  
> 

Reply via email to