On Montag, 29. M�rz 2004 08:54, Ian Kent wrote: > On Mon, 29 Mar 2004, Rainer Krienke wrote: > > Where did you find the information that the format should be like a > > filemap without the key? I searched the manuals but the only information > > I was able to find, was that an executable map has to echo a "map" to > > stdout. A map would have been the key, then optinal options as well as > > the > > server:/filesystem entry. But exactly this does not work. So you are > > probably right that one should omit the key but its not documented as far > > as I can see. > > Looking at the auto.net script in the distribution you see immediately it > receives a single parameter, the key. Using that it is expected to return > the map entry corresponding to that key. Excecuting auto.net with a > host name that has exports, for example, shows what the autofs lookup > module is expecting back. > > Ian
This outputs eg something like
-fstype=nfs,hard,intr,nodev,nosuid,nonstrict,rsize=8192,wsize=8192 \
/export/user serverhost:/export/user
.....
So there are options, a qouted newline and then the map entry without the key.
Fine. Would be nice if this information could be integrated into the man
pages as well. However what about my --bind paramter (alltough it turned out
that I probably do not need it)? Could it be given in the first line, i.e
does autofs treat the first line somwhat different to allow options like
--bind -fstype=nfs,hard,intr,nodev,nosuid,nonstrict,rsize=8192,wsize=8192
or does this lead to problems like Jim Carter supposed?
Thanks
Rainer
--
---------------------------------------------------------------------------
Rainer Krienke, Universitaet Koblenz, Rechenzentrum, Raum A022
Universitaetsstrasse 1, 56070 Koblenz, Tel: +49 261287 -1312, Fax: -1001312
Mail: [EMAIL PROTECTED], Web: http://www.uni-koblenz.de/~krienke
Get my public PGP key: http://www.uni-koblenz.de/~krienke/mypgp.html
---------------------------------------------------------------------------
pgp00000.pgp
Description: signature
_______________________________________________ autofs mailing list [EMAIL PROTECTED] http://linux.kernel.org/mailman/listinfo/autofs
