9 HADFS as an

Econet environment

HADFS disks have a similar structure to the file structure on Econet fileservers. Files have public and owner access strings, and directories can be given user numbers.

Directories can be given a three-byte account number (or user number) using *ACCOUNT. When a directory is logged into with *I AM, then its user number becomes your current user number. When a file or directory is created, it is given the same user number as the directory it is in. You cannot do any modification actions in a directory that you do not own, and any files can only be accessed according to the right-hand (public) access string. *MOUNT sets your user number to the account of the $ directory, usually 000. *I AM to a non-existant directory does the same as *I AM $ on the default drive.

Entries can be made private by setting the 'P' option with *ACCESS. If an entry is private, it cannot be seen if you do not own the directory it is in.

The NFSFront ROM created by Extras.NFSFront/s provides OSWORD &14/0 (file-server interface) to simulate a file server and supports the following functions:

14: Read disk names 15: Read users -> returns a pre-set list 16: Read date and time -> returns 00:00:00 on 00/00/1981 25: Read server version -> returns NFSFront version string 26: Read free space -> returns zero free space *OPT2,5 will make OSARGS 0,0 return A=5, so pretending to be NET.

The program NFSTester in the Extras directory tests some of the functions. Any other Econet-type programs will be in directory Extras.Econet.