hi liande

assuming you have a simple network...

> I used to using automount on SUN machine.
> And it is easy to configure all the machines with
> the same environment.
> For example, there is a directory /sca on machine umax.
> And /sca is automounted on machine fred by defining
> in /etc/auto.master & /etc/auto.direct.
> 
> # /etc/auto.master
> +auto_master
> /-      /etc/auto.direct

change your fred:/etc/auto.master on the linux box to:

        /.autofs  /etc/auto.misc  --timeout 60

mkdir /.autofs  to create the directory

> # /etc/auto.direct
> /sca    -soft,intr      umax:/sca

change your fred:/auto.misc

        sca     -fstype=nfs,soft,intr      umax:/sca

-- retart autofs
-- ls -la /.autofs/sca   should show you stuff on umax

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


> The directory /sca is exactly the same on machines umax & fred.
> 
> I had troubles to do this on Linux.
> Could you please show me an example how to do it on Linux?
> Thank you.
> 
>  
> Regards,
> 
> Liande Jeng
> 
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-
> Geophysical Data Processing Center    |  Tel: 886-2-28216313 ext 1532
> Taiwan Peotroleum Exploration Division|  Fax: 886-2-28213147
> Chinese Petroleum Corporation       |Email: [EMAIL PROTECTED]
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-
> 8 Lane 22, Tunghwa Street, Section 1,
> Peitou District, Taipei Taiwan 112
> Republic of China
> 

Reply via email to