xref: /original-bsd/usr.sbin/amd/maps/a_master (revision f71c8376)
1#machine	opts info
2achilles	-opts:=rw,grpid,nosuid \
3		type:=ufs;hostd==achilles.doc;dev:=/dev/xy1g \
4		type:=nfs;hostd!=achilles.doc;rhost:=achilles.doc;rfs:=/home/achilles
5#
6dougal		-opts:=rw,grpid,nosuid \
7		type:=ufs;hostd==dougal.doc;dev:=/dev/dsk/1s0 \
8		type:=nfs;hostd!=dougal.doc;rhost:=dougal.doc;rfs:=/home/dougal
9#
10dylan		type:=auto;fs:=${map};pref:=${key}/
11dylan/dk2	-opts:=rw,grpid,nosuid \
12		hostd==dylan.doc;type:=ufs;dev:=/dev/dsk/2s0 \
13		hostd!=dylan.doc;type:=nfs;rhost:=dylan.doc;rfs:=/home/dylan/dk2
14#
15dylan/dk3	-opts:=rw,grpid,nosuid \
16		hostd==dylan.doc;type:=ufs;dev:=/dev/dsk/3s0 \
17		hostd!=dylan.doc;type:=nfs;rhost:=dylan.doc;rfs:=/home/dylan/dk3
18#
19dylan/dk5	-opts:=rw,grpid,nosuid \
20		hostd==dylan.doc;type:=ufs;dev:=/dev/dsk/5s0 \
21		hostd!=dylan.doc;type:=nfs;rhost:=dylan.doc;rfs:=/home/dylan/dk5
22#
23ganymede	-opts:=rw,grpid,nosuid \
24		hostd!=${key}.${domain};type:=nfs;rhost:=${key}.${domain};rfs:=/home/${key}
25gummo		-opts:=rw,grpid,nosuid \
26		hostd!=gummo.doc;type:=nfs;rhost:=gummo.doc;rfs:=/home/gummo
27#
28# Wildcard match
29*		-opts:=rw,grpid,nosuid \
30		hostd!=${key}.${domain};type:=nfs;rhost:=${key}.${domain};rfs:=/home/${key}
31#
32#
33gould		-opts:=rw,grpid,nosuid \
34		hostd!=gould.doc;type:=nfs;rhost:=gould.doc;rfs:=/home/gould
35toytown		-opts:=rw,grpid,nosuid \
36		hostd!=toytown.doc;type:=nfs;rhost:=toytown.doc;rfs:=/home/${key}
37zebedee		-opts:=rw,grpid,nosuid \
38		hostd!=zebedee.doc;type:=nfs;rhost:=zebedee.doc;rfs:=/home/zebedee
39#
40# Should be ENOENT from mountd on toytown...
41#
42testing		-opts:=rw,grpid,nosuid \
43		hostd!=toytown.doc;type:=nfs;rhost:=toytown.doc;rfs:=/this/that
44#
45# Somewhere else
46#
47pebbles		-opts:=rw,grpid,nosuid \
48		hostd!=pebbles.cc;type:=nfs;rhost:=pebbles.cc;rfs:=/home/cc/pebbles
49#
50# Specify where to mount
51#
52xtoy		-opts:=rw,grpid,nosuid \
53		type:=nfs;rhost:=toytown.doc;rfs:=/home/toytown;fs:=/tmp/junk99
54#
55# Links...
56#
57alink		type:=link;hostd==achilles.doc;fs:=/etc
58tlink		type:=link;hostd==truth.doc;fs:=/etc
59uucp		type:=link;hostd==truth.doc;fs:=/etc;sublink:=uucp
60#
61# Duplicate mounts to the same place
62#
63dup1		-opts:=rw,grpid,nosuid \
64		type:=nfs;rhost:=toytown.doc;rfs:=/home/toytown;fs:=/tmp/tt-home
65dup2		-opts:=rw,grpid,nosuid \
66		type:=nfs;rhost:=ganymede.doc;rfs:=/home/ganymede;fs:=/tmp/tt-home
67#
68# Symlink
69#
70link		type:=link;fs:=dylan/dk2/adh
71#
72# Program mount
73#
74exec		type:=program;mount:="/bin/true false";unmount:="/bin/true true"
75#
76# Alternate mount locations.
77#
78alt		-host==truth;type:=nfs;rfs:=/var/spool/mail \
79			rhost:=toytown rhost:=charm rhost:=gummo
80