Problem with autofs on linux.
Matt Brodeur
mbrodeur at NextTime.com
Mon Oct 2 12:27:00 EDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, Oct 02, 2006 at 10:14:24AM -0400, Steven W. Orr wrote:
> 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.
Looks like the expected behavior of autofs. It wants to own the root
of any tree it's managing. This is also why you can't use the typical
auto.home on a system that has any content already in /home.
> 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.
I usually solve this with symlinks and/or bind mounts. Have viasat
automounted somewhere else, then link to it from /usr/local. It's not
pretty, but it works (usually).
- --
Matt Brodeur RHCE
MBrodeur at NextTime.com http://www.nexttime.com
PGP ID: 2CFE18A3 / 9EBA 7F1E 42D1 7A43 5884 560C 73CF D615 2CFE 18A3
There's an old proverb that says just about whatever you want it to.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFFIT2mc8/WFSz+GKMRAu6MAJ9CmSLjTzcZkXtbUGqwF4R7/ZuH2ACdHxou
1ghH0QmC9XUpfR93GOMrmHc=
=oIqg
-----END PGP SIGNATURE-----
More information about the gnhlug-discuss
mailing list