Both in the API descriptions in this document and in the actual API specifications it is specified in various places that a file system implementation can specify particular definitions.
These definitions are shown in the table below for the file systems supported in this version. The UFS file system is included merely to complete the picture, although it is currently not supported.
Detail | DMS file system | UFS file system |
Name to be used at the JRIO interfaces | “DMS” | “UFS” |
Access methods | ISAM, SAM, UPAM | Currently none |
File system prefixes | Catalog IDs (":catid:") | Root directory '/' |
Normalization | Lower-case letters are converted to upper-case letters and path names $<name> to $.<name> | . and .. directories are cancelled and double slashes '//' are converted into single slashes; a '/' at the end of the path name is deleted |
Absolute path name | Supplementing the path name with the catalog ID | Supplementing the current directory for relative path names |
Canonical path name | Either only catalog ID or the file name supplemented by catalog ID and user ID, if required with cancellation of the standard system ID | Conversion like absolute path name and resolution of all symbolic links |
Empty path name | Standard catalog ID of the user | Root directory '/' |
Normal file | All files are normal files | Regular files (for example no special files) |
Hidden files and directories | Temporary files in the DMS sense | All files and directories whose name begins with a period '.' |
Size of a file with the length() method | Number of PAM pages used * 2048 (last page pointer) | Size in bytes |
Size of a directory with the length() method | Always 0 | Size in bytes |
File name | See the manual “Introductory Guide to DMS” [8] | See manual “POSIX, Basics for Users and Systems Administrators” [1] |
Separator between path name parts separatorChar and separator | Not defined | Slash '/' or "/" |
Separator between path names pathSeparatorChar and pathSeparator | Comma ',' or "," | Colon ':' or ":" |
Default directory when creating a temporary file with the createTempFile() method | Default catalog ID of the calling program | Default directory which is assigned to the system property java.io.tmpdir |
Generated name part of a temporary file (between suffix and prefix specifications) | String with the length 7 | String with the length 7 |
Shared update processing | Supported (with restrictions) | Not supported |
Table 4: File-system-specific definitions