Contains detailed information about a file object.
typedef struct { uint32_t version; size_t totalBytes; size_t nextByte; uint32_t padding; uint64_t retMask; struct { } std; struct { } storageUsed; int primaryNameSpaceID; off_t nameStart; struct { } names; struct { } time; struct { } id; struct { } blockSize; struct { } count; struct { } dataStream; struct { } extAttr; struct { } deleted; struct { } macNS; struct { } unixNS; volid_t volumeID; userid_t ndsObjectID; uint32_t volumeState; uint32_t nameSpaceMask; struct { } features; size64_t maximumFileSize; size64_t totalSpaceQuota; size64_t numUsedBytes; size64_t numObjects; size64_t numFiles; uint32_t authModelID; size_t dataShreddingCount; struct { } salvage; struct { } comp; struct { } pool; uint32_t extAttrUserFlags; uint8_t variableData[1]; } zinfo_t;
Specifies the version of the structure. Because this structure will need to change in the future, the version field will identify the particular structure being used.
Specifies the total number of bytes in fixed and variable data sections. Both sections are used so that the fixed area can grow without breaking older code pieces.
Specifies the next byte to use in the variable area.
Specifies some empty space.
Returns a bit mask of fields actually returned.
Specifies the standard set of file information. See std.
Returns information about the bytes a file is using to store its information (data and metadata). See storageUsed. Ignored by zModifyInfo.
Specifies the name space used when the file was created. Names in the other name spaces are derived from the version of the file name in the primary name space.
Specifies an index to the name. Ignored by zModifyInfo.
Returns information about the number of names in the variable data area. Ignored by zModifyInfo
Returns the UTC times when the file object was first created, last archived, last modified, last accessed, and the last time the metadata was modified. See time.
Returns the eDirectory object IDs of the file object’s current owner, last archiver, last modifier, and last metadata modifier. See id.
Returns size and sizeShift. Ignored by zModifyInfo.
Returns open and hardLink. Ignored by zModifyInfo.
Returns information about the number of data streams owned by the file object. Ignored by zModifyInfo.
Returns information about the extended attributes for the file object. Ignored by zModifyInfo.
Returns the time and ID the file is deleted. See deleted.
Returns information about the Macintosh name space. If the Macintosh name space is not enabled on the volume, this structure is ignored. See macNS.
Returns information about the UNIX name space. If the UNIX name space is not enabled on the volume, this structure is ignored. See unixNS.
Specifies the number assigned to the volume. Ignored by zModifyInfo.
Specifies the eDirectory object ID for the volume.
Specifies the state of the volume. For possible values, see Section 30.8.9, Volume States. Ignored by zModifyInfo.
Returns information about volume attributes. See features.
Specifies the maximum of bytes that a file can consume on this volume. Ignored by zModifyInfo.
Specifies the maximum number of bytes that have been allocated for the volume.
Specifies the number of bytes in use on the volume. Ignored by zModifyInfo.
Specifies the number of file objects currently on the volume. Ignored by zModifyInfo.
Specifies the number of files currently on the volume. Ignored by zModifyInfo.
Specifies the ID of the authentication model. Ignored by zModifyInfo.
Specifies the number of cycles the volume is scheduled for shredding deleted and purged files.
Returns information about salvageable files. See salvage.
Returns information about compressed files. Ignored by zModifyInfo.
Specifies information about the pool the volume belongs to. See pool.
Specifies an arbitrary value that is set by the user. This field only applies to extend attributes and has no particular significance to the file system.
Specifies additional data space, which is allocated by the caller, to be used for all returned variable length optional data. Ignored by zModifyInfo.
The zInfo_t structure must be preallocated by the caller. It contains a fixed portion for fixed size data and a variable portion to contain variable size data indexed to by the fixed portion. This variable length field is ignored by zModifyInfo.
zModifyInfo modifies only the fields identified by the bits set in the modifyInfoMask parameter. All other structure data that is not specified in the modifyInfoMask is ignored.