Hi. I was searching around for some guidance about what I'm trying to do
with autofs, and found your list. Now, I'm not on Linux, I'm on
Irix...but this should be a generic autofs question...can anyone tell me
whether this would work on Linux? I.e., is it supposed to work? (Is it
just the Irix autofs that's broken, or is this an autofs "feature?")

This are the relevant maps:

<<<<<<<<<
server# cat /etc/auto_master
/bluesky/image  /etc/auto.image         -rw,hard,intr,bg

server# cat /etc/auto.image
ice \
  /998_SYSTEMS_TEST fs1:/image2/ice/998_SYSTEMS_TEST \
  /fx fs1:/image/ice/fx \
  /* fs1:/image/ice/&

* fs1:/image/&
<<<<<<<<

The second (i.e., top-level) wildcard works. I can 

cd /bluesky/image/testing

with no problem.  But,

client_machine# pwd
/bluesky/image/ice
client_machine# ls -rlat
total 34
drwxr-xr-x    2 root     sys         8192 Mar 13 15:12 998_SYSTEMS_TEST
drwxrwxrwx   48 davew    product     8192 Mar 15 10:12 fx
dr-xr-xr-x    2 root     sys            4 Mar 29 23:32 ..
dr-xr-xr-x    2 root     sys            4 Mar 29 23:32 .
client_machine# cd fx
(no problem, I can ls here)
client_machine# cd Editorial
Editorial: No such file or directory.
(it should exist)

--

If this just isn't supported, I need to do an executable map, which
sounds like it won't be supported forever, and I'd need to rsh over to
the server to get the info! (we are splitting /image into two, but only
the top levels, /image/ice and /image2/ice, are explicitly exported from
the NFS server, so a "showmount -e" won't tell me about the level
beneath that. The second level may change occasionally without anyone
telling me, their sysadmin, explicitly.)

I tried doing something crazy like you would do for alternate hosts, but
that didn't work, either...my man page doesn't even show cases where the
host is different and the path is different, only where the path is the
same and the hosts are different, and the hosts get a comma between
them.

-- so, this long-shot also didn't work:
ice \
 /* fs1:/image/ice/&,fs1:/image2/ice/&
* fs1:/image/&
--

If anyone could provide a clue, I'd be grateful...TIA.

--
Bonnie Scott
System Administrator
Blue Sky Studios

Reply via email to