Miner was using a fire extinguisher to put out a rag fire in a cabinet of a service truck and inhaled some of the chemical from the extinguisher. The fire started from a grinding spark flying into an open cabinet. The miner noticed the smoke while operating his loader and ran over and put it out. The fire was small and put out in a matter of a couple minutes.