forked from FDOS/freecom
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDEFAULT.err
More file actions
130 lines (125 loc) · 3.86 KB
/
Copy pathDEFAULT.err
File metadata and controls
130 lines (125 loc) · 3.86 KB
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
# $Id$
#
# Critical error national customization file
#
# Language: English
# Codepage: ASCII (7bit) / any codepage
# Author: FreeCOM maintainer
#
# The critical error (criter) handler receives some information
# from the kernel about what error condition happens, generates some
# human friendly message from it, requests the user's opinion about
# how to proceed and, finally, returns to the kernel.
#
# The human friendly message is generated using one of the following
# templates:
# BLOCK_DEVICE (for criters on block devices)
# Error %1 drive %A: %2 area: %3
# -and- CHAR_DEVICE (for criters on character devices)
# Error %1 device %A: %3
#
# Two-character sequences, which first character is a percent sign '%',
# are placeholders for other information:
# %% -> a single percent sign
# %1 -> either READ or WRITE, depending on what kind of operation
# caused the criter
# %2 -> the kind of area the criter took place on DOS, FAT, ROOT, or DATA
# %3 -> the actual error string; these are the strings associated to
# a number 0 through N, and must correspond to the number passed in
# lowbyte(DI) to the criter handler (see RBIL INT-24 for details)
# %A -> drive letter (for block devices); name of device (character devices)
#
# Below the line describing the error the user is prompted for the action
# to proceed. This line is dynamically constructed depending on which
# action are available at all. The full line may look like this:
# (A)bort, (I)gnore, (R)etry, (F)ail?_
#
# The individual words are defined by ABORT, IGNORE, RETRY, FAIL. They
# should indicate which user response keys is associated with them;
# suggested is to use the first letter and enclose it in parentheses.
# The delimiter ", " can be defined with DELIMITER and is the same
# for all slots.
# The "? " sequence is defined by QUESTION.
# The order of the actions is fixed and cannot be customized.
#
# With each action a number of user response keys must be associated.
# They can be enumerated with the KEYS_ABORT, KEYS_IGNORE, ...
# strings. Because the key is searched in the same format as returned
# by INT-16-00, both upper and lower case must be specified and
# certain special keys cannot be used.
#
# The individual error strings are defined by the #: lines, where
# the hash sign '#' refers to the number the kernel passes to the
# criter handler. The UNKNOWN string is displayed for all error
# numbers not specified.
#
# NOTE #1: The percent rule applies to _all_ criter strings!
# NOTE #2: Each string occupies exactly one line.
# NOTE #3: Any leading or trailing whitespaces are removed. Prefix the
# first or suffix the last whitespace with '%.' (one percent sign and
# one dot). This sequence is removed from the string totally.
# NOTE #4: To embed any character use: %&## (one percent sign,
# one ampersand and exactly two hexa-decimal digits)
## Primary strings
S2
BLOCK_DEVICE: Error %1 drive %A: %2 area: %3
S3
CHAR_DEVICE: Error %1 device %A: %3
## kind of operation
S0
READ: reading from
S1
WRITE: writing to
## kind of failed area of block devices
S4
DOS: DOS
S5
FAT: FAT
S6
ROOT: root
S7
DATA: data
## action strings
S8
IGNORE: (I)gnore
S9
RETRY: (R)etry
S10
ABORT: (A)bort
S11
FAIL: (F)ail
## keys associated with the actions
S14 (compacted)
KEYS_IGNORE: iI
KEYS_RETRY: rR
KEYS_ABORT: aA
KEYS_FAIL: fF
## embedded strings
S12
QUESTION: ? %.
S13
DELIMITER: , %.
## Error strings
UNKNOWN: Unknown error code
S15
0: write-protection violation attempted
1: unknown unit for driver
2: drive not ready
3: unknown command given to driver
4: data error (bad CRC)
5: bad device driver request structure length
6: seek error
7: unknown media type
8: sector not found
9: printer out of paper
10: write fault
11: read fault
12: general failure
13: sharing violation
14: lock violation
15: invalid disk change
16: FCB unavailable
17: sharing buffer overflow
18: code page mismatch
19: out of input
20: insufficient disk space