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 multiple server mounting their $HOME from a file server. On the clients I have set in /etc/sysconfig/autofs


The client also mount directories from other files servers to /shared and /cifs I was wondering if there is a way to control BROWSE_MODE specifically for different maps, e.g I want to have BROWSE_MODE=yes for /shared and /cifs.

I saw in the Arch Wiki and Gentoo the flag --ghost, can I use it in RHEL/CENTOS ?

I am thinking about changing to


And then in auto.master

shared  auto.shared -rw,grpid,hard,intr,nodevs,nosuid (some ghost option here?)

It seems that --ghost mode is available in centos 5.7

share|improve this question
up vote 4 down vote accepted


I got it myself. The documentation about it is quite lacking in Red Hat, but we do have Arch Wiki :-)

So, Adding the flag --ghost to specific maps will show them.

Now my setting look like this:

# cat /etc/sysconfig/autofs

# cat /etc/auto.master
/home /etc/auto.home  
/shared   auto.share -rw,grpid,hard,intr,nodevs,nosuid --ghost

So ls /home does not show anything, and ls /shared does show the stuff. The meaning of --ghost is that ghost directories are created even though the automounter does not mount them.

share|improve this answer

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.