Skip to contentSkip to conversation

question about master map options

DISCUSSION Vincent McIntyre 2 participants 2 messages Mar 27, 2014 – Mar 28, 2014 Kernel automounter

lore
Share & tools
lore
#0 lore raw

Hi,

in README.v5.release it says
- mount options present in the master map are now overridden by mount options in map entries instead of being accumulated. This behaviour is in line with other industry automount implementations.

but other places in the documentation refer to mount options in the master map being appended
to those given to a specific map entry,
modulo the setting of APPEND_OPTIONS in /etc/defaults/autofs.

I can't figure it out from the code. Which way round is it, please? I'd like to make the documentation consistent with itself and the code.

Kind regards,
Vince

maintainer
#1 lore raw
Quoted 2 lines · Vincent McIntyre

Hi,

It's been a long time since I wrote that.

Quoted 4 lines

in README.v5.release it says
- mount options present in the master map are now overridden by mount options in map entries instead of being accumulated. This behaviour is in line with other industry automount implementations.

That's not correct by the look of it.

Quoted 9 lines

but other places in the documentation refer to mount options in the master map being appended
to those given to a specific map entry,
modulo the setting of APPEND_OPTIONS in /etc/defaults/autofs.

I can't figure it out from the code. Which way round is it, please? I'd like to make the documentation consistent with itself and the code.

The README was probably correct when it was written, possibly before the APPEND_OPTIONS configuration option was added.

It ended up that options are appended by default (as they are in previous versions) and the option was added for those that need it.

Quoted 3 lines

Kind regards,
Vince