1⁄4 of dwarves will have a dwarvish iron helm and dwarvish short sword, and have a further 1⁄3 chance of receiving a dwarvish mithril coat. Of these dwarves, half will receive a dwarvish spear or axe and a dwarvish roundshield, and the others receive a dwarvish mattock.
Dwarves are slow, but can be well equipped. Dwarf lords and dwarf kings have two weapon attacks, which makes them quite deadly when wielding a dwarvish mattock, and they can have excellent AC from their starting armor.
Dwarves with digging tools, like the mattock or pick-axe, will use them to dig through the level.
It may be worth it for a lawful character to anger and kill dwarves for their equipment, but care should be taken, as this will anger every gnome and dwarf in your line of sight, and will lower your alignment for each one killed. Pets are able to kill peaceful dwarves with no consequences.
Dwarves using a dwarvish short sword, axe, dwarvish mattock, or dwarvish spear have better armor than dwarves using a dagger or pick-axe. This is useful knowledge if you are looking for a dwarvish iron helm or mithril-coat.
Since dwarf kings and mind flayers share the same glyph, you should use farlook to correctly identify a purple h, especially at lower dungeon levels or in the Gnomish Mines, where the random h class monster can be a mind flayer.