3A. オペコード
制御トランザクションの最初の情報バイト(つまりディスクリプタではないバイト)が、制御機能を示す。このバイトを「オペコード」と呼ぶ。標準のオペコード一式を以下に定義する。各操作については 3B.2 節で論じる。
実用的な部分集合 (*) のオペコードを実装することは明示的に認められている。追加の標準オペコードは後に割り当てられるかもしれない。16 進 5A(8 進 100)から 16 進 FF(8 進 377)までのオペコードは実験用である。
Op Code Operation
Hex Octal
00 000 Set data type identifier
01 001 Retrieve Request
02 002 Create request (write file; error if
file already exists)
03 003 Store request (write file; replace
if file already exists)
04 004 Append request (add to existing file;
error if file does not exist)
05 005 Append_with_create request (add to
file; create if file does not exist)
06 006 Delete request (delete file)
07 007 Rename_from request (change file name)
08 010 Rename_to request (the new file name)
09 011 List request (list information)
0A 012 Username identifier (for access control)
0B 013 Password identifier (for access control)
0C 014 Error or unsuccessful terminate
0D 015 Acknowledge or successful terminate
0E 016
through through Reserved for standard assignment
4F 077
5A 100
through through Assigned for experimental use
FF 377
(*) 実用的な部分集合とは、任意の 1 つの要求と終了である。「保護された」ファイルシステムを使うには、さらに識別子が必要になる場合がある。