Class CIM_UnixFile
extends CIM_LogicalElement

The UnixFile class holds properties that are valid for various subclasses of LogicalFile, in a Unix environment. This is defined as a separate and unique class since it is applicable to Unix files, directories, etc. It is associated via a FileIdentity relationship to these subclasses of LogicalFile. Unless this approach of creating and associating a separate class is used, it is necessary to subclass each of the inheritance hierarchies under LogicalFile, duplicating the properties in this class. The referenced _PC* and _POSIX* constants are defined in unistd.h. Some properties indicate whether the UNIX implementation support a feature such as asynchronous I/O or priority I/O. If supported, sysconf returns the value as defined in the appropriate header file such as unistd.h. If a feature is not supported, then pathconf returns a -1. In this case, the corresponding property should be returned without any value.

Table of Contents
Hierarchy
Direct Known Subclasses
Class Qualifiers
Class Properties
Class Methods


Class Hierarchy

CIM_ManagedElement
   |
   +--CIM_ManagedSystemElement
   |
   +--CIM_LogicalElement
   |
   +--CIM_UnixFile

Direct Known Subclasses

Class Qualifiers

NameData TypeValue
DescriptionstringThe UnixFile class holds properties that are valid for various subclasses of LogicalFile, in a Unix environment. This is defined as a separate and unique class since it is applicable to Unix files, directories, etc. It is associated via a FileIdentity relationship to these subclasses of LogicalFile. Unless this approach of creating and associating a separate class is used, it is necessary to subclass each of the inheritance hierarchies under LogicalFile, duplicating the properties in this class. The referenced _PC* and _POSIX* constants are defined in unistd.h. Some properties indicate whether the UNIX implementation support a feature such as asynchronous I/O or priority I/O. If supported, sysconf returns the value as defined in the appropriate header file such as unistd.h. If a feature is not supported, then pathconf returns a -1. In this case, the corresponding property should be returned without any value.
UMLPackagePathstringCIM::System::Unix
Versionstring2.6.0

Class Properties

Local Class Properties

NameData TypeDefault ValueQualifiers
NameData TypeValue
CSCreationClassNamestring
DescriptionstringThe scoping ComputerSystem's CreationClassName.
Keybooleantrue
MaxLenuint32256
PropagatedstringCIM_LogicalFile.CSCreationClassName
CSNamestring
DescriptionstringThe scoping ComputerSystem's Name.
Keybooleantrue
MaxLenuint32256
PropagatedstringCIM_LogicalFile.CSName
FileInodeNumberstring
DescriptionstringFile Inode number, as printed by "ls -i".
MappingStringsstringUNIX.TOG|ls -i
FSCreationClassNamestring
DescriptionstringThe scoping FileSystem's CreationClassName.
Keybooleantrue
MaxLenuint32256
PropagatedstringCIM_LogicalFile.FSCreationClassName
FSNamestring
DescriptionstringThe scoping FileSystem's Name.
Keybooleantrue
MaxLenuint32256
PropagatedstringCIM_LogicalFile.FSName
GroupIDstring
DescriptionstringAn identifier that describes the group that owns this file.
Requiredbooleantrue
LastModifiedInodedatetime
DescriptionstringThe time that the Inode was last modified. This includes the Inode creation time, state modification, and etc.
LFCreationClassNamestring
DescriptionstringThe scoping LogicalFile's CreationClassName.
Keybooleantrue
MaxLenuint32256
PropagatedstringCIM_LogicalFile.CreationClassName
LFNamestring
DescriptionstringThe scoping LogicalFile's Name.
Keybooleantrue
MaxLenuint321024
PropagatedstringCIM_LogicalFile.Name
LinkCountuint64
Counterbooleantrue
DescriptionstringCount of the number of names for this file.
LinkMaxuint64
DescriptionstringMaximum number of links to a single file.
MappingStringsstringPOSIX.TOG|pathconf|_PC_LINK_MAX
MinValuesint648
NameMaxuint64
DescriptionstringMaximum number of bytes in a filename, not including terminating null.
MappingStringsstringPOSIX.TOG|pathconf|_POSIX_NAME_MAX
MinValuesint6414
UnitsstringBytes
PathMaxuint64
DescriptionstringMaximum number of bytes in a pathname, including the terminating null character.
MappingStringsstringPOSIX.TOG|pathconf|_POSIX_PATH_MAX
MinValuesint64255
UnitsstringBytes
PosixAsyncIouint64
DescriptionstringIndicates whether asynchronous input or output operations may be performed for the associated file.
MappingStringsstringPOSIX.TOG|pathconf|_PC_ASYNC_IO
PosixChownRestricteduint64
DescriptionstringThe use of chown() is restricted to a process with appropriate privileges. chown() is used to change the group ID of a file. The group ID can be changed to the effective group ID or one of its supplementary group IDs.
MappingStringsstringPOSIX.TOG|pathconf|_PC_CHOWN_RESTRICTED
PosixNoTruncuint64
DescriptionstringIndicates whether pathname components longer than NameMax generate an error.
MappingStringsstringPOSIX.TOG|pathconf|_PC_NO_TRUNC
ModelCorrespondencestringCIM_UnixFile.NameMax
PosixPrioIouint64
DescriptionstringIndicates whether prioritized input or output operations may be performed for the associated file.
MappingStringsstringPOSIX.TOG|pathconf|_PC_PRIO_IO
PosixSyncIouint64
DescriptionstringIndicates whether synchronised input or output operations may be performed for the associated file.
MappingStringsstringPOSIX.TOG|pathconf|_PC_SYNC_IO
SaveTextboolean
DescriptionstringIndicates restricted deletion for directories, or possible implementation defined properties for executable files. For directories this is known as the sticky bit.
SetGidboolean
DescriptionstringIndicates whether the associated file has setgid permissions.
SetUidboolean
DescriptionstringIndicates whether the associated file has setuid permissions.
UserIDstring
DescriptionstringAn Identifer that uniquely describes the owner of this file.
Requiredbooleantrue

Inherited Properties

NameData TypeClass Origin
CaptionstringCIM_ManagedElement
CommunicationStatusuint16CIM_ManagedSystemElement
DescriptionstringCIM_ManagedElement
DetailedStatusuint16CIM_ManagedSystemElement
ElementNamestringCIM_ManagedElement
HealthStateuint16CIM_ManagedSystemElement
InstallDatedatetimeCIM_ManagedSystemElement
InstanceIDstringCIM_ManagedElement
NamestringCIM_ManagedSystemElement
OperatingStatusuint16CIM_ManagedSystemElement
PrimaryStatusuint16CIM_ManagedSystemElement
StatusstringCIM_ManagedSystemElement
OperationalStatusuint16[]CIM_ManagedSystemElement
StatusDescriptionsstring[]CIM_ManagedSystemElement

Class Methods