-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Simon Oosthoek wrote:
> On Wed, Sep 10, 2003 at 11:21:25AM +0200, Buchan Milne wrote:
>
>>Bryan Whitehead wrote:
>>
>>
>>>Thanks for the kick in the pants. Looks like autofs can do what I need.
>>>Looks like this "feature" slipped in during 9.0 (or 8.2) and I didn't
>>>notice.
>>>
>>>Now if only autofs would support direct mounts we'd be another step
>>>closer to Solaris... ;)
>>
>>Could you explain what it is/how it works?
>>
>
>
> direct mounts are denoted in auto.master like:
> /-    auto.direct     <options>
>
> and /etc/auto.direct contains the absolute path and mount that belongs
to it
> like:
>
> /home <mount options> server:/local/home

No, this seems to not work ... but maybe the authors could be convinced
to add support for this?

>
> whereas indirect mounts list a relative path:
>
> auto master:
> /home auto.home       -nosuid
>
> auto.home:
> simon -rw     servera:/home/simon
> *     -rw     serverb:/local/home/&

Hmm, I don't like having a mount per-user, but maybe that's just me, and
maybe security through obscurity is of some value ;-).

>
> all entries in auto.home mount under /home (defined in auto.master)
>
> Does that help?

Yes, I see the value ... but I don't see that I would ever need it ...

>
> Actually, I'm rather interested in autofs, because we have a mixed
> Solaris/Mandrake environment with NIS/NFS. I tried autofs tables via NIS,
> which worked well, except that a typical user tried to access a shared
> directory under /home which was suddenly "gone"/invisible... I don't know
> how to solve this yet (I want users to see all available mounts under
/home)

What we do here is mount our shares under /cae (instead of /home, since
I want access to files on the small local /home directories, and it
seems you can't have a /home map and access files on the real /home ...)
and link the directories (users,groups,projects) in /home to the real
ones in /cae. The only problem is some programs follow the link, so they
use /cae/users/bgmilne when I want them to use /home/users/bgmilne. But
at least this way, /home/{users,groups,projects} (that we had mounted
with fstab entries before using autofs) appear all the time, the users
don't notice they aren't mounted most of the time.

Regards,
Buchan

- --
|--------------Another happy Mandrake Club member--------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/XxVrrJK6UGDSBKcRArxdAKCJq6QovsLLFCB3nnizmbFqFvup5wCfTm8Q
3zt/4NdGAOWrsEpcdMphFOc=
=C6BB
-----END PGP SIGNATURE-----

*****************************************************************
Please click on http://www.cae.co.za/disclaimer.htm to read our
e-mail disclaimer or send an e-mail to [EMAIL PROTECTED] for a copy.
*****************************************************************

Reply via email to