Download Print this page

Motorola EXORdisk II User Manual page 236

Advertisement

REPAIR COMMAND
22.8 -- Examples
Since the file was deleted, the reconstructed allocation
table did not match the one on the diskette.
Thus, a new one
was written to make the allocation table correct.
The last example illustrates
how
a file Just having been
deleted
by
accident can be recreated
if
no other
process
is
invoked
that causes a directory entry to be created or space
to be allocated or
deallocatad.
Since
~ne
deletion
only
-removes
the, name from the directory and frees the allocated
'space, all that needs to be done is to rebuild the
directory
entry
using
DUMPi
and to recreate the allocation table using
REPAIR.
The following example shows the
se~uence
of
events
from
the
file's
deletion
through
its
directory
entry
reconstruction.
This exaffi91e assumes that the operator knows
the file's position in the directory (from DEN of a directory
listing).
Otherwise,
the DUMP command
'!SDH
would
have to
be
used
to
display
the entire
directory,
allowing the operator
to
search
~or
the
deleted
entr~
visually.
=OEL TESTPROG. SA
TESTPROG. SA:O DELETED
=DUMP
PHYSICAL MODE
: RD 3
:5
CHANGE BUFFER
PSN=OOO6
00
4D 44 4F 53 4F
56
10
FF FF
53
54
50
52
20
00 00 00 00 00 00
30
00 00 00 00 00 00
40
00 00 00 00 00 00
50
00 00 00 00 00 00
60
00 00 00 00 00 00
70
00 00 00 00 00 00
: lO/ltTE"/
:5
CHANGE
BUFFER
PSN=OOO6
00
4D 44 4F 53-
4F
56
10
54 45 53 54 50 52
20
00 00 00 00 00 00
-S~
1"'\1"\
00 00 00
1"'\1"\
rtrl
wV
owv
v'V
VV
40
00 00 00 00 00 00
50
00 00 00 00 00 00
60
00 00 00 00 00 00
70
00 00 00 00 00 00
:W
:<3
=REPAIR
DISK ID:
MDOS0300
VERSION:
03
34
4F
00
00
00
00
00
00
34
4F
00
00
00
00
00
00
20
53
59 00 88 72 00 00 00
MDOSOV4
SY ..
'r . .
47
53
41
05
Fe
05
00 00 00
.. STPROGSA . . . . .
00
00 00 00 00 00 00 00 00
............
"
....
"
"
..
"
....
00
00 00 00 00 00 00 00 00
.............................
00
00 00 00 00 00 00 00 00
"
. . . . . . . . . . . . . . . . . . .
e
. . . . .
00
00 00 00 00 00 00 00 00
. . . . . . . .
"
. . . . . . . . .
0
. . . . . .
00
00 00 00 00 00 00 00 00
................
"
............
00
00 00 00 00 00 00 00 00
. . . . . . . . . . . . . . . . .
I
. . . . . . . . . .
20
53 59 00 88 72 00 00 00
MDOSOV4
SY .. r ..
47
53
41
05
Fe
05 00 00 00
TESTPROGSA . . . . .
00
00 00 00 00 00 00 00 00
"
"
..........................
00
00 00 00 00 00 00 00 00
..
..
..
..
..
..
..
..
..
..
~
=
00
00 00 00 00 00 00 00 00
....
"
...........
"
..........
00
00 00 00 00 00 00 00 00
..........
"
......
"
..........
00
00 00 00 00 00 00 00 00
. . . . . . . . . . . . . . . . . . . .
0)
. . . . .
I
00
00 00 00 00 00 00 00 00
..
..
..
..
. .
..
..
..
..
~
..
..
..
' " '
' "
Page
22-22
---.,

Advertisement

loading

This manual is also suitable for:

Exordisk iii