Comment 3 for bug 911492

Revision history for this message
mortheres (mortheres) wrote :

Hi,

Thanks a lot for your patch. Just to be sure, can you give the OCS agent version you used to make this patch ?

Any help is welcome of course and if you want, you can create your own bazaar branch. This will make your patches integration easier and will be able to follow development changes easily. You will find a step by step to help you to create your branch here: http://wiki.ocsinventory-ng.org/index.php/Developers:Bazaar .

Your idea looks good but the " /sbin/sysctl -n kern.disks" command you uses to get disks does not work under OpenBSD (5.0 current) and I get this output:

# /sbin/sysctl -n kern.disks
sysctl: second level name disks in kern.disks is invalid

So, we have to be sure that the systemctl commands you use work on all *BSD systems.

Kind regards,

Guillaume