⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rfc122.txt

📁 著名的RFC文档,其中有一些文档是已经翻译成中文的的.
💻 TXT
📖 第 1 页 / 共 4 页
字号:
        8         8*LENGTH     _______________//______    |        |              |    | LENGTH | FILENAME     |    |________|______//______|   where the 'LENGTH' subfield contains the length in 8-bit characters   of the 'FILENAME' subfield.J. White                                                       [Page 16]RFC 122                Simple-Minded file System              April 1971   This is the general format for SMFS command responses.  For responses   to particular commands, not all fields may be present.  A particular   subset of these fields is defined for each type of command response;   no other fields will appear.  The defined fields for each command   response type are indicated in Figure 5.   The fields 'OP CODE' and 'FILENAME' are the op code and filename   extracted by SMFS from the input stream and are echoed by SMFS in the   output stream.  The filename is always echoed explicitly, even if it   appeared implicitly in the input stream. 'OP CODE' and 'FILENAME' are   suppressed and hence do not appear in the command response it Bit 4   of the 'FLAGS' field of the corresponding command is set to 0.   'CMPL CODE' contains an indication of the outcome of the operation.   If the operation was completed successfully, 'CMPL CODE' contains a   value equal to the op code of the command executed.  Hence, if   echoing of 'OP CODE' and 'FILENAME' is not suppressed, the operation   was successful if and only if 'OP CODE' and 'CMPL CODE' are   identical.  If the operation as unsuccessful, 'CMPL CODE' contains an   indication of the error encountered by SMFS in processing the   command.  Completion codes are summarized in Figure 6.J. White                                                       [Page 17]RFC 122                Simple-Minded file System              April 1971                              C                              O                              M                              P                              L                              E                    F         T         B                    I         I         I          O         L         O         T          P         E         N                                        C          C         N         C         O         D          O         A         O         U         A          D         M         D         N         T          E         E         E         T         A   _____________________________________________________   NOP   _____________________________________________________   FNO   _____________________________________________________   ALF    X         X         X   _____________________________________________________   UDF    X         X         X   _____________________________________________________   RPF    X         X         X   _____________________________________________________   RTF    X         X         X         X         X   _____________________________________________________   SPF    X         X         X         X   _____________________________________________________   DLF    X         X         X   _____________________________________________________   RNF    X         X         X    _____________________________________________________                        Figure 5             Defined Command Response Fields   Note: Command response fields marked with an 'X' are defined.J. White                                                       [Page 18]RFC 122                Simple-Minded file System              April 1971   An invalid op code in the input stream constitutes a special type of   error.  SMFS's response is as follows.  A special command response is   constructed.  It consists of the value X'FF' in an eight-bit field,   followed by the erroneous op code, also in an eight-bit field.  The   command response is placed in the output stream and connections to   the user are closed.      2  ALLOCATION SUCCESSFUL   The file was successfully allocated.      3  UPDATE SUCCESSFUL       The file was successfully updated.      4  REPLACE SUCCESSFUL      The file was successfully replaced.      5  RETRIEVE SUCCESSFUL     The file segment was successfully                                 retrieved.      6  SPACE SUCCESSFUL        The file segment was successfully                                 flushed.      7  DELETION SUCCESSFUL     The file was successfully deleted.      8  RENAME SUCCESSFUL       The file was successfully renamed.     20  NO DEFAULT FILENAME     The user attempted to default the                                 filename (or new filename), and the                                 filename accumulator was empty.     21  ZERO-LENGTH FILENAME    The length of the filename (or new                                 filename) was specified as zero.     22  FILENAME TOO LONG       The length of the filename (or new                                 filename) exceeded 36 characters.     23  INVALID FILENAME        The filename (or new filename)                                 contained character(s) that do not                                 appear in the character set.     24  NO DEFAULT PASSWORD     The user attempted to default either                                 the access or modification password,                                 and the password accumulator was empty.     25  ZERO-LENGTH PASSWORD    The length of either the access of                                 modification password was specified as                                 zero.                                Figure 6                            Completion CodesJ. White                                                       [Page 19]RFC 122                Simple-Minded file System              April 1971     26  PASSWORD TOO LONG       The length of either the access or                                 modification password exceeded 36                                 characters.     27  NO DEFAULT BIT COUNT    The user attempted to default the bit                                 count, and the bit-count accumulator                                 was empty.     28  INVALID PASSWORD        Either the access or modification                                 password contained character(s) that do                                 not appear in the character set.     29  DUPLICATE FILENAME      Either the filename (in an ALF                                 operation) or new filename (in a RNF                                 operation) is already assigned to                                 another file.     30  INSUFFICIENT SPACE      (In an ALF operation) The requested                                 amount of secondary storage is                                 unavailable.     31  ALLOCATION I/O ERROR    (In an ALF operation) An irrecoverable                                 I/O error was encountered by SMFS while                                 attempting to allocate the file.     32  FILE NOT FOUND          The referenced file does not exist.     33  SEARCH I/O ERROR        An irrecoverable I/O error was                                 encountered by SMFS while attempting to                                 locate the referenced file.     34  FILE FULL               (In a UDF/RPF operation) The secondary                                 storage allocated to the file has been                                 exhausted.     35  INCORRECT PASSWORD      The access or modification password                                 supplied by the user does not match                                 that declared when the file was                                 allocated.     36  FILE SIZE TOO SMALL     (In an ALF operation) The bit count                                 specified is less than the minimum file                                 size accepted by SMFS.                          Figure 6 (continued)                            Completion CodesJ. White                                                       [Page 20]RFC 122                Simple-Minded file System              April 1971     37  FILE SIZE TOO BIG       (In an ALF operation) The bit count                                 specified exceeded the maximum file                                 size accepted by SMFS.     38  WRITE I/O ERROR         An irrecoverable I/O error as                                 encountered by SMFS. (In an ALF                                 operation) SMFS was attempting to                                 record password information, or (in a                                 UDF/RPF operation) SMFS as attempting                                 to add data to the file.     39  READ I/O ERROR          An irrecoverable I/O error was                                 encountered by SMFS attempting to                                 retrieve either password information or                                 data.     40  RENAME I/O ERROR        An irrecoverable I/O error was                                 encountered by SMFS while attempting to                                 rename the file.     41  DELETE I/O ERROR        (In a DLF operation) An irrecoverable                                 I/O error was encountered by SMFS while                                 attempting to delete the file.     42  END-OF-DATA             (In a RTF/SPR operation) The end of the                                 file was reached before the requested                                 segment had been transmitted/flushed.                           Figure 6 (continued)                             Completion Codes         [ This RFC was put into machine readable form for entry ]          [ into the online RFC archives by Gottfried Janik 2/98 ]J. White                                                       [Page 21]

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -