|
From: Heidi N. <HEI...@de...> - 2001-11-13 08:32:51
|
Marcin , I swapped the "Root" and "Name" properties in Linux_LocalFileSystem . The effect was the same as you described ! The effect is based on the implementation of the "getInstance" method . As you can see in the code the CIMObjectPath parameter is used to extract the mount point of the filesystem ( in the current implementation stored in key "Name" ) . this mount point is then used to get all the other information about this special filesystem instance ( via getmntent() and a comparision between "Name" and mnt_dir ) . If you swap the content of the properties this possibility is lost . Now you need the instance instead of the CIMObjectPath to get this important mount point . You are right that the properties are swapped and I implemented your suggestion . This change had impact to the class Linux_ResidesOnExtent.c too . The fixed code is in the CVS now . Please have a look at it . This change has impact to the association LVM_ResidesOnExtent.c too . I was thinking about implementing its functionality in only one provider ( this would be Linux_ResidesOnExtent.c ) . What do you think ? Would this make sense ? ! I did not fix the LVM_ResidesOnExtent provider ! ! This provider will not run ! Have fun . by ... heidi Mfg / Regards Heidi Neumann Linux Technology Center - Systems Management - IBM Laboratory Boeblingen - Germany - Schönaicher Str. 220 - 71032 - Böblingen Phone : ++49 (0) 7031 / 16 - 3193 hei...@de... http://w3.opensource.ibm.com/projects/ibmcimom/ http://oss.software.ibm.com/developerworks/projects/sblim/ |