Jason,
I don't think there is an ideal solution for you, but the simple way out
is to use scripts instead of going directly to YP. Thus something like
this would work to remove the cachefs entries:
/etc/auto.master -----
....
/cachefsdir /etc/auto.nocache
....
/etc/auto.nocache -----
#!/bin/sh
key=$1
ypcat -k auto.cachefsdir | egrep $key | sed 's/cachefs//' | cut -f2- -d' '
For direct maps, you can setup some links to point to an automount only
area (messy but effective). These links can be done at boot if you
want,, but that breaks if a direct mount is added while the machine it
up. I think it's better to make the links manually. Hope this helps.
Jonathan
Jason Lue wrote:
>Hello,
>
>Could someone please help me with the following 2 issues?
>- Is there a work around to mount direct mount directories from
>Solaris?
>- Is there a way to ignore Solaris cachefs from the NIS automount map?
>
>We have a Solaris NIS domain and I was asked to setup an eval environment
>running Linux (finally :D, I've been pushed this for a while) without
>changing the current environment. Therefore, I need to mount a few direct
>mount directories without change them to indirect mount. In addition, I
>need to mount a few directories but I need my Linux machine to ignore
>Solaris cachefs option specified in the NIS automount map. Is there a way
>to override from the local map somehow? Thank you so much.
>
>If I make this work, it'll be a new dawn on our network. GO Linux!
>
>- Jason Lue
>
>----------------------------------------------------------------------------
>--------------------
>The views and opinions expressed in this email message are the sender's
>own, and do not necessarily represent the views and opinions of Summit
>Systems Inc.
>
--
- Jonathan Loran -
(415) 572-1017
[EMAIL PROTECTED]