by running vmkfstools on /boot, i can get the disk id like naa.xxxxx from which the system is booted. I dont want to parse the output.
I want to know if there is any library available, so that from my C/C++ program ( which will run on the esxi itself) will call the function(s) and get the details.
say, vmkfstools must be using some library, my app will also use that.