> > #!/bin/sh
> > echo -fstype=nfs,rw,soft,intr 10.0.0.1:/home
> > echo -fstype=nfs,rw,soft,intr 10.0.0.1:/work
>
> This is not right.
>
> The script is passed the key and you must emit the mount
> corresponding to that key.
>
> Look at auto.net for an example.
If I run auto.net from command line with parameter 10.0.0.1 it outputs:
[EMAIL PROTECTED] /etc/auto.net 10.0.0.1
-fstype=nfs,hard,intr,nodev,nosuid \
/home 10.0.0.1:/home \
/work 10.0.0.1:/work
With any other parameter I just get errors. But when I use auto.net or
my own script to print $1 to /tmp/foo I see that $1 is (null) when
doing ls /var/autofs or home when doind cd /var/autofs/home. Naturally,
nothing gets mounted then.
Too bad that RH Bugzilla is still down and I can't check whether
there's already a bug report about this already.
Thanks.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs