Steffen Klupsch wrote:
>
"H. Peter Anvin" wrote:
>
> Andreas Vogt wrote
> > Hi,
> >
> > is it possible to link something with autofs, like amd did with
> >
> > user1 type:=link;fs:=/afs/.samplecell/home/${key}
> > ?
> > (I can't see how to mount afs resp. arla filesystems with autofs, so I
> > wish to do it like amd worked)
> >
>
> Sure, just specify a "local" key:
>
> user
> :/afs/.samplecell/home/&
>
I tried to do that some month ago (see posting from Feb 15th) the automount
fails if the requested directory is an part of same 'automounted dir set'.
I came to the conclusion that it is necessary to 'premount' the automount
directory.
- But therefore you need a second automount process (?).
I was unable to do things like:
| ##script auto.vlsi ##
| local -rw,bg,rsize=8192,wsize=16384 nets1:/iss/local1
| Linux :/vlsi/local/Linux
But it is possible to have a script auto.hiddenvlsi with the first entry
and a second script auto.uservlsi which does the linking/binding to the user
accessable directories.
Regards, Steffen
PS: I can sent you my perl scripts which 'translates' our YP based amd lists
in autofs commands on-the-fly. But this is a alpha release - you probably have
to
do some patching to get it working in your environment.
--
+----------------------------------------------------------------------+
| Steffen Klupsch Alexanderstr. 10, D-64283 Darmstadt |
| TU Darmstadt - FB Inf(20) - FG Integrierte Schaltungen und Systeme |
| Email: [EMAIL PROTECTED] |
| URL : http://www.vlsi.informatik.tu-darmstadt.de/staff/steffen/ |
| Phone: (+49)6151/16-3983 Fax: (+49)6151/16-4810 |
+----------------------------------------------------------------------+
--
+----------------------------------------------------------------------+
| Steffen Klupsch Alexanderstr. 10, D-64283 Darmstadt |
| TU Darmstadt - FB Inf(20) - FG Integrierte Schaltungen und Systeme |
| Email: [EMAIL PROTECTED] |
| URL : http://www.vlsi.informatik.tu-darmstadt.de/staff/steffen/ |
| Phone: (+49)6151/16-3983 Fax: (+49)6151/16-4810 |
+----------------------------------------------------------------------+