Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

bs2fs naming conventions

&pagelevel(4)&pagelevel

When a new BS2000 DMS file or a library element is created with POSIX means (open O_CREAT, creat, rename), the name is specified as a POSIX file name, but it is subject to the rules for creating DMS file names, element names (name length, valid characters) and to further bs2fs-specific rules.

Uppercase/lowercase notation

The names can be specified in uppercase or lowercase or a mixture of both. However, the file names are always output in lowercase notation. When wildcards are used in the shell or in the find command, though, lowercase notation must be used, otherwise no corresponding file names are found. If uppercase notation were used in the file name pattern, file name replacement in the shell would fail as the pattern is transferred with wildcard syntax.

Uppercase/lowercase notation is possible for all objects below the bs2fs mount point, i.e in the case of PLAM libraries also for the library directories and the type directories

Wildcard patterns in the mount command for the bs2fs file system

When a new DMS file is created, the file name is checked to see whether it is contained in the range of the BS2000 wildcard pattern which was specified for the bs2fs file system in the mount command. If it is not, the open is rejected with errno ENAME. This check also takes place when a file (e.g. for a reading open, access, stat, etc.) or PLAM library is searched for; a non-match is rejected with errno ENAME.