SUMMARY executable automount maps?

From: Andy Mitchell <>
Date: Tue Feb 19 2002 - 07:34:34 EST
On Mon, 18 Feb 2002, Andy Mitchell wrote:
>Anyone ever make use of the executable map type with Sun's automounter?

Turns out that Eric van de Meerakker <> had. Eric
was kind enough to provide the answer. Everything I was doing was correct
*except* for what I was outputting to STDOUT from the executable map. You
do not need to provide the key on STDOUT. Output only the value. For

	/var/remote1	/etc/auto.test

	echo $1 > /var/tmp/mount_this
	echo host23:/export/remote_fs

-rwxr-xr-x   1 root     other         85 Feb 19 07:01 /etc/auto.test*

And the results look like:
sun-afm-1{T9103708}2:cd /var/remote1/oogabooga

sun-afm-1{T9103708}3:cat /var/tmp/mount_this



sun-afm-1{T9103708}6:mount | grep oogabooga
/var/remote1/oogabooga on host23:/export/remote_fs \
	remote/read/write/setuid/dev=3440022 on Tue Feb 19 07:34:07 2002

Sweet. Thanks, Eric!

 Andrew F. Mitchell
 security = 1/convenience
sunmanagers mailing list
Received on Tue Feb 19 06:39:43 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:34 EST