Skip to contentSkip to conversation

Can I "null" out NIS maps with autofs?

DISCUSSION Clif Smith 2 participants 2 messages Aug 31, 2004 Kernel automounter

lore
Share & tools
lore

Clif Smith

author
#0 lore raw

Occasionally I need to use all but 1 or 2 NIS maps with automount. With AIX and Solaris, I've been able to use the -null arg. However that doesn't seem to work with autofs?

cjs

maintainer
#1 lore raw
Quoted 3 lines · Clif Smith

Occasionally I need to use all but 1 or 2 NIS maps with automount. With AIX and Solaris, I've been able to use the -null arg. However that doesn't seem to work with autofs?

Sorry again.

It's actually worse than simply not having the null option.

First, this is a master map option but the master map is processed by the init script so at best the automount(8) daemon will not be run at all.

Second, if an empty map is given to automount(8) it exits.

It's one of the things we need to do but I can't say when that might be.

Ian