"Physical Path" and "Mount Point" inversed in openbsd inventory

Bug #597752 reported by Fabrice Flore-Thebault
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OCS Inventory: Unified Unix Agent
Fix Released
Medium
mortheres

Bug Description

The agent on openbsd reports inverted values for TYPE and VOLUMN.

The drives table is organized as following :
INSERT INTO `drives` (`ID`, `HARDWARE_ID`, `LETTER`, `TYPE`, `FILESYSTEM`, `TOTAL`, `FREE`, `NUMFILES`, `VOLUMN`) VALUES

on windows (ocs agent)
(9716, 228, 'C:/', 'Hard Drive', 'NTFS', 57231, 34043, 0, ''),

on openbsd (ocs agent) :
(2127, 86, '', '/dev/wd0a', 'ffs', 10077, 9535, 0, '/'),

on linux (ocs & fusioninventory agent)
(6335, 195, '', '/boot', 'ext3', 30, 21, 0, '/dev/sda1'),

IMHO, the agent should act on openbsd as on linux.

Windows is another issue : the information entered as "TYPE" has dfferent nature as the information entered as TYPE on unices.

see : http://www.glpi-project.org/forum/viewtopic.php?pid=107708#p107708

Revision history for this message
Fabrice Flore-Thebault (themroc) wrote :
mortheres (mortheres)
Changed in ocsinventory-unix-agent:
importance: Undecided → Medium
assignee: nobody → mortheres (mortheres)
Revision history for this message
mortheres (mortheres) wrote :

Hi Fabrice,

Thank you for your report. I will take a look to that this week end because I do not have access to my sweets OpenBSD computers this week to make test :( :(.

I think there is only an reversal between mount point and device in the code...I will take a look to this too.

Kind regards,

--
Guillaume

Revision history for this message
mortheres (mortheres) wrote :

Hi,

This bug is now fixed in revision 987 : http://bazaar.launchpad.net/~ocsinventory-dev/ocsinventory-unix-agent/trunk/revision/987 .

Thanks a lot for your report.

Kind regards,

--
Guillaume

Changed in ocsinventory-unix-agent:
status: New → Fix Committed
Frank (frank-bourdeau)
Changed in ocsinventory-unix-agent:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.