dg_mknod(5) DG/UX R4.11 dg_mknod(5)
NAME
dgmknod - data returned by the dg_mknod system call
SYNOPSIS
#include <sys/dgmknod.h> #include <sys/types.h>
DESCRIPTION
The system call dgmknod takes a parameter that is a pointer to the
structure defined by this include file. This structure defines the
node that is created.
struct dgmknod
{
modet extendedmode;
devt devicenumber;
char * symboliclinktarget;
unsigned long desireddataelementblocks;
unsigned long dataelementblockslimit;
unsigned long desiredindexelementblocks;
unsigned long indexelementblockslimit;
};
The fields of this structure are defined as follows:
extendedmode
The file type and access permissions of the file. The file
type is available by AND-ing this field with
DG_FILE_TYPE_MASK. The access bits are available by AND-ing
this field with (~ DG_FILE_TYPE_MASK). The file type and
access are encoded using the constants defined in stat.h and
dg_stat.h
devicenumber
The device specifier to be used if the file to be created is
of type `block-special' or `character-special'. This field is
ignored otherwise.
symbolictargetlink
A null-terminated pathname which will be the target of the
file to be created if that file is of type `symbolic link'.
This field is ignored otherwise.
desireddataelementblocks
The preferred size (in 512-byte blocks) of the data elements
of the file to be created. If this size is 0, then the
default data element size for the containing file system will
be used.
dataelementblockslimit
The maximum size (in 512-byte blocks) of the data elements of
the file to be created. Values in the range starting at the
preferred size and working towards the limit are tried until a
valid data element size is found.
desiredindexelementblocks
The preferred size (in 512-byte blocks) of the index elements
of the file to be created. If this size is 0, then the
default data element size for the containing file system will
be used.
indexelementblockslimit
The maximum size (in 512-byte blocks) of the index elements of
the file to be created. Values in the range starting at the
preferred size and working towards the limit are tried until a
valid data element size is found.
FILES
/usr/include/sys/dgmknod.h
/usr/include/sys/types.h
SEE ALSO
dgmknod(2), dgstat(5), types(5).
Licensed material--property of copyright holder(s)