hi attila

not sure but i think you should try:

cat /etc/auto.tmp
------------------
  ftp   -fstype=nfs     lemma.math.bme.hu:/infosys/ftp/pub
  www   -fstype=nfs     lemma.math.bme.hu:/infosys/www

ls -la /mnt/tmp/www     should list your web stuff
ls -la /mnt/tmp/ftp     should list your ftp styff


on lemma.math.bme.hu:/etc/exports
        ...
        /infosys/ftp/pub        w.x.y.0(ro)
        /infosys/www            w.x.y.0(ro0

have fun
alvin


On Tue, 8 Jan 2002, Attila Szlovencsak wrote:

> Hi!
> 
> I try to use the multimap feature of automount version 4.0, but even
> the example given in the man page does not work. (Probably I am the
> lame :-} ).
> 
> I have some remote nfs shares like
> 
> lemma.math.bme.hu:/infosys/ftp/pub
> lemma.math.bme.hu:/infosys/www
> 
> I create the following autofs map file
> 
> [root@draco]# cat /etc/auto.tmp
> lemma   -ro     /ftp lemma.math.bme.hu:/infosys/ftp/pub/ \
>                 /www lemma.math.bme.hu:/infosys/www/
> 
> And the /etc/auto.master has the following line.
> /mnt/tmp      /etc/auto.tmp
> 
> In this case when trying to access the directory /mnt/tmp/lemma, I have
> the following error log in /var/adm/messages:
> 
> Jan  8 01:12:35 draco automount[788]: attempting to mount entry
> /mnt/tmp/lemma
> Jan  8 01:12:35 draco automount[1593]: mount(nfs): mkdir_path lemma/ftp
> failed: Operation not permitted
> 
> I use Mandrake8.0 and kernel-2.4.3.
> 
> Any idea?
> 
> Thx,
> 
>       Attila
> 

Reply via email to