hi fred

assuming that you want to acess from any_linux:/Net/<host>/*
        
- I gonna suggest this but donno if it does what you want...
- nor do I remember if the options syntax are right or supported
        ( we can fix it ( the file ) later? )

linux: vi /etc/auto.master
        /.autofs  /etc/auto.misc --timeout 60

        - or break up into different auto.misc corresponding files

linux: vi /etc/auto.misc
        host1   -fstype=nfs,ro,hard,intr,noquota,grpid,retrans=4 host1:/
        host2   -fstype=nfs,ro,hard,intr,noquota,grpid,retrans=4 host2:/
        host3   -fstype=nfs,ro,hard,intr,noquota,grpid,retrans=4 host3:/

        hostxx can be host.domain.name...

linux: mkdir /.autofs /net
linux: cd /net ; ln -s /.autofs/host1 . 
linux: cd /net ; ln -s /.autofs/host2 . 
linux: cd /net ; ln -s /.autofs/host3 . 

linux: /etc/rc.d/init.d/autofs stop 
linux: /etc/rc.d/init.d/autofs start    - or whatever to restart autofs

linux: ls -l /net/host*/etc/auto.misc

am I way off base ???
at least the above works for me...and is untested on 2.2 kernels...

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

> I was directed here to pose the following question about using Sun
> automounter maps with Linux.  I'm currently using RH5.2 with 
> 2.2.0-pre7-ac4 and the "auto.master" maps that we use have the
> following format: 
> 
>     /net/<host> auto.<host> -ro,hard,intr,noquota,grpid,retrans=4
> 
> and then we have a map for each "<host>" called "auto.<host>" that
> looks like this:
> 
>     * <host>.<domain>:/nfs/<host>/&    
> 
> Now I'm having the problem that the RH5.2 init script spawns an
> automount job for each line in the auto.master file.  That's 117
> automount jobs in all...
> 
> Do you know if I can convert this into something autofs can use?  Any
> help would be greatly appreciated!
> 
>                 -Fred
> 

Reply via email to