Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have this in my autofs map: * -rw server:/share/&

I also have --ghost option enabled in my /etc/auto.master. According to the manual and to all resources and examples I found on the web this should work. However, in my case:

ls /share/ returns nothing.

I would like to profit from the --ghost option, so the tab auto-completion and GUI file browsers would show the whole directory listing under server:/share.

The OS is Ubuntu Lucid 10.04 and autofs-5.0.4.

How to make the directories under /share appear? Thank you!

share|improve this question
up vote 1 down vote accepted

What distribution or kernel version are you running? I don't see anything consistent, but at least some manual pages I see indicate that the wildcard map is not ghosted. This behavior makes some intuitive sense; the wildcard means that any valid pathname is a candidate for mounting, and so the client can't realistically present a choice of mount points without first mounting the directory.

share|improve this answer
If you're not averse to direct mounts, a compromise solution might be to automount server:/share at /share. – justarobert Apr 8 '11 at 19:37
I see. Would you, please, point me to this document? Thanks! – grs Apr 11 '11 at 14:26
See, for example, the Ubuntu man page at – justarobert Apr 11 '11 at 19:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.