Skip to contentSkip to conversation

Automount ghost option

DISCUSSION Olivier Croquette 2 participants 2 messages Nov 18, 2005 – Nov 19, 2005 Kernel automounter

lore
Share & tools
lore
#0 lore raw

I want the automount mount points to be visible even if they are not mounted.

It seems the "ghost" option implements that. I can find several references on the internet which indicates it is available, like:
http://gentoo-wiki.com/HOWTO_Auto_mount_filesystems_(AUTOFS)

Nevertheless, on some recent distributions I have tested on, this option is not available.

Can anyone tell me in which version of automount it is present? Or is it a distribution specific patch?

Thanks!

Olivier

maintainer
#1 lore raw
Quoted 6 lines · Olivier Croquette

I want the automount mount points to be visible even if they are not mounted.

It seems the "ghost" option implements that. I can find several references on the internet which indicates it is available, like:
http://gentoo-wiki.com/HOWTO_Auto_mount_filesystems_(AUTOFS)

This looks like a good description of to do it.

Quoted 3 lines

Nevertheless, on some recent distributions I have tested on, this option is not available.

For example?

It is available on all recent RedHat distributions, Debian 3.1, latest SuSE and although last time I looked Gentoo is a little behind on their release and patches it should still work. I also recommend a fairly recent 2.6 kernel in order to get the latest bug fixes. I've fallen somewhat behind in updating my 2.4 patches but those that are available at

http://www.kernel.org/pub/linux/daemons/autofs/v4

should work adequately.

Quoted 3 lines

Can anyone tell me in which version of automount it is present? Or is it a distribution specific patch?

Preferably 4.1.4 with at least the patches autofs-4.1.4-*.patch from kernel.org above applied but distributions that have a 4.1 version should work.

You need to be aware that some maps cannot be browsable (the terminology is about to change from ghosting). For example

* host:/some/dir/&

is not browsable because autofs cannot know what the map keys at startup.

Basically, if the map keys cannot be known in advance they will not be seen, at least immediately after startup.

Ian