While I agree that sonar is silly, it's worth pointing out that the reason why people are asking for this is because the next version onwards won't guarantee any minerals anymore, and won't have the concept of "depth" for mineral value. (i.e. no diving straight right to get the good stuff.) So there's probably going to have to be
some sort of geological survey system at some point, just to keep the players from tearing their hair out.
It makes sense to me that dwarves would have a general sense of where to find good minerals. Maybe they've just learned to recognize certain kinds of signs in the rock itself... dwarven lore says that when you hit shale with specks of granite, you tend to find XYZ; when there's volcanic behavior nearby or you're near the sea and you see rock X, it's a sign you're probably near rock Y. Maybe a dwarf could notice traces of a mineral in the rock (too small for other gameplay effects), and realize that proper deposits are nearby. Maybe dwarves will occasionally take a pinch of rock powder when they dig, put it in their mouth, and taste what the nearby mineral content is. And so on. Dwarves aren't magic experts, but if they use any magic at all, they'd probably use some for this, too.
There could be ancient dwarven records, even, maybe passed down from legends of how the world was made, which indicate where good mineral deposits can be found. It could be a religious thing... the voices of their ancestors or the whispering deeps or something like that could tell them where to dig.
Perhaps there could be a noble who handles it... the High Priest of the Whispering Deeps or the Scholar of Stones or the Keeper of the Mountain Lore or whatever. Their mandates would consist of occasional demands to dig in a certain direction... of course, they wouldn't always be right, and they'd tend to demand digging towards the things they like more. There could even be more than one such dwarf, so your high priest is constantly arguing with your lorekeeper or scholar over where to dig to find the best metals.
Perhaps they could warn about impending collapses, too, and could try and forbid the player from digging in areas with weak stone that would be likely to cave in.
Probably they'd need to be more forgiving about demand violations than most nobles, since otherwise they'd be hugely annoying... Although I can see the scholar flipping out if he warns you not to dig someplace, you dig there anyway, and a cave-in kills several dwarves.
[ August 09, 2007: Message edited by: Aquillion ]