Managing ObjectStore

osmkdir: Creating a Rawfs Directory

The osmkdir utility creates a directory in the rawfs.

Syntax

osmkdir [-p] [-m octal-mode] directory

Options
-p 
Indicates that ObjectStore should create any missing directories that are needed to make the specified directory path exist.

-m octal-
mode 
Indicates that the new directory has the permission mode as specified by octal-mode. Specify the protection mode that you want the directory to have. The default mode is 0700.

directory 
Specifies a rawfs directory pathname.

Description

You also can use osmkdir to create a nonrawfs directory. When you create a nonrawfs directory, you cannot specify a remote file-server host in the pathname of the nonrawfs directory. The osmkdir utility passes the operation to a local native utility. If you specify a remote file-server host name, ObjectStore informs you that you specified an illegal pathname. If you specify the -p option, it works if the native utility supports that feature.

API

Class: os_dbutil
Method: mkdir



[previous] [next]

Copyright © 1999 Object Design, Inc. All rights reserved.

Updated: 03/11/99 11:19:07