Problem with autofs on linux.
Paul Lussier
p.lussier at comcast.net
Mon Oct 2 13:17:00 EDT 2006
"Steven W. Orr" <steveo at syslang.net> writes:
> Here's the problem. I added the following line to my auto.master
>
> /usr/local /etc/auto.viasat
>
> Then the content of my /etc/auto.viasat contains this line:
>
> viasat -ro bos-srv-lnx:/usr/local/viasat
>
> The viasat doesn't work and I'm ripping my hair out trying to figure
> this out. The automount works fine but it eclipses the entire content
> of /usr/local.
>
> The goal is that I don't want any of the files in /usr/local to be
> eclipsed. I just want /usr/local/viasat to have the content of the
> /usr/local/viasat from bos-srv-lnx.
>
> Is there a way to accomplish this?
It's been a *loooooooong* time since I've played with autmounter
and/or autofs, so, I may be completely mis-remembering here:
auto.master:
/usr/local/viasat /etc/auto.viasat
auto.viasat
* -ro bos-srv-lnx:/usr/local/viasat
You might also want to make sure there is a /usr/local/viasat mount point?
Check the O'Reilly NFS/Automount book. There's a lot of good info in
there, though dated. Another great reference is the Evi Nemeth
sysadmin book.
Hmmm, I'm also remembering something like:
auto.master:
/usr/local/& /etc/auto.viasat
auto.viasat
* -ro bos-srv-lnx:/usr/local/viasat
I don't think I ever used multiple layers of local files as maps under
Linux, I always "relied" up NIS maps (which has it's own set of
"interesting" behaviors :)
Sorry I can't be of more definitive help, all my good reference books
are at home, and I don't run autofs here at work. If you don't get a
decent answer, ping me directly and I'll try to figure this out at
home tonight for you.
--
Seeya,
Paul
More information about the gnhlug-discuss
mailing list