Network Working Group J. White Request for Comments: 409 SRI-ARC NIC: 12401 8 December 1972 Related RFCs: 122, 399TENEX Interface To UCSB's Simple-Minded File System
I. PREFACE
A subsystem for TENEX called SMFS has been written to interface ARPANET TENEX users to the Simple-Minded File System at UCSB-MOD75 (see NIC 5834 / RFC 122 and NIC 11917 / RFC 399). The Simple-Minded File System is a resident server process at UCSB which currently manages approximately 10K pages of on-line, direct-access storage.
White [Page 1]
RFC 409 TENEX INTERFACE TO SIMPLE-MINDED FILE SYSTEM December 1972
III. OPERATING INSTRUCTIONSSMFs is invoked like any other subsystem --- by typing its name followed by a carriage return (CR). SMFS responds with the herald'UCSB Archival System (ver n date)' followed by its prompt character '#'. Whenever SMFS types its prompt character, it expects the user to respond with a command ('?' will generate a list of all valid commands).
White [Page 2]
RFC 409 TENEX INTERFACE TO SIMPLE-MINDED FILE SYSTEM December 1972 V. FILE SPECIFICATIONWhenever SMFS solicits a filename from the user, either of the following is acceptable:
White [Page 3]
RFC 409 TENEX INTERFACE TO SIMPLE-MINDED FILE SYSTEM December 1972
CR --carriage return or Telnet new-line SP --space ESC --alt mode or escape
A. USER NAME AND ACCOUNT
UCSB identifies users of its Simple-Minded File System by:
White [Page 4]
RFC 409 TENEX INTERFACE TO SIMPLE-MINDED FILE SYSTEM December 1972
U[ser name] [[currentusername]] newusername CR SP [logindirectoryname] CR
B. COPY
The COPY command effects the transfer of a copy of a file to or from UCSB. The file which is the source of the copy remains unmodified; the user must have read access to it. The syntax of the command is one of the following, depending upon the direction of transfer:
White [Page 5]
RFC 409 TENEX INTERFACE TO SIMPLE-MINDED FILE SYSTEM December 1972
If in a copy to UCSB the user specifies 'create'; SMFS will ignore the command (and so inform the user) if a file of the same name already exists at UCSB. If 'replace' is specified, the command will be ignored if a file of the same name DOESN'T already exist at UCSB. Also, if 'replace' is specified, the user must have write access to the existing file at UCSB.
C. MOVE
The MOVE command functions like COPY except that the source file for the operation is deleted once it has been transferred successfully. The user must have both read and write access to the source file.
D. LOCATE
The LOCATE command verifies the existence of a file at UCSB. Its syntax is
E. DELETE
The DELETE command deletes and releases all secondary storage assigned to a file previously copied or moved to UCSB:
White [Page 6]
RFC 409 TENEX INTERFACE TO SIMPLE-MINDED FILE SYSTEM December 1972 F. RENAMEThe RENAME command changes the name of a file residing at UCSB as the result of a previous move or copy operation:
G. PASSWORD
While files reside at UCSB, they may be protected from unauthorized access or modification by the assignment of a read and/or write password, respectively. Each is a character string of from one to 36 alphameric characters or SP.
White [Page 7]
RFC 409 TENEX INTERFACE TO SIMPLE-MINDED FILE SYSTEM December 1972 H. NEWSThe NEWS command prints at the user's terminal the contents of the file:
I. QUIT
The QUIT command causes SMFS to return to the EXEC: