On 14:25 03 Dec 2002, Ryurick M. Hristev <[EMAIL PROTECTED]> wrote:
| I am new to autofs but used the amd for a while.
| 
| Currently I have one amd map file across many clients. Each client takes
| whatever is for in for it, via a 'host==' attribute.
| 
| Is there an equivalent under autofs ? I.e. some hosts should mount
| only some shares but not others listed in the maps ?

Can you show us some example amd clauses to make more clear what you mean?

For my home machines I have a map per machine.

        backup          -soft,intr,ro           amadeus:/&
        *               -soft,intr              amadeus:/&

Most have just the asterisk line; the "backup" above is readonly for safety.
Then you control the available shares via the /etc/exports file.
The auto.master file looks like this (in part):

        /nfs/amadeus    /etc/auto/amadeus       --timeout 300
        /nfs/cerebus    /etc/auto/cerebus       --timeout 300
        /nfs/jekyll     /etc/auto/jekyll        --timeout 300
        /nfs/hyde       /etc/auto/hyde          --timeout 60

I have an automounter directory "/nfs/hostname" for each host.

It's easy enough to autogenerate all this stuff with a few tiny shell
scripts if your system is large enough to warrant it (eg more than 10
or so machines).

| Any way of doing this in a ldap setting ?

Don't know. I don't think so - autofs is pretty simple.
-- 
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

It is better to arrive late than to arrive dead on time.
        - Mike Seales <[EMAIL PROTECTED]>, DoD#0793 XJ900F



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to