1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
|
// mkfsinfo for tsunfs
// $Id: tsunfs.doc.ic.ac.uk,v 1.1 1995/10/18 08:47:21 deraadt Exp $
host tsunfs.doc.ic.ac.uk
/*
arch sun3
os sos4
cluster csg
dumphost flamingo.doc.ic.ac.uk
*/
#define FSTYPE_UFS 4.2
#define DEFAULT_OPTS rw,noquota,nosuid,grpid
// swap
fs /dev/xy0b {
fstype = swap
}
// root
fs /dev/xy0a {
fstype = FSTYPE_UFS
opts = DEFAULT_OPTS
passno = 1
freq = 1
dumpset = csg_sun3_vax
mount / {}
}
// usr
fs /dev/xy0f {
fstype = FSTYPE_UFS
opts = rw,grpid
freq = 1
passno = 2
dumpset = csg_sun3_vax
mount /usr {}
}
// var
fs /dev/xy0e {
fstype = FSTYPE_UFS
opts = DEFAULT_OPTS
freq = 1
passno = 4
dumpset = csg_sun3_vax
mount /var {
mmdf {
exportfs "-access=teach_hosts,root=\
tsun1.doc.ic.ac.uk:\
tsun2.doc.ic.ac.uk:\
tsun3.doc.ic.ac.uk:\
tsun4.doc.ic.ac.uk:\
tsun5.doc.ic.ac.uk:\
tsun6.doc.ic.ac.uk:\
tsun7.doc.ic.ac.uk:\
tsun8.doc.ic.ac.uk:\
tsun9.doc.ic.ac.uk:\
tsun10.doc.ic.ac.uk:\
tsun11.doc.ic.ac.uk:\
tsun12.doc.ic.ac.uk:\
tsun13.doc.ic.ac.uk:\
tsun14.doc.ic.ac.uk:\
tsun15.doc.ic.ac.uk:\
ssun1.doc.ic.ac.uk:\
whoops.doc.ic.ac.uk:\
"
}
}
}
// root filesystems for diskless clients
fs /dev/xy0d {
fstype = FSTYPE_UFS
opts = rw,grpid
freq = 1
passno = 3
mount /export/roots {
tsun1 {
volname /vol/export/roots/tsun1
exportfs "-root=tsun1.doc.ic.ac.uk,-access=tsun1.doc.ic.ac.uk"
}
tsun2 {
volname /vol/export/roots/tsun2
exportfs "-root=tsun2.doc.ic.ac.uk,-access=tsun2.doc.ic.ac.uk"
}
tsun3 {
volname /vol/export/roots/tsun3
exportfs "-root=tsun3.doc.ic.ac.uk,-access=tsun3.doc.ic.ac.uk"
}
tsun4 {
volname /vol/export/roots/tsun4
exportfs "-root=tsun4.doc.ic.ac.uk,-access=tsun4.doc.ic.ac.uk"
}
tsun5 {
volname /vol/export/roots/tsun5
exportfs "-root=tsun5.doc.ic.ac.uk,-access=tsun5.doc.ic.ac.uk"
}
tsun6 {
volname /vol/export/roots/tsun6
exportfs "-root=tsun6.doc.ic.ac.uk,-access=tsun6.doc.ic.ac.uk"
}
tsun7 {
volname /vol/export/roots/tsun7
exportfs "-root=tsun7.doc.ic.ac.uk,-access=tsun7.doc.ic.ac.uk"
}
tsun8 {
volname /vol/export/roots/tsun8
exportfs "-root=tsun8.doc.ic.ac.uk,-access=tsun8.doc.ic.ac.uk"
}
tsun9 {
volname /vol/export/roots/tsun9
exportfs "-root=tsun9.doc.ic.ac.uk,-access=tsun9.doc.ic.ac.uk"
}
tsun10 {
volname /vol/export/roots/tsun10
exportfs "-root=tsun10.doc.ic.ac.uk,-access=tsun10.doc.ic.ac.uk"
}
tsun11 {
volname /vol/export/roots/tsun11
exportfs "-root=tsun11.doc.ic.ac.uk,-access=tsun11.doc.ic.ac.uk"
}
tsun12 {
volname /vol/export/roots/tsun12
exportfs "-root=tsun12.doc.ic.ac.uk,-access=tsun12.doc.ic.ac.uk"
}
tsun13 {
volname /vol/export/roots/tsun13
exportfs "-root=tsun13.doc.ic.ac.uk,-access=tsun13.doc.ic.ac.uk"
}
tsun14 {
volname /vol/export/roots/tsun14
exportfs "-root=tsun14.doc.ic.ac.uk,-access=tsun14.doc.ic.ac.uk"
}
tsun15 {
volname /vol/export/roots/tsun15
exportfs "-root=tsun15.doc.ic.ac.uk,-access=tsun15.doc.ic.ac.uk"
}
}
}
// swap for diskless clients
fs /dev/xy1c {
fstype = FSTYPE_UFS
opts = DEFAULT_OPTS
freq = 1
passno = 5
mount /export/swaps {
tsun1 {
volname /vol/export/swaps/tsun1
exportfs "-root=tsun1.doc.ic.ac.uk,-access=tsun1.doc.ic.ac.uk"
}
tsun2 {
volname /vol/export/swaps/tsun2
exportfs "-root=tsun2.doc.ic.ac.uk,-access=tsun2.doc.ic.ac.uk"
}
tsun3 {
volname /vol/export/swaps/tsun3
exportfs "-root=tsun3.doc.ic.ac.uk,-access=tsun3.doc.ic.ac.uk"
}
tsun4 {
volname /vol/export/swaps/tsun4
exportfs "-root=tsun4.doc.ic.ac.uk,-access=tsun4.doc.ic.ac.uk"
}
tsun5 {
volname /vol/export/swaps/tsun5
exportfs "-root=tsun5.doc.ic.ac.uk,-access=tsun5.doc.ic.ac.uk"
}
tsun6 {
volname /vol/export/swaps/tsun6
exportfs "-root=tsun6.doc.ic.ac.uk,-access=tsun6.doc.ic.ac.uk"
}
tsun7 {
volname /vol/export/swaps/tsun7
exportfs "-root=tsun7.doc.ic.ac.uk,-access=tsun7.doc.ic.ac.uk"
}
tsun8 {
volname /vol/export/swaps/tsun8
exportfs "-root=tsun8.doc.ic.ac.uk,-access=tsun8.doc.ic.ac.uk"
}
tsun9 {
volname /vol/export/swaps/tsun9
exportfs "-root=tsun9.doc.ic.ac.uk,-access=tsun9.doc.ic.ac.uk"
}
tsun10 {
volname /vol/export/swaps/tsun10
exportfs "-root=tsun10.doc.ic.ac.uk,-access=tsun10.doc.ic.ac.uk"
}
tsun11 {
volname /vol/export/swaps/tsun11
exportfs "-root=tsun11.doc.ic.ac.uk,-access=tsun11.doc.ic.ac.uk"
}
tsun12 {
volname /vol/export/swaps/tsun12
exportfs "-root=tsun12.doc.ic.ac.uk,-access=tsun12.doc.ic.ac.uk"
}
tsun13 {
volname /vol/export/swaps/tsun13
exportfs "-root=tsun13.doc.ic.ac.uk,-access=tsun13.doc.ic.ac.uk"
}
tsun14 {
volname /vol/export/swaps/tsun14
exportfs "-root=tsun14.doc.ic.ac.uk,-access=tsun14.doc.ic.ac.uk"
}
tsun15 {
volname /vol/export/swaps/tsun15
exportfs "-root=tsun15.doc.ic.ac.uk,-access=tsun15.doc.ic.ac.uk"
}
}
}
|