==> Regarding [autofs] Autofs wrongly tries to use NFS for a program map; Mi <[EMAIL PROTECTED]> adds:
mi> Hello, I'm trying to use a program map for external Firewire drives, mi> but autofs seems to think it's supposed to be a NFS map, and fails. mi> I simplified things to a minimum to show the problem. /etc/auto.test1 mi> is a normal map which works. /etc/auto.test2 is a program map which mi> outputs the exact same content as is in auto.test1, yet it fails: mi> # grep test /etc/auto.master /test1 /etc/auto.test1 --timeout=60 mi> /test2 /etc/auto.test2 --timeout=60 mi> # cat /etc/auto.test1 sdb7 -fstype=ext3 :/dev/sdb7 mi> # cat /etc/auto.test2 mi> #!/bin/bash echo "sdb7 -fstype=ext3 :/dev/sdb7" Program maps need not print the "key". Since the automount daemon already knows what key it is looking up, this would be redundant information. Simply get rid of the "sdb7" from the beginning of your echo line and things should work -Jeff _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
