VASResult shore_vas::_mkDir( const lrid_t &dir, const serial_t ®_file, const Path name, mode_t mode, lrid_t *result ); VASResult shore_vas::_rmDir( const lrid_t &dir, const Path name bool checkaccess=true ); VASResult shore_vas::_chDir( const Path name, lrid_t *result, LockMode optional = NL );
Mode is the permissions bits for the object. When a directory is created, the given mode is modified by the client process's umask.
The result must point to an area in the caller's address space into which the SVAS writes the OID of the resulting object. It may not be a null pointer.
The caller of _mkDir must identify the file in which the directory object is to be created, by passing the file's logical identifier (serial number) in reg_file.
Deadlocks can occur while locks are being acquired. See transaction(svas) for information about deadlocks.
A complete list of errors is in errors(svas).