-
Notifications
You must be signed in to change notification settings - Fork 3
/
install_windows.html
287 lines (227 loc) · 5.51 KB
/
install_windows.html
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
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
<html>
<head>
<title>MOSS | File System Simlulator | Installation |
Windows
</title>
</head>
<body bgcolor="#ffffff">
<h1>MOSS File System Simulator
<br>Installation on Windows 95/98/Me/NT/2000 Systems</h1>
<h2>Purpose</h2>
<p>
This document provides instructions for the installation
of the MOSS File System Simulator on
Microsoft Windows
operating systems. This procedure should be the same or similar on
Windows 95, 98, Me, NT, and 2000
systems.
<p>
The MOSS software
is designed for use with
<a href="http://www.cs.vu.nl/~ast/">Andrew S. Tanenbaum</a>,
<a href="http://vig.prenhall.com/catalog/academic/product/1,4096,0130313580,00.html">Modern Operating Systems, 2nd Edition</a>
(<a href="http://www.prenhall.com/">Prentice Hall</a>, 2001).
The File System Simulator and documentation were written by
<a href="http://www.ontko.com/~rayo/">Ray Ontko</a>
(<a href="mailto:[email protected]"><i>[email protected]</i></a>).
<h2>Requirements</h2>
The following software components are required
to install and use the MOSS File System
Simulator.
<ul>
<li>Java Development Kit (JDK) 1.0 or greater
<li>Text program editor (e.g., notepad)
</ul>
<h2>Installation</h2>
Installation of the software can be accomplished with
these simple steps:
<ol>
<li>
Create a directory folder in which you wish to install
the simulator (e.g., "C:\moss\filesys").
<p><!-- --></p>
<li>
Download the self-extracting ZIP archive (filesys.exe) into
the directory folder.
<p><!-- --></p>
<li>
Double-click on the file you downloaded (filesys.exe),
or invoke it using the Start -> Run..., or invoke it
from an MS-DOS command prompt:
<blockquote><pre>
C:\moss\filesys> filesys.exe
</pre></blockquote>
<p><!-- --></p>
</ol>
<h2>Files</h2>
<p>
The directory should now contain the following files:
</p>
<table border="1" cellspacing="0">
<tr>
<th>Files
<th>Description
<tr>
<td>
filesys.exe
<td>Self-extracting ZIP
archive which contains all the other files.
<tr>
<td>BitBlock.java
<br>Block.java
<br>DirectoryEntry.java
<br>FileDescriptor.java
<br>FileSystem.java
<br>IndexNode.java
<br>Kernel.java
<br>ProcessContext.java
<br>Stat.java
<br>SuperBlock.java
<br>cat.java
<br>cp.java
<br>dump.java
<br>ls.java
<br>mkdir.java
<br>mkfs.java
<br>tee.java
<td valign="top">
Java source files (*.java)
<tr>
<td>BitBlock.class
<br>Block.class
<br>DirectoryEntry.class
<br>FileDescriptor.class
<br>FileSystem.class
<br>IndexNode.class
<br>Kernel.class
<br>ProcessContext.class
<br>Stat.class
<br>SuperBlock.class
<br>cat.class
<br>cp.class
<br>dump.class
<br>ls.class
<br>mkdir.class
<br>mkfs.class
<br>tee.class
<td valign="top">
Compiled Java class files (*.class)
<tr>
<td><a href="install_unix.html">install_unix.html</a>
<br><a href="install_windows.html">install_windows.html</a>
<br><a href="user_guide.html">user_guide.html</a>
<td valign="top">
Documentation
<tr>
<td><a href="javadoc/tree.html">javadoc</a>
<td>Directory containing documentation on java classes (generated by
the javadoc utility).
<tr>
<td><a href="copying.txt">copying.txt</td>
<td>Gnu General Public License: Terms and Conditions
for Copying, Distribution, and Modification
</table>
<h2>Compilation</h2>
<p>
The distribution includes compiled class files as
well as the source java files. You should not need
to recompile unless you decide to change the code.
If you wish to compile the code,
the following commands should work if you're using
a Java compiler that accepts the normal "javac" command
line.
<blockquote><pre>
C:\moss\filesys> set CLASSPATH=.
C:\moss\filesys> javac *.java
</pre></blockquote>
<h2>Test</h2>
<p>
To test the program, enter the following sequence of commands.
<blockquote><pre>
C:\moss\filesys> java mkfs filesys.dat 256 16
C:\moss\filesys> java mkdir /root
C:\moss\filesys> java ls /
C:\moss\filesys> dir /b *.java | java tee /root/t.lis
C:\moss\filesys> java ls /root
C:\moss\filesys> java cat /root/t.lis
</pre></blockquote>
<p>
If things are working correctly, the program will
produce output that looks something like this:
<blockquote><pre>
C:\moss\filesys> java mkfs filesys.dat 256 16
block_size: 256
blocks: 16
super_blocks: 1
free_list_blocks: 1
inode_blocks: 3
data_blocks: 11
block_total: 16
C:\moss\filesys> java mkdir /root
C:\moss\filesys> java ls /
/:
0 48 .
0 48 ..
1 32 root
total files: 3
C:\moss\filesys> dir /b *.java | java tee /root/t.lis
BitBlock.java
Block.java
DirectoryEntry.java
FileDescriptor.java
FileSystem.java
IndexNode.java
Kernel.java
ProcessContext.java
Stat.java
SuperBlock.java
cat.java
cp.java
dump.java
ls.java
mkdir.java
mkfs.java
tee.java
C:\moss\filesys> java ls /root
/root:
1 48 .
0 48 ..
2 219 t.lis
total files: 3
C:\moss\filesys> java cat /root/t.lis
BitBlock.java
Block.java
DirectoryEntry.java
FileDescriptor.java
FileSystem.java
IndexNode.java
Kernel.java
ProcessContext.java
Stat.java
SuperBlock.java
cat.java
cp.java
dump.java
ls.java
mkdir.java
mkfs.java
tee.java
</pre></blockquote>
</pre></blockquote>
<p>
The programs and their input and output files are described
more fully in the <i>MOSS File System Simulator
<a href="user_guide.html">User Guide</a></i>.
<p>
© Copyright 2001, Prentice-Hall, Inc.
This program is free software; it is distributed under the
terms of the Gnu General Public License.
See <a href="copying.txt">copying.txt</a>,
included with this distribution.
<p>
Please send suggestions, corrections, and comments to
Ray Ontko (<A href="mailto:[email protected]"><i>[email protected]</i></a>).
<p>
<i>Last updated: September 29, 2001</i>
</body>
</html>