文件操作 - CIM_FileSystemSettingData.mof
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/mof/cimv2.43.0/System/CIM_FileSystemSettingData.mof
编辑文件内容
// Copyright (c) 2005 DMTF. All rights reserved. [Deprecated { "CIM_FileSystemSetting", "CIM_FileSystemCapabilities" }, Experimental, Version ( "2.8.1000" ), UMLPackagePath ( "CIM::System::FileElements" ), Description ( "This class allows a client to specify the desired persistence " "of a FileSystem. This information is tied to the FileSystem " "using the ElementSettingData association. \n" "This class is being deprecated because the replacing classes " "FileSystemSetting and FileSystemCapabilities will provide " "support for persistence and recoverability." )] class CIM_FileSystemSettingData : CIM_ScopedSettingData { [Deprecated { "CIM_FileSystemSetting.PersistenceTypes" }, Write, Description ( "An enumerated value representing the intended " "persistence characteristics of the FileSystem. A value " "of \"Persistent\" indicates that the FileSystem should " "be persistent, should be preserved through an orderly " "shutdown and should be protected. A value of \"Temporary\" " "indicates that the FileSystem should be non-persistent, " "should not be protected and may not survive a shutdown. " "A value of \"External\" indicates that the FileSystem " "should be controlled outside of the operating " "environment and may need to be protected by specialized " "means. A value of \"Other\" is provided to allow for " "additional persistence types, to be described in the " "OtherPersistenceType attribute, and is expected to be " "rarely, if ever, used." ), ValueMap { "1", "2", "3", "4" }, Values { "Other", "Persistent", "Temporary", "External" }, ModelCorrespondence { "CIM_FileSystemSettingData.OtherPersistenceType", "CIM_FileSystem.PersistenceType" }] uint16 PersistenceType; [Deprecated { "CIM_FileSystemSetting.OtherPersistenceTypes" }, Write, Description ( "A string describing the persistence characteristics when " "PersistenceType is \"Other\"." ), ModelCorrespondence { "CIM_FileSystemSettingData.PersistenceType", "CIM_FileSystem.OtherPersistenceType" }] string OtherPersistenceType; };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件