Port-amiga archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: BSD Automounter and stuff



In article 
<Pine.NEB.3.95.961227113527.2680A-100000%vishnu.arc.nasa.gov@localhost>,
        Don Sullivan <sullivan%gaia.arc.nasa.gov@localhost> writes:
> 
> I would really appreciate it if someone who
> has figured out the syntax of the amd master

"/etc/amd/master":
/homes  /etc/amd/homes

With this configuration "amd" will monitor "/homes" - an empty directory
with that name should exist.

> and mount files to send me examples.

"/etc/amd/homes":
/defaults       type:=nfs;opts:=rw,intr,nosuid,nodevs

myhost  type:=link;fs:=/home
*       rhost:=${key};rfs:=/home

"/homes/myhost" will be redirected to "/home", "/homes/foobar" will mount
"/home" from host "foobar".

If you use this map you can automount any homes filesystem by accessing
"/homes/hostname" no matter wether if it's a local or remote filesystem.

-- 
Matthias Scheler                                http://home.pages.de/~tron/



Home | Main Index | Thread Index | Old Index