From: Jeff Moyer <jmoyer@redhat.com>
To: Mi <mi.lists@alma.ch>
Cc: autofs@linux.kernel.org
Subject: Re: Autofs wrongly tries to use NFS for a program map
Date: Wed, 29 Mar 2006 14:38:11 -0500 [thread overview]
Message-ID: <x49hd5havoc.fsf@segfault.boston.redhat.com> (raw)
In-Reply-To: <442ACE3C.5020600@alma.ch> (Mi's message of "Wed, 29 Mar 2006 20:13:16 +0200")
==> Regarding [autofs] Autofs wrongly tries to use NFS for a program map; Mi <mi.lists@alma.ch> 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
next prev parent reply other threads:[~2006-03-29 19:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-29 18:13 Autofs wrongly tries to use NFS for a program map Mi
2006-03-29 19:38 ` Jeff Moyer [this message]
2006-03-30 8:59 ` Mi
2006-03-30 14:29 ` Jeff Moyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=x49hd5havoc.fsf@segfault.boston.redhat.com \
--to=jmoyer@redhat.com \
--cc=autofs@linux.kernel.org \
--cc=mi.lists@alma.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.